diff
stringlengths
41
2.03M
msg
stringlengths
1
1.5k
repo
stringlengths
5
40
sha
stringlengths
40
40
time
stringlengths
20
20
mmm a / addons / skin . pm3 - hd / 720p / DialogAddonInfo . xml <nl> ppp b / addons / skin . pm3 - hd / 720p / DialogAddonInfo . xml <nl> <nl> < label > $ LOCALIZE [ 24003 ] < / label > <nl> < textcolor > dialogheader < / textcolor > <nl> < / control > <nl> + < control type = " button " > <nl> + < description > Close Window button < / description > <nl> + < posx > 880 < / posx > <nl> + < posy > 35 < / posy > <nl> + < include > WindowCloseButtonCommons < / include > <nl> + < / control > <nl> < control type = " image " > <nl> < posx > 40 < / posx > <nl> < posy > 79 < / posy > <nl> mmm a / addons / skin . pm3 - hd / 720p / DialogAlbumInfo . xml <nl> ppp b / addons / skin . pm3 - hd / 720p / DialogAlbumInfo . xml <nl> <nl> < / control > <nl> < control type = " button " > <nl> < description > Close Window button < / description > <nl> - < posx > 1211 < / posx > <nl> + < posx > 1210 < / posx > <nl> < posy > 35 < / posy > <nl> - < width > 35 < / width > <nl> - < height > 25 < / height > <nl> - < label > - < / label > <nl> - < font > - < / font > <nl> - < onclick > Dialog . Close ( MusicInformation ) < / onclick > <nl> - < texturefocus > close - windowFO . png < / texturefocus > <nl> - < texturenofocus > close - window . png < / texturenofocus > <nl> - < onleft > 9000 < / onleft > <nl> - < onright > 9000 < / onright > <nl> - < onup > 9000 < / onup > <nl> - < ondown > 9000 < / ondown > <nl> - < visible > system . getbool ( input . enablemouse ) < / visible > <nl> + < include > WindowCloseButtonCommons < / include > <nl> < / control > <nl> < control type = " image " > <nl> < posx > 40 < / posx > <nl> mmm a / addons / skin . pm3 - hd / 720p / DialogContentSettings . xml <nl> ppp b / addons / skin . pm3 - hd / 720p / DialogContentSettings . xml <nl> <nl> < label > 20333 < / label > <nl> < textcolor > dialogheader < / textcolor > <nl> < / control > <nl> + < control type = " button " > <nl> + < description > Close Window button < / description > <nl> + < posx > 730 < / posx > <nl> + < posy > 35 < / posy > <nl> + < include > WindowCloseButtonCommons < / include > <nl> + < / control > <nl> < control type = " image " > <nl> < posx > 40 < / posx > <nl> < posy > 78 < / posy > <nl> mmm a / addons / skin . pm3 - hd / 720p / DialogMediaSource . xml <nl> ppp b / addons / skin . pm3 - hd / 720p / DialogMediaSource . xml <nl> <nl> < label > 13406 < / label > <nl> < textcolor > dialogheader < / textcolor > <nl> < / control > <nl> + < control type = " button " > <nl> + < description > Close Window button < / description > <nl> + < posx > 730 < / posx > <nl> + < posy > 35 < / posy > <nl> + < include > WindowCloseButtonCommons < / include > <nl> + < / control > <nl> < control type = " image " > <nl> < posx > 40 < / posx > <nl> < posy > 78 < / posy > <nl> mmm a / addons / skin . pm3 - hd / 720p / DialogNetworkSetup . xml <nl> ppp b / addons / skin . pm3 - hd / 720p / DialogNetworkSetup . xml <nl> <nl> < label > 1007 < / label > <nl> < textcolor > dialogheader < / textcolor > <nl> < / control > <nl> + < control type = " button " > <nl> + < description > Close Window button < / description > <nl> + < posx > 730 < / posx > <nl> + < posy > 35 < / posy > <nl> + < include > WindowCloseButtonCommons < / include > <nl> + < / control > <nl> < control type = " image " > <nl> < posx > 40 < / posx > <nl> < posy > 78 < / posy > <nl> mmm a / addons / skin . pm3 - hd / 720p / DialogPictureInfo . xml <nl> ppp b / addons / skin . pm3 - hd / 720p / DialogPictureInfo . xml <nl> <nl> < label > $ LOCALIZE [ 13406 ] < / label > <nl> < textcolor > dialogheader < / textcolor > <nl> < / control > <nl> + < control type = " button " > <nl> + < description > Close Window button < / description > <nl> + < posx > 730 < / posx > <nl> + < posy > 35 < / posy > <nl> + < include > WindowCloseButtonCommons < / include > <nl> + < / control > <nl> < control type = " image " > <nl> < posx > 40 < / posx > <nl> < posy > 78 < / posy > <nl> mmm a / addons / skin . pm3 - hd / 720p / DialogSelect . xml <nl> ppp b / addons / skin . pm3 - hd / 720p / DialogSelect . xml <nl> <nl> < label > 13406 < / label > <nl> < textcolor > dialogheader < / textcolor > <nl> < / control > <nl> + < control type = " button " > <nl> + < description > Close Window button < / description > <nl> + < posx > 540 < / posx > <nl> + < posy > 35 < / posy > <nl> + < include > WindowCloseButtonCommons < / include > <nl> + < / control > <nl> < control type = " image " > <nl> < posx > 40 < / posx > <nl> < posy > 78 < / posy > <nl> mmm a / addons / skin . pm3 - hd / 720p / DialogSongInfo . xml <nl> ppp b / addons / skin . pm3 - hd / 720p / DialogSongInfo . xml <nl> <nl> < label > $ LOCALIZE [ 658 ] < / label > <nl> < textcolor > dialogheader < / textcolor > <nl> < / control > <nl> + < control type = " button " > <nl> + < description > Close Window button < / description > <nl> + < posx > 830 < / posx > <nl> + < posy > 35 < / posy > <nl> + < include > WindowCloseButtonCommons < / include > <nl> + < / control > <nl> < control type = " image " > <nl> < posx > 40 < / posx > <nl> < posy > 79 < / posy > <nl> mmm a / addons / skin . pm3 - hd / 720p / DialogTextViewer . xml <nl> ppp b / addons / skin . pm3 - hd / 720p / DialogTextViewer . xml <nl> <nl> < textcolor > dialogheader < / textcolor > <nl> < font > font18 < / font > <nl> < / control > <nl> + < control type = " button " > <nl> + < description > Close Window button < / description > <nl> + < posx > 1210 < / posx > <nl> + < posy > 35 < / posy > <nl> + < include > WindowCloseButtonCommons < / include > <nl> + < / control > <nl> < control type = " image " > <nl> < posx > 40 < / posx > <nl> < posy > 84 < / posy > <nl> mmm a / addons / skin . pm3 - hd / 720p / DialogVideoInfo . xml <nl> ppp b / addons / skin . pm3 - hd / 720p / DialogVideoInfo . xml <nl> <nl> < / control > <nl> < control type = " button " > <nl> < description > Close Window button < / description > <nl> - < posx > 1211 < / posx > <nl> + < posx > 1210 < / posx > <nl> < posy > 35 < / posy > <nl> - < width > 35 < / width > <nl> - < height > 25 < / height > <nl> - < label > - < / label > <nl> - < font > - < / font > <nl> - < onclick > Dialog . Close ( MovieInformation ) < / onclick > <nl> - < texturefocus > close - windowFO . png < / texturefocus > <nl> - < texturenofocus > close - window . png < / texturenofocus > <nl> - < onleft > 9000 < / onleft > <nl> - < onright > 9000 < / onright > <nl> - < onup > 9000 < / onup > <nl> - < ondown > 9000 < / ondown > <nl> - < visible > system . getbool ( input . enablemouse ) < / visible > <nl> + < include > WindowCloseButtonCommons < / include > <nl> < / control > <nl> < control type = " image " > <nl> < posx > 40 < / posx > <nl> mmm a / addons / skin . pm3 - hd / 720p / LockSettings . xml <nl> ppp b / addons / skin . pm3 - hd / 720p / LockSettings . xml <nl> <nl> < label > $ LOCALIZE [ 20043 ] < / label > <nl> < textcolor > dialogheader < / textcolor > <nl> < / control > <nl> + < control type = " button " > <nl> + < description > Close Window button < / description > <nl> + < posx > 630 < / posx > <nl> + < posy > 35 < / posy > <nl> + < include > WindowCloseButtonCommons < / include > <nl> + < / control > <nl> < control type = " image " > <nl> < posx > 40 < / posx > <nl> < posy > 78 < / posy > <nl> mmm a / addons / skin . pm3 - hd / 720p / ProfileSettings . xml <nl> ppp b / addons / skin . pm3 - hd / 720p / ProfileSettings . xml <nl> <nl> < label > $ INFO [ Window . Property ( heading ) ] < / label > <nl> < textcolor > dialogheader < / textcolor > <nl> < / control > <nl> + < control type = " button " > <nl> + < description > Close Window button < / description > <nl> + < posx > 630 < / posx > <nl> + < posy > 35 < / posy > <nl> + < include > WindowCloseButtonCommons < / include > <nl> + < / control > <nl> < control type = " image " > <nl> < posx > 40 < / posx > <nl> < posy > 78 < / posy > <nl> mmm a / addons / skin . pm3 - hd / 720p / SmartPlaylistEditor . xml <nl> ppp b / addons / skin . pm3 - hd / 720p / SmartPlaylistEditor . xml <nl> <nl> < label > 21432 < / label > <nl> < textcolor > dialogheader < / textcolor > <nl> < / control > <nl> + < control type = " button " > <nl> + < description > Close Window button < / description > <nl> + < posx > 730 < / posx > <nl> + < posy > 35 < / posy > <nl> + < include > WindowCloseButtonCommons < / include > <nl> + < / control > <nl> < control type = " image " > <nl> < posx > 40 < / posx > <nl> < posy > 78 < / posy > <nl> mmm a / addons / skin . pm3 - hd / 720p / SmartPlaylistRule . xml <nl> ppp b / addons / skin . pm3 - hd / 720p / SmartPlaylistRule . xml <nl> <nl> < label > 21421 < / label > <nl> < textcolor > dialogheader < / textcolor > <nl> < / control > <nl> + < control type = " button " > <nl> + < description > Close Window button < / description > <nl> + < posx > 730 < / posx > <nl> + < posy > 35 < / posy > <nl> + < include > WindowCloseButtonCommons < / include > <nl> + < / control > <nl> < control type = " image " > <nl> < posx > 40 < / posx > <nl> < posy > 78 < / posy > <nl> mmm a / addons / skin . pm3 - hd / 720p / VideoOSDBookmarks . xml <nl> ppp b / addons / skin . pm3 - hd / 720p / VideoOSDBookmarks . xml <nl> <nl> < / control > <nl> < control type = " button " > <nl> < description > Close Window button < / description > <nl> - < posx > 731 < / posx > <nl> + < posx > 730 < / posx > <nl> < posy > 35 < / posy > <nl> - < width > 35 < / width > <nl> - < height > 25 < / height > <nl> - < label > - < / label > <nl> - < font > - < / font > <nl> - < onclick > Dialog . Close ( 125 ) < / onclick > <nl> - < texturefocus > close - windowFO . png < / texturefocus > <nl> - < texturenofocus > close - window . png < / texturenofocus > <nl> - < onleft > 5 < / onleft > <nl> - < onright > 5 < / onright > <nl> - < onup > 5 < / onup > <nl> - < ondown > 5 < / ondown > <nl> - < visible > system . getbool ( input . enablemouse ) < / visible > <nl> + < include > WindowCloseButtonCommons < / include > <nl> < / control > <nl> < control type = " image " > <nl> < posx > 40 < / posx > <nl> mmm a / addons / skin . pm3 - hd / 720p / VideoOSDSettings . xml <nl> ppp b / addons / skin . pm3 - hd / 720p / VideoOSDSettings . xml <nl> <nl> < / control > <nl> < control type = " button " > <nl> < description > Close Window button < / description > <nl> - < posx > 731 < / posx > <nl> + < posx > 730 < / posx > <nl> < posy > 35 < / posy > <nl> - < width > 35 < / width > <nl> - < height > 25 < / height > <nl> - < label > - < / label > <nl> - < font > - < / font > <nl> - < onclick > Dialog . Close ( 123 ) < / onclick > <nl> - < onclick > Dialog . Close ( 124 ) < / onclick > <nl> - < texturefocus > close - windowFO . png < / texturefocus > <nl> - < texturenofocus > close - window . png < / texturenofocus > <nl> - < onleft > 5 < / onleft > <nl> - < onright > 5 < / onright > <nl> - < onup > 5 < / onup > <nl> - < ondown > 5 < / ondown > <nl> - < visible > system . getbool ( input . enablemouse ) < / visible > <nl> + < include > WindowCloseButtonCommons < / include > <nl> < / control > <nl> < control type = " image " > <nl> < posx > 40 < / posx > <nl> mmm a / addons / skin . pm3 - hd / 720p / VisualisationPresetList . xml <nl> ppp b / addons / skin . pm3 - hd / 720p / VisualisationPresetList . xml <nl> <nl> < / control > <nl> < control type = " button " > <nl> < description > Close Window button < / description > <nl> - < posx > 731 < / posx > <nl> + < posx > 730 < / posx > <nl> < posy > 35 < / posy > <nl> - < width > 35 < / width > <nl> - < height > 25 < / height > <nl> - < label > - < / label > <nl> - < font > - < / font > <nl> - < onclick > Dialog . Close ( 122 ) < / onclick > <nl> - < texturefocus > close - windowFO . png < / texturefocus > <nl> - < texturenofocus > close - window . png < / texturenofocus > <nl> - < onleft > 2 < / onleft > <nl> - < onright > 2 < / onright > <nl> - < onup > 2 < / onup > <nl> - < ondown > 2 < / ondown > <nl> - < visible > system . getbool ( input . enablemouse ) < / visible > <nl> + < include > WindowCloseButtonCommons < / include > <nl> < / control > <nl> < control type = " image " > <nl> < posx > 40 < / posx > <nl> < posy > 78 < / posy > <nl> - < width > 720 < / width > <nl> + < width > 730 < / width > <nl> < height > 2 < / height > <nl> < texture > separator . png < / texture > <nl> < / control > <nl> mmm a / addons / skin . pm3 - hd / 720p / includes . xml <nl> ppp b / addons / skin . pm3 - hd / 720p / includes . xml <nl> <nl> < aligny > center < / aligny > <nl> < include > Window_OpenClose_Animation < / include > <nl> < / include > <nl> + < include name = " WindowCloseButtonCommons " > <nl> + < width > 30 < / width > <nl> + < height > 30 < / height > <nl> + < label > - < / label > <nl> + < font > - < / font > <nl> + < onclick > PreviousMenu < / onclick > <nl> + < texturefocus > close - windowFO . png < / texturefocus > <nl> + < texturenofocus > close - window . png < / texturenofocus > <nl> + < onleft > 9000 < / onleft > <nl> + < onright > 9000 < / onright > <nl> + < onup > 9000 < / onup > <nl> + < ondown > 9000 < / ondown > <nl> + < visible > system . getbool ( input . enablemouse ) < / visible > <nl> + < / include > <nl> < include name = " CommonNowPlaying_Controls " > <nl> < visible > [ Player . HasAudio | Player . HasVideo ] < / visible > <nl> < include > VisibleFadeEffect < / include > <nl> mmm a / addons / skin . pm3 - hd / 720p / script - XBMC - Subtitles - main . xml <nl> ppp b / addons / skin . pm3 - hd / 720p / script - XBMC - Subtitles - main . xml <nl> <nl> < / control > <nl> < control type = " button " > <nl> < description > Close Window button < / description > <nl> - < posx > 731 < / posx > <nl> + < posx > 730 < / posx > <nl> < posy > 35 < / posy > <nl> - < width > 35 < / width > <nl> - < height > 25 < / height > <nl> - < label > - < / label > <nl> - < font > - < / font > <nl> - < onclick > PreviousWindow < / onclick > <nl> - < texturefocus > close - windowFO . png < / texturefocus > <nl> - < texturenofocus > close - window . png < / texturenofocus > <nl> - < onleft > 5 < / onleft > <nl> - < onright > 5 < / onright > <nl> - < onup > 5 < / onup > <nl> - < ondown > 5 < / ondown > <nl> - < visible > system . getbool ( input . enablemouse ) < / visible > <nl> + < include > WindowCloseButtonCommons < / include > <nl> < / control > <nl> < control type = " image " > <nl> < posx > 40 < / posx > <nl> Binary files a / addons / skin . pm3 - hd / media / close - window . png and b / addons / skin . pm3 - hd / media / close - window . png differ <nl> Binary files a / addons / skin . pm3 - hd / media / close - windowFO . png and b / addons / skin . pm3 - hd / media / close - windowFO . png differ <nl>
Changed : [ PM3 . HD ] Increased mouse " close window " support for dialogs ( and changed the graphic for it )
xbmc/xbmc
ac1a6ac80711dcc46cbba9c94e884267c61ee457
2010-05-22T05:02:05Z
deleted file mode 100644 <nl> index f14c86bf71 . . 0000000000 <nl> mmm a / code / graph - algorithms / bellman_ford_algorithm / BellmanFord . java <nl> ppp / dev / null <nl> <nl> - / * Part of Cosmos by OpenGenus Foundation * / <nl> - / * <nl> - Bellman Ford algorithm implementation in Java <nl> - * / <nl> - / / Edge for Graph <nl> - class Edge { <nl> - int src , dest , weight ; <nl> - Edge ( ) { <nl> - src = 0 ; <nl> - dest = 0 ; <nl> - weight = 0 ; <nl> - } <nl> - } <nl> - <nl> - / / Graph data structure <nl> - class Graph { <nl> - int noOfVerts , noOfEdge ; <nl> - Edge edge [ ] ; <nl> - Graph ( int v , int e ) { <nl> - noOfVerts = v ; <nl> - noOfEdge = e ; <nl> - edge = new Edge [ e ] ; <nl> - for ( int i = 0 ; i < e ; i + + ) <nl> - edge [ i ] = new Edge ( ) ; <nl> - } <nl> - <nl> - } <nl> - class BellmanFord { <nl> - / / The function tp find shortest distances from src to all nodes <nl> - int [ ] doBellmanFord ( Graph graph , int src ) { <nl> - int noOfVerts = graph . noOfVerts , noOfEdge = graph . noOfEdge ; <nl> - int distances [ ] = new int [ noOfVerts ] ; <nl> - <nl> - / / Initialize distances <nl> - for ( int i = 0 ; i < noOfVerts ; i + + ) <nl> - distances [ i ] = Integer . MAX_VALUE ; <nl> - distances [ src ] = 0 ; / / distance from src to src is 0 <nl> - <nl> - for ( int i = 1 ; i < noOfVerts ; i + + ) { <nl> - for ( int j = 0 ; j < noOfEdge ; j + + ) { <nl> - int m = graph . edge [ j ] . src ; <nl> - int n = graph . edge [ j ] . dest ; <nl> - int weight = graph . edge [ j ] . weight ; <nl> - if ( distances [ m ] ! = Integer . MAX_VALUE & & <nl> - distances [ m ] + weight < distances [ n ] ) <nl> - distances [ n ] = distances [ m ] + weight ; <nl> - } <nl> - } <nl> - / / Checking negetive weight cycle <nl> - for ( int i = 0 ; i < noOfEdge ; i + + ) { <nl> - int m = graph . edge [ i ] . src ; <nl> - int n = graph . edge [ i ] . dest ; <nl> - int weight = graph . edge [ i ] . weight ; <nl> - if ( distances [ m ] ! = Integer . MAX_VALUE & & <nl> - distances [ m ] + weight < distances [ n ] ) <nl> - System . out . println ( " Graph contains negetive weight cycle " ) ; <nl> - } <nl> - return distances ; <nl> - } <nl> - } <nl> new file mode 100644 <nl> index 0000000000 . . e1e706f7ad <nl> mmm / dev / null <nl> ppp b / code / graph - algorithms / bellman_ford_algorithm / BellmanFordAdjacencyList . java <nl> <nl> + / * * <nl> + * An implementation of the Bellman - Ford algorithm . The algorithm finds <nl> + * the shortest path between a starting node and all other nodes in the graph . <nl> + * The algorithm also detects negative cycles . <nl> + * <nl> + * @ author William Fiset , william . alexandre . fiset @ gmail . com <nl> + * * / <nl> + <nl> + import java . util . * ; <nl> + <nl> + public class BellmanFordAdjacencyList { <nl> + <nl> + / / A directed edge with a cost <nl> + public static class Edge { <nl> + double cost ; <nl> + int from , to ; <nl> + public Edge ( int from , int to , double cost ) { <nl> + this . to = to ; <nl> + this . from = from ; <nl> + this . cost = cost ; <nl> + } <nl> + } <nl> + <nl> + / / Create a graph with V vertices <nl> + public static List < Edge > [ ] createGraph ( final int V ) { <nl> + List < Edge > [ ] graph = new List [ V ] ; <nl> + for ( int i = 0 ; i < V ; i + + ) graph [ i ] = new ArrayList < > ( ) ; <nl> + return graph ; <nl> + } <nl> + <nl> + / / Helper function to add an edge to the graph <nl> + public static void addEdge ( List < Edge > [ ] graph , int from , int to , double cost ) { <nl> + graph [ from ] . add ( new Edge ( from , to , cost ) ) ; <nl> + } <nl> + <nl> + / * * <nl> + * An implementation of the Bellman - Ford algorithm . The algorithm finds <nl> + * the shortest path between a starting node and all other nodes in the graph . <nl> + * The algorithm also detects negative cycles . If a node is part of a negative <nl> + * cycle then the minimum cost for that node is set to Double . NEGATIVE_INFINITY . <nl> + * <nl> + * @ param graph - An adjacency list containing directed edges forming the graph <nl> + * @ param V - The number of vertices in the graph . <nl> + * @ param start - The id of the starting node <nl> + * * / <nl> + public static double [ ] bellmanFord ( List < Edge > [ ] graph , int V , int start ) { <nl> + <nl> + / / Initialize the distance to all nodes to be infinity <nl> + / / except for the start node which is zero . <nl> + double [ ] dist = new double [ V ] ; <nl> + java . util . Arrays . fill ( dist , Double . POSITIVE_INFINITY ) ; <nl> + dist [ start ] = 0 ; <nl> + <nl> + / / For each vertex , apply relaxation for all the edges <nl> + for ( int i = 0 ; i < V - 1 ; i + + ) <nl> + for ( List < Edge > edges : graph ) <nl> + for ( Edge edge : edges ) <nl> + if ( dist [ edge . from ] + edge . cost < dist [ edge . to ] ) <nl> + dist [ edge . to ] = dist [ edge . from ] + edge . cost ; <nl> + <nl> + / / Run algorithm a second time to detect which nodes are part <nl> + / / of a negative cycle . A negative cycle has occurred if we <nl> + / / can find a better path beyond the optimal solution . <nl> + for ( int i = 0 ; i < V - 1 ; i + + ) <nl> + for ( List < Edge > edges : graph ) <nl> + for ( Edge edge : edges ) <nl> + if ( dist [ edge . from ] + edge . cost < dist [ edge . to ] ) <nl> + dist [ edge . to ] = Double . NEGATIVE_INFINITY ; <nl> + <nl> + / / Return the array containing the shortest distance to every node <nl> + return dist ; <nl> + <nl> + } <nl> + <nl> + public static void main ( String [ ] args ) { <nl> + <nl> + int E = 10 , V = 9 , start = 0 ; <nl> + List < Edge > [ ] graph = createGraph ( V ) ; <nl> + addEdge ( graph , 0 , 1 , 1 ) ; <nl> + addEdge ( graph , 1 , 2 , 1 ) ; <nl> + addEdge ( graph , 2 , 4 , 1 ) ; <nl> + addEdge ( graph , 4 , 3 , - 3 ) ; <nl> + addEdge ( graph , 3 , 2 , 1 ) ; <nl> + addEdge ( graph , 1 , 5 , 4 ) ; <nl> + addEdge ( graph , 1 , 6 , 4 ) ; <nl> + addEdge ( graph , 5 , 6 , 5 ) ; <nl> + addEdge ( graph , 6 , 7 , 4 ) ; <nl> + addEdge ( graph , 5 , 7 , 3 ) ; <nl> + double [ ] d = bellmanFord ( graph , V , start ) ; <nl> + <nl> + for ( int i = 0 ; i < V ; i + + ) <nl> + System . out . printf ( " The cost to get from node % d to % d is % . 2f \ n " , start , i , d [ i ] ) ; <nl> + <nl> + / / Output : <nl> + / / The cost to get from node 0 to 0 is 0 . 00 <nl> + / / The cost to get from node 0 to 1 is 1 . 00 <nl> + / / The cost to get from node 0 to 2 is - Infinity <nl> + / / The cost to get from node 0 to 3 is - Infinity <nl> + / / The cost to get from node 0 to 4 is - Infinity <nl> + / / The cost to get from node 0 to 5 is 5 . 00 <nl> + / / The cost to get from node 0 to 6 is 5 . 00 <nl> + / / The cost to get from node 0 to 7 is 8 . 00 <nl> + / / The cost to get from node 0 to 8 is Infinity <nl> + <nl> + } <nl> + <nl> + } <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> new file mode 100644 <nl> index 0000000000 . . d5b6b2d1bc <nl> mmm / dev / null <nl> ppp b / code / graph - algorithms / bellman_ford_algorithm / BellmanFordEdgeList . java <nl> <nl> + / * * <nl> + * An implementation of the Bellman - Ford algorithm . The algorithm finds <nl> + * the shortest path between a starting node and all other nodes in the graph . <nl> + * The algorithm also detects negative cycles . <nl> + * <nl> + * @ author William Fiset , william . alexandre . fiset @ gmail . com <nl> + * * / <nl> + <nl> + public class BellmanFordEdgeList { <nl> + <nl> + / / A directed edge <nl> + public static class Edge { <nl> + double cost ; <nl> + int from , to ; <nl> + public Edge ( int from , int to , double cost ) { <nl> + this . to = to ; <nl> + this . from = from ; <nl> + this . cost = cost ; <nl> + } <nl> + } <nl> + <nl> + / * * <nl> + * An implementation of the Bellman - Ford algorithm . The algorithm finds <nl> + * the shortest path between a starting node and all other nodes in the graph . <nl> + * The algorithm also detects negative cycles . If a node is part of a negative <nl> + * cycle then the minimum cost for that node is set to Double . NEGATIVE_INFINITY . <nl> + * <nl> + * @ param edges - An edge list containing directed edges forming the graph <nl> + * @ param V - The number of vertices in the graph . <nl> + * @ param start - The id of the starting node <nl> + * * / <nl> + public static double [ ] bellmanFord ( Edge [ ] edges , int V , int start ) { <nl> + <nl> + double [ ] dist = new double [ V ] ; <nl> + java . util . Arrays . fill ( dist , Double . POSITIVE_INFINITY ) ; <nl> + dist [ start ] = 0 ; <nl> + <nl> + / / For each vertex , apply relaxation for all the edges <nl> + for ( int v = 0 ; v < V - 1 ; v + + ) <nl> + for ( Edge edge : edges ) <nl> + if ( dist [ edge . from ] + edge . cost < dist [ edge . to ] ) <nl> + dist [ edge . to ] = dist [ edge . from ] + edge . cost ; <nl> + <nl> + / / Run algorithm a second time to detect which nodes are part <nl> + / / of a negative cycle . A negative cycle has occurred if we <nl> + / / can find a better path beyond the optimal solution . <nl> + for ( int v = 0 ; v < V - 1 ; v + + ) <nl> + for ( Edge edge : edges ) <nl> + if ( dist [ edge . from ] + edge . cost < dist [ edge . to ] ) <nl> + dist [ edge . to ] = Double . NEGATIVE_INFINITY ; <nl> + <nl> + / / Return the array containing the shortest distance to every node <nl> + return dist ; <nl> + <nl> + } <nl> + <nl> + public static void main ( String [ ] args ) { <nl> + <nl> + int E = 10 , V = 9 , start = 0 ; <nl> + Edge [ ] edges = new Edge [ E ] ; <nl> + edges [ 0 ] = new Edge ( 0 , 1 , 1 ) ; <nl> + edges [ 1 ] = new Edge ( 1 , 2 , 1 ) ; <nl> + edges [ 2 ] = new Edge ( 2 , 4 , 1 ) ; <nl> + edges [ 3 ] = new Edge ( 4 , 3 , - 3 ) ; <nl> + edges [ 4 ] = new Edge ( 3 , 2 , 1 ) ; <nl> + edges [ 5 ] = new Edge ( 1 , 5 , 4 ) ; <nl> + edges [ 6 ] = new Edge ( 1 , 6 , 4 ) ; <nl> + edges [ 7 ] = new Edge ( 5 , 6 , 5 ) ; <nl> + edges [ 8 ] = new Edge ( 6 , 7 , 4 ) ; <nl> + edges [ 9 ] = new Edge ( 5 , 7 , 3 ) ; <nl> + <nl> + double [ ] d = bellmanFord ( edges , V , start ) ; <nl> + <nl> + for ( int i = 0 ; i < V ; i + + ) <nl> + System . out . printf ( " The cost to get from node % d to % d is % . 2f \ n " , start , i , d [ i ] ) ; <nl> + <nl> + / / Output : <nl> + / / The cost to get from node 0 to 0 is 0 . 00 <nl> + / / The cost to get from node 0 to 1 is 1 . 00 <nl> + / / The cost to get from node 0 to 2 is - Infinity <nl> + / / The cost to get from node 0 to 3 is - Infinity <nl> + / / The cost to get from node 0 to 4 is - Infinity <nl> + / / The cost to get from node 0 to 5 is 5 . 00 <nl> + / / The cost to get from node 0 to 6 is 5 . 00 <nl> + / / The cost to get from node 0 to 7 is 8 . 00 <nl> + / / The cost to get from node 0 to 8 is Infinity <nl> + <nl> + } <nl> + <nl> + } <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl>
Added better Bellman ford implementations
OpenGenus/cosmos
ff7522504c2741bb37d929bf11070d696e4f6262
2017-10-13T01:42:29Z
mmm a / aten / src / ATen / core / TensorImpl . h <nl> ppp b / aten / src / ATen / core / TensorImpl . h <nl> <nl> # include < ATen / core / context_base . h > <nl> # include < ATen / core / optional . h > <nl> <nl> - # include < c10 / util / Flags . h > <nl> + # include " c10 / util / Flags . h " <nl> <nl> # include " caffe2 / core / allocator . h " <nl> # include " caffe2 / core / common . h " <nl>
Fix windows build ( )
pytorch/pytorch
c2a57d082d36f30f32d5c4cc7147ab57ce2c3097
2018-10-10T16:39:06Z
mmm a / src / mongo / embedded / embedded . cpp <nl> ppp b / src / mongo / embedded / embedded . cpp <nl> ServiceContext * initialize ( const char * yaml_config ) { <nl> <nl> Status status = mongo : : runGlobalInitializers ( yaml_config ? 1 : 0 , argv , nullptr ) ; <nl> uassertStatusOKWithContext ( status , " Global initilization failed " ) ; <nl> + auto giGuard = makeGuard ( [ ] { mongo : : runGlobalDeinitializers ( ) . ignore ( ) ; } ) ; <nl> setGlobalServiceContext ( ServiceContext : : make ( ) ) ; <nl> <nl> Client : : initThread ( " initandlisten " ) ; <nl> + / / Make sure current thread have no client set in thread_local when we leave this function <nl> + auto clientGuard = makeGuard ( [ ] { Client : : releaseCurrent ( ) ; } ) ; <nl> <nl> initWireSpec ( ) ; <nl> <nl> ServiceContext * initialize ( const char * yaml_config ) { <nl> quickExit ( EXIT_NEED_DOWNGRADE ) ; <nl> } <nl> <nl> - / / Assert that the in - memory featureCompatibilityVersion parameter has been explicitly set . If <nl> - / / we are part of a replica set and are started up with no data files , we do not set the <nl> - / / featureCompatibilityVersion until a primary is chosen . For this case , we expect the in - memory <nl> - / / featureCompatibilityVersion parameter to still be uninitialized until after startup . <nl> + / / Assert that the in - memory featureCompatibilityVersion parameter has been explicitly set . <nl> + / / If we are part of a replica set and are started up with no data files , we do not set the <nl> + / / featureCompatibilityVersion until a primary is chosen . For this case , we expect the <nl> + / / in - memory featureCompatibilityVersion parameter to still be uninitialized until after <nl> + / / startup . <nl> if ( canCallFCVSetIfCleanStartup ) { <nl> invariant ( serverGlobalParams . featureCompatibility . isVersionInitialized ( ) ) ; <nl> } <nl> ServiceContext * initialize ( const char * yaml_config ) { <nl> / / operation context anymore <nl> startupOpCtx . reset ( ) ; <nl> <nl> - / / Make sure current thread have no client set in thread_local <nl> - Client : : releaseCurrent ( ) ; <nl> - <nl> serviceContext - > notifyStartupComplete ( ) ; <nl> <nl> + / / Init succeeded , no need for global deinit . <nl> + giGuard . dismiss ( ) ; <nl> + <nl> return serviceContext ; <nl> } <nl> } / / namespace embedded <nl> mmm a / src / mongo / embedded / mongo_embedded / mongo_embedded_test . cpp <nl> ppp b / src / mongo / embedded / mongo_embedded / mongo_embedded_test . cpp <nl> <nl> # include < set > <nl> # include < yaml - cpp / yaml . h > <nl> <nl> + # include " mongo / base / initializer . h " <nl> # include " mongo / bson / bsonobjbuilder . h " <nl> # include " mongo / db / commands / test_commands_enabled . h " <nl> # include " mongo / db / json . h " <nl> int main ( const int argc , const char * const * const argv ) { <nl> : : mongo : : clearSignalMask ( ) ; <nl> : : mongo : : setupSynchronousSignalHandlers ( ) ; <nl> : : mongo : : serverGlobalParams . noUnixSocket = true ; <nl> - : : mongo : : unittest : : setupTestLogger ( ) ; <nl> <nl> / / Allocate an error descriptor for use in non - configured tests <nl> const auto status = makeStatusPtr ( ) ; <nl> <nl> mongo : : setTestCommandsEnabled ( true ) ; <nl> <nl> + / / Perform one cycle of global initialization / deinitialization before running test . This will <nl> + / / make sure everything that is needed is setup for the unittest infrastructure . <nl> + / / The reason this works is that the unittest system relies on other systems being initialized <nl> + / / through global init and deinitialize just deinitializes systems that explicitly supports <nl> + / / deinit leaving the systems unittest needs initialized . <nl> + const char * null_argv [ 1 ] = { nullptr } ; <nl> + ret = mongo : : runGlobalInitializers ( 0 , null_argv , nullptr ) ; <nl> + if ( ! ret . isOK ( ) ) { <nl> + std : : cerr < < " Global initilization failed " ; <nl> + return EXIT_FAILURE ; <nl> + } <nl> + <nl> + ret = mongo : : runGlobalDeinitializers ( ) ; <nl> + if ( ! ret . isOK ( ) ) { <nl> + std : : cerr < < " Global deinitilization failed " ; <nl> + return EXIT_FAILURE ; <nl> + } <nl> + <nl> / / Check so we can initialize the library without providing init params <nl> mongo_embedded_v1_lib * lib = mongo_embedded_v1_lib_init ( nullptr , status . get ( ) ) ; <nl> if ( lib = = nullptr ) { <nl> int main ( const int argc , const char * const * const argv ) { <nl> < < mongo_embedded_v1_status_get_explanation ( status . get ( ) ) < < std : : endl ; <nl> } <nl> <nl> + / / Attempt to create an embedded instance to make sure something gets logged . This will probably <nl> + / / fail but that ' s fine . <nl> + mongo_embedded_v1_instance * instance = mongo_embedded_v1_instance_create ( lib , nullptr , nullptr ) ; <nl> + if ( instance ) { <nl> + mongo_embedded_v1_instance_destroy ( instance , nullptr ) ; <nl> + } <nl> + <nl> if ( mongo_embedded_v1_lib_fini ( lib , nullptr ) ! = MONGO_EMBEDDED_V1_SUCCESS ) { <nl> std : : cerr < < " mongo_embedded_v1_fini ( ) failed with " <nl> < < mongo_embedded_v1_status_get_error ( status . get ( ) ) < < " : " <nl> int main ( const int argc , const char * const * const argv ) { <nl> <nl> if ( ! receivedCallback ) { <nl> std : : cerr < < " Did not get a log callback . " < < std : : endl ; <nl> + return EXIT_FAILURE ; <nl> } <nl> <nl> const auto result = : : mongo : : unittest : : Suite : : run ( std : : vector < std : : string > ( ) , " " , 1 ) ; <nl> mmm a / src / mongo / embedded / mongoc_embedded / mongoc_embedded_test . cpp <nl> ppp b / src / mongo / embedded / mongoc_embedded / mongoc_embedded_test . cpp <nl> <nl> # include < mongoc / mongoc . h > <nl> # include < yaml - cpp / yaml . h > <nl> <nl> + # include " mongo / base / initializer . h " <nl> # include " mongo / db / server_options . h " <nl> # include " mongo / embedded / mongo_embedded / mongo_embedded . h " <nl> # include " mongo / embedded / mongoc_embedded / mongoc_embedded_test_gen . h " <nl> int main ( int argc , char * * argv , char * * envp ) { <nl> : : mongo : : clearSignalMask ( ) ; <nl> : : mongo : : setupSynchronousSignalHandlers ( ) ; <nl> : : mongo : : serverGlobalParams . noUnixSocket = true ; <nl> - : : mongo : : unittest : : setupTestLogger ( ) ; <nl> + <nl> + / / See comment by the same code block in mongo_embedded_test . cpp <nl> + const char * null_argv [ 1 ] = { nullptr } ; <nl> + ret = mongo : : runGlobalInitializers ( 0 , null_argv , nullptr ) ; <nl> + if ( ! ret . isOK ( ) ) { <nl> + std : : cerr < < " Global initilization failed " ; <nl> + return EXIT_FAILURE ; <nl> + } <nl> + <nl> + ret = mongo : : runGlobalDeinitializers ( ) ; <nl> + if ( ! ret . isOK ( ) ) { <nl> + std : : cerr < < " Global deinitilization failed " ; <nl> + return EXIT_FAILURE ; <nl> + } <nl> <nl> StatusPtr status ( mongo_embedded_v1_status_create ( ) ) ; <nl> mongoc_init ( ) ; <nl> mmm a / src / mongo / embedded / stitch_support / stitch_support_test . cpp <nl> ppp b / src / mongo / embedded / stitch_support / stitch_support_test . cpp <nl> <nl> <nl> # include " stitch_support / stitch_support . h " <nl> <nl> + # include " mongo / base / initializer . h " <nl> # include " mongo / bson / json . h " <nl> # include " mongo / unittest / unittest . h " <nl> # include " mongo / util / quick_exit . h " <nl> TEST_F ( StitchSupportTest , TestUpsertProducesProperStatus ) { <nl> / / calling runGlobalInitializers ( ) , which is called both from the regular unit test main ( ) and from <nl> / / the Stitch Support Library intializer function that gets tested here . <nl> int main ( const int argc , const char * const * const argv ) { <nl> + / / See comment by the same code block in mongo_embedded_test . cpp <nl> + const char * null_argv [ 1 ] = { nullptr } ; <nl> + auto ret = mongo : : runGlobalInitializers ( 0 , null_argv , nullptr ) ; <nl> + if ( ! ret . isOK ( ) ) { <nl> + std : : cerr < < " Global initilization failed " ; <nl> + return EXIT_FAILURE ; <nl> + } <nl> + <nl> + ret = mongo : : runGlobalDeinitializers ( ) ; <nl> + if ( ! ret . isOK ( ) ) { <nl> + std : : cerr < < " Global deinitilization failed " ; <nl> + return EXIT_FAILURE ; <nl> + } <nl> + <nl> const auto result = : : mongo : : unittest : : Suite : : run ( std : : vector < std : : string > ( ) , " " , 1 ) ; <nl> <nl> / / This is the standard exit path for Mongo processes . See the mongo : : quickExit ( ) declaration <nl>
SERVER - 39102 Fix embedded and stitch unittests so logging and time reporting works correctly .
mongodb/mongo
1b75c7b9b1295fa8a94552da7f2c63cbc2cc2105
2019-04-04T19:26:53Z
mmm a / lib / IRGen / GenMeta . cpp <nl> ppp b / lib / IRGen / GenMeta . cpp <nl> llvm : : Value * IRGenFunction : : emitTypeLayoutRef ( SILType type ) { <nl> <nl> void IRGenModule : : setTrueConstGlobal ( llvm : : GlobalVariable * var ) { <nl> switch ( TargetInfo . OutputObjectFormat ) { <nl> + case llvm : : Triple : : UnknownObjectFormat : <nl> + llvm_unreachable ( " unknown object format " ) ; <nl> case llvm : : Triple : : MachO : <nl> - var - > setSection ( " __TEXT , __const " ) ; <nl> + var - > setSection ( " __TEXT , __const " ) ; <nl> break ; <nl> - / / TODO : ELF ? <nl> - default : <nl> + case llvm : : Triple : : ELF : <nl> + var - > setSection ( " . rodata " ) ; <nl> + break ; <nl> + case llvm : : Triple : : COFF : <nl> + var - > setSection ( " . rdata " ) ; <nl> break ; <nl> } <nl> } <nl> new file mode 100644 <nl> index 000000000000 . . 37815c9899ce <nl> mmm / dev / null <nl> ppp b / test / IRGen / nominal - type - section . swift <nl> <nl> + / / RUN : % swift - target x86_64 - apple - macosx10 . 10 - emit - ir - parse - stdlib - primary - file % s - module - name main - o - | FileCheck % s - check - prefix CHECK - MACHO <nl> + / / RUN : % swift - target x86_64 - unknown - linux - gnu - emit - ir - parse - stdlib - primary - file % s - module - name main - o - | FileCheck % s - check - prefix CHECK - ELF <nl> + / / RUN : % swift - target x86_64 - unknown - windows - itanium - emit - ir - parse - stdlib - primary - file % s - module - name main - o - | FileCheck % s - check - prefix CHECK - COFF <nl> + <nl> + / / CHECK - MACHO : @ _TMnV4main1s = constant { { . * } } , section " __TEXT , __const " <nl> + / / CHECK - ELF : @ _TMnV4main1s = { { . * } } constant { { . * } } , section " . rodata " <nl> + / / CHECK - COFF : @ _TMnV4main1s = { { . * } } constant { { . * } } , section " . rdata " <nl> + <nl> + public struct s { <nl> + } <nl> + <nl>
Merge pull request from compnerd / metadata
apple/swift
3f198ad87fedd23c6dca91b769b080f799e82bab
2016-06-05T01:41:24Z
mmm a / src / mongo / db / pdfile . h <nl> ppp b / src / mongo / db / pdfile . h <nl> namespace mongo { <nl> return & database - > namespaceIndex ( ) ; <nl> } <nl> <nl> - inline NamespaceDetails * nsdetails ( const StringData & ns ) { <nl> - / / if this faults , did you set the current db first ? ( Client : : Context + dblock ) <nl> - return nsindex ( ns ) - > details ( ns ) ; <nl> - } <nl> - <nl> BOOST_STATIC_ASSERT ( 16 = = sizeof ( DeletedRecord ) ) ; <nl> <nl> inline BSONObj BSONObj : : make ( const Record * r ) { <nl>
SERVER - 11643 : remove nsdetails ( )
mongodb/mongo
be55e5bab79eb29ce4b6d1027a57fa29421f1f0c
2014-04-03T17:31:48Z
new file mode 100644 <nl> index 00000000000 . . 0de2745ca4c <nl> mmm / dev / null <nl> ppp b / tests / integration / test_grant_and_revoke / configs / log_conf . xml <nl> <nl> + < yandex > <nl> + < logger > <nl> + < level > trace < / level > <nl> + < log > / var / log / clickhouse - server / log . log < / log > <nl> + < errorlog > / var / log / clickhouse - server / log . err . log < / errorlog > <nl> + < size > 1000M < / size > <nl> + < count > 10 < / count > <nl> + < stderr > / var / log / clickhouse - server / stderr . log < / stderr > <nl> + < stdout > / var / log / clickhouse - server / stdout . log < / stdout > <nl> + < / logger > <nl> + < / yandex > <nl> mmm a / tests / integration / test_grant_and_revoke / test . py <nl> ppp b / tests / integration / test_grant_and_revoke / test . py <nl> <nl> from helpers . test_tools import TSV <nl> <nl> cluster = ClickHouseCluster ( __file__ ) <nl> - instance = cluster . add_instance ( ' instance ' ) <nl> + instance = cluster . add_instance ( ' instance ' , main_configs = [ ' configs / log_conf . xml ' ] ) <nl> <nl> <nl> @ pytest . fixture ( scope = " module " , autouse = True ) <nl>
Merge pull request from ClickHouse / improvement_in_test
ClickHouse/ClickHouse
3f5dc37095ccca18de490fab162d6e3cb99756aa
2020-10-08T06:51:54Z
mmm a / hphp / test / . gitignore <nl> ppp b / hphp / test / . gitignore <nl> <nl> + * . expect - trimmed <nl> * . errors <nl> * . fatals <nl> * . out <nl> deleted file mode 100644 <nl> index b93bcbdd94c . . 00000000000 <nl> mmm a / hphp / test / quick / array_values . php . expect - trimmed <nl> ppp / dev / null <nl> <nl> - array ( 1 ) { <nl> - [ 0 ] = > <nl> - & string ( 1 ) " b " <nl> - } <nl> \ No newline at end of file <nl>
Delete a . expect - trimmed file , add . gitignore rule
facebook/hhvm
2f4e4c02743e6d09b4f598f60c0ba62c508af769
2014-04-11T04:49:35Z
mmm a / src / compiler / statement / function_statement . cpp <nl> ppp b / src / compiler / statement / function_statement . cpp <nl> void FunctionStatement : : outputCPPImpl ( CodeGenerator & cg , <nl> bool pseudoMain = funcScope - > inPseudoMain ( ) ; <nl> string origFuncName = ! pseudoMain ? funcScope - > getOriginalName ( ) : <nl> ( " run_init : : " + funcScope - > getContainingFile ( ) - > getName ( ) ) ; <nl> - string funcSection ; <nl> <nl> if ( outputFFI ( cg , ar ) ) return ; <nl> <nl> void FunctionStatement : : outputCPPImpl ( CodeGenerator & cg , <nl> cg_printf ( " void " ) ; <nl> } <nl> <nl> - funcSection = Option : : FunctionSections [ origFuncName ] ; <nl> - if ( ! funcSection . empty ( ) ) { <nl> - cg_printf ( " __attribute__ ( ( section ( \ " . text . % s \ " ) ) ) " , <nl> - funcSection . c_str ( ) ) ; <nl> + if ( Option : : FunctionSections . find ( origFuncName ) ! = <nl> + Option : : FunctionSections . end ( ) ) { <nl> + string funcSection = Option : : FunctionSections [ origFuncName ] ; <nl> + if ( ! funcSection . empty ( ) ) { <nl> + cg_printf ( " __attribute__ ( ( section ( \ " . text . % s \ " ) ) ) " , <nl> + funcSection . c_str ( ) ) ; <nl> + } <nl> } <nl> <nl> if ( pseudoMain ) { <nl> mmm a / src / compiler / statement / method_statement . cpp <nl> ppp b / src / compiler / statement / method_statement . cpp <nl> void MethodStatement : : outputCPPImpl ( CodeGenerator & cg , AnalysisResultPtr ar ) { <nl> cg_printf ( " void " ) ; <nl> } <nl> string origFuncName = getOriginalFullName ( ) ; <nl> - string funcSection = Option : : FunctionSections [ origFuncName ] ; <nl> - if ( ! funcSection . empty ( ) ) { <nl> - cg_printf ( " __attribute__ ( ( section ( \ " . text . % s \ " ) ) ) " , <nl> - funcSection . c_str ( ) ) ; <nl> + if ( Option : : FunctionSections . find ( origFuncName ) ! = <nl> + Option : : FunctionSections . end ( ) ) { <nl> + string funcSection = Option : : FunctionSections [ origFuncName ] ; <nl> + if ( ! funcSection . empty ( ) ) { <nl> + cg_printf ( " __attribute__ ( ( section ( \ " . text . % s \ " ) ) ) " , <nl> + funcSection . c_str ( ) ) ; <nl> + } <nl> } <nl> <nl> if ( m_name = = " __offsetget_lval " ) { <nl>
fixed a multithreading bug with compiler
facebook/hhvm
811e5b27aec0219d24fa4243e794561cf47ddbf6
2010-12-27T13:05:11Z
mmm a / caffe2 / python / onnx / tests / onnx_backend_test . py <nl> ppp b / caffe2 / python / onnx / tests / onnx_backend_test . py <nl> <nl> ' | test_sequence_ . * ' # type sequence is not supported yet <nl> ' | test_ . * negative_ax . * ' # negative axis is not supported yet <nl> ' | test_ . * negative_ind . * ' # negative axis is not supported yet <nl> + ' | test_argmax_ . * select_last_index . * ' # unsupported case <nl> + ' | test_argmin_ . * select_last_index_ . * ' # unsupported case <nl> ' ) ' ) <nl> <nl> # Quick patch to unbreak master CI , is working on the debugging . <nl> mmm a / third_party / onnx <nl> ppp b / third_party / onnx <nl> @ @ - 1 + 1 @ @ <nl> - Subproject commit fea8568cac61a482ed208748fdc0e1a8e47f62f5 <nl> + Subproject commit c08a7b76cf7c1555ae37186f12be4d62b2c39b3b <nl>
Automatic update of fbcode / onnx to c08a7b76cf7c1555ae37186f12be4d62b2c39b3b ( )
pytorch/pytorch
c34ef1aa2edb4792d7bd0cb3a75d7a68e859212b
2019-12-10T18:15:08Z
mmm a / xbmc / lib / libPython / Python / Python / import . c <nl> ppp b / xbmc / lib / libPython / Python / Python / import . c <nl> <nl> # include " eval . h " <nl> # include " osdefs . h " <nl> # include " importdl . h " <nl> + # ifdef MS_WINDOWS <nl> + # include < direct . h > <nl> + # endif <nl> <nl> # ifdef HAVE_FCNTL_H <nl> # include < fcntl . h > <nl> PyImport_ExecCodeModuleEx ( char * name , PyObject * co , char * pathname ) <nl> for the compiled file , or NULL if there ' s no space in the buffer . <nl> Doesn ' t set an exception . * / <nl> <nl> + # define XBMC_HOME_PATH " special : / / home / " <nl> + # define XBMC_ROOT_PATH " special : / / xbmc / " <nl> static char * <nl> make_compiled_pathname ( char * pathname , char * buf , size_t buflen ) <nl> { <nl> make_compiled_pathname ( char * pathname , char * buf , size_t buflen ) <nl> buf [ len ] = Py_OptimizeFlag ? ' o ' : ' c ' ; <nl> buf [ len + 1 ] = ' \ 0 ' ; <nl> <nl> + # ifdef MS_WINDOWS <nl> + / * XBMC hack : <nl> + We don ' t have write access on the XBMC_ROOT path . Redirects everything <nl> + to XBMC_HOME . * / <nl> + if ( strncmp ( pathname , XBMC_ROOT_PATH , strlen ( XBMC_ROOT_PATH ) ) = = 0 ) <nl> + memcpy ( buf + 10 , " home " , 4 ) ; <nl> + # endif <nl> return buf ; <nl> } <nl> <nl> open_exclusive ( char * filename ) <nl> writable , the file will never be written . Oh well . <nl> * / <nl> int fd ; <nl> + <nl> + # ifdef MS_WINDOWS <nl> + / * Since we ' re redirecting everything from XBMC_ROOT to <nl> + XBMC_HOME , there ' s a chance that the directory does not <nl> + exist . In this case , we need to create it . * / <nl> + if ( strncmp ( filename , XBMC_HOME_PATH , strlen ( XBMC_HOME_PATH ) ) = = 0 ) <nl> + { <nl> + char * buf = filename + strlen ( XBMC_HOME_PATH ) ; <nl> + char * path = strdup ( filename ) ; <nl> + while ( * ( buf + + ) ) <nl> + { <nl> + if ( ( * buf = = ' / ' ) | | ( * buf = = ' \ \ ' ) ) <nl> + { <nl> + memcpy ( path , filename , buf - filename ) ; <nl> + path [ buf - filename ] = ' \ 0 ' ; <nl> + if ( access ( path , 0 ) = = - 1 ) <nl> + { <nl> + if ( mkdir ( path ) ! = 0 ) <nl> + return NULL ; <nl> + } <nl> + } <nl> + } <nl> + free ( path ) ; <nl> + } <nl> + # endif <nl> + <nl> + <nl> ( void ) unlink ( filename ) ; <nl> fd = open ( filename , O_EXCL | O_CREAT | O_WRONLY | O_TRUNC <nl> # ifdef O_BINARY <nl>
[ WIN32 ] changed : redirect python compiled modules from special : / / xbmc / to special : / / home / ( we don ' t have write permission on special : / / xbmc / under Vista + ) . Fix
xbmc/xbmc
3a12f975a7a05176f4e8bb58ebd6710fc57b7815
2010-10-03T13:46:35Z
mmm a / test / test_mkldnn . py <nl> ppp b / test / test_mkldnn . py <nl> def test_repr ( self ) : <nl> self . assertTrue ( " layout = torch . _mkldnn " in str ( torch . randn ( ( 1 , 2 , 3 , 4 ) , <nl> dtype = torch . float , device = torch . device ( ' cpu ' ) ) . to_mkldnn ( ) ) ) <nl> <nl> + def test_conv1d ( self ) : <nl> + for groups in [ 1 , 4 ] : <nl> + N = torch . randint ( 3 , 10 , ( 1 , ) ) . item ( ) <nl> + C = torch . randint ( 1 , 3 , ( 1 , ) ) . item ( ) * groups <nl> + M = torch . randint ( 1 , 3 , ( 1 , ) ) . item ( ) * groups <nl> + x = torch . randn ( N , C , 224 , dtype = torch . float32 ) <nl> + for bias in [ True , False ] : <nl> + conv1d = torch . nn . Conv1d ( in_channels = C , <nl> + out_channels = M , <nl> + kernel_size = 3 , <nl> + stride = 2 , <nl> + padding = 1 , <nl> + bias = bias , <nl> + groups = groups ) . float ( ) <nl> + mkldnn_conv1d = mkldnn_utils . to_mkldnn ( copy . deepcopy ( conv1d ) ) <nl> + with torch . backends . mkldnn . flags ( enabled = False ) : <nl> + y_aten = conv1d ( x ) <nl> + y_mkldnn = mkldnn_conv1d ( x . to_mkldnn ( ) ) . to_dense ( ) <nl> + self . assertEqual ( y_aten , y_mkldnn ) <nl> + <nl> + self . _test_serialization ( mkldnn_conv1d , ( x . to_mkldnn ( ) , ) ) <nl> + self . _test_tracing ( mkldnn_conv1d , ( x . to_mkldnn ( ) , ) ) <nl> + <nl> def test_conv2d ( self ) : <nl> for groups in [ 1 , 4 ] : <nl> N = torch . randint ( 3 , 10 , ( 1 , ) ) . item ( ) <nl> mmm a / torch / utils / mkldnn . py <nl> ppp b / torch / utils / mkldnn . py <nl> def forward ( self , x ) : <nl> return y <nl> <nl> <nl> - class MkldnnConv2d ( torch . jit . ScriptModule ) : <nl> + class _MkldnnConvNd ( torch . jit . ScriptModule ) : <nl> + " " " Common base of MkldnnConv1d and MkldnnConv2d " " " <nl> __constants__ = [ ' stride ' , ' padding ' , ' dilation ' , ' groups ' ] <nl> <nl> def __init__ ( self , dense_module ) : <nl> - super ( MkldnnConv2d , self ) . __init__ ( ) <nl> + super ( _MkldnnConvNd , self ) . __init__ ( ) <nl> <nl> self . stride = dense_module . stride <nl> self . padding = dense_module . padding <nl> self . dilation = dense_module . dilation <nl> self . groups = dense_module . groups <nl> <nl> - self . register_buffer ( ' weight ' , torch . _C . _nn . mkldnn_reorder_conv2d_weight ( <nl> - dense_module . weight . to_mkldnn ( ) , <nl> - self . padding , <nl> - self . stride , <nl> - self . dilation , <nl> - self . groups ) ) <nl> if dense_module . bias is not None : <nl> self . register_buffer ( ' bias ' , dense_module . bias . to_mkldnn ( ) ) <nl> else : <nl> def __getstate__ ( self ) : <nl> return ( self . weight . to_dense ( ) , self . bias . to_dense ( ) , self . training ) <nl> <nl> @ torch . jit . script_method <nl> - def __setstate__ ( self , state ) : <nl> - self . weight = torch . _C . _nn . mkldnn_reorder_conv2d_weight ( <nl> - state [ 0 ] . to_mkldnn ( ) , <nl> + def forward ( self , x ) : <nl> + return torch . mkldnn_convolution ( <nl> + x , <nl> + self . weight , <nl> + self . bias , <nl> self . padding , <nl> self . stride , <nl> self . dilation , <nl> self . groups ) <nl> + <nl> + <nl> + class MkldnnConv1d ( _MkldnnConvNd ) : <nl> + def __init__ ( self , dense_module ) : <nl> + super ( MkldnnConv1d , self ) . __init__ ( dense_module ) <nl> + <nl> + self . register_buffer ( ' weight ' , dense_module . weight . to_mkldnn ( ) ) <nl> + <nl> + @ torch . jit . script_method <nl> + def __setstate__ ( self , state ) : <nl> + self . weight = state [ 0 ] . to_mkldnn ( ) <nl> self . bias = state [ 1 ] . to_mkldnn ( ) <nl> self . training = state [ 2 ] <nl> <nl> - @ torch . jit . script_method <nl> - def forward ( self , x ) : <nl> - return torch . conv2d ( <nl> - x , <nl> - self . weight , <nl> - self . bias , <nl> + <nl> + class MkldnnConv2d ( _MkldnnConvNd ) : <nl> + def __init__ ( self , dense_module ) : <nl> + super ( MkldnnConv2d , self ) . __init__ ( dense_module ) <nl> + <nl> + self . register_buffer ( ' weight ' , torch . _C . _nn . mkldnn_reorder_conv2d_weight ( <nl> + dense_module . weight . to_mkldnn ( ) , <nl> + self . padding , <nl> self . stride , <nl> + self . dilation , <nl> + self . groups ) ) <nl> + <nl> + @ torch . jit . script_method <nl> + def __setstate__ ( self , state ) : <nl> + self . weight = torch . _C . _nn . mkldnn_reorder_conv2d_weight ( <nl> + state [ 0 ] . to_mkldnn ( ) , <nl> self . padding , <nl> + self . stride , <nl> self . dilation , <nl> self . groups ) <nl> + self . bias = state [ 1 ] . to_mkldnn ( ) <nl> + self . training = state [ 2 ] <nl> <nl> <nl> class MkldnnBatchNorm2d ( torch . jit . ScriptModule ) : <nl> def to_mkldnn ( module ) : <nl> def m_fn ( m ) : <nl> if isinstance ( m , torch . nn . Linear ) : <nl> return MkldnnLinear ( m ) <nl> + elif isinstance ( m , torch . nn . Conv1d ) : <nl> + return MkldnnConv1d ( m ) <nl> elif isinstance ( m , torch . nn . Conv2d ) : <nl> return MkldnnConv2d ( m ) <nl> elif isinstance ( m , torch . nn . BatchNorm2d ) : <nl>
cover nn . Conv1d in mkldnn model conversion logic ( )
pytorch/pytorch
9ad14f6b43b34015cde5a8a4d5961be522499a24
2020-05-19T20:04:18Z
mmm a / folly / test / OptionalTest . cpp <nl> ppp b / folly / test / OptionalTest . cpp <nl> TEST ( Optional , MakeOptional ) { <nl> EXPECT_EQ ( * * optIntPtr , 3 ) ; <nl> } <nl> <nl> - # ifdef __clang__ <nl> + # if __CLANG_PREREQ ( 3 , 6 ) <nl> # pragma clang diagnostic push <nl> - # if __clang_major__ > 3 | | __clang_minor__ > = 6 <nl> - # pragma clang diagnostic ignored " - Wself - move " <nl> - # endif <nl> + # pragma clang diagnostic ignored " - Wself - move " <nl> # endif <nl> <nl> TEST ( Optional , SelfAssignment ) { <nl> TEST ( Optional , SelfAssignment ) { <nl> ASSERT_TRUE ( b . hasValue ( ) & & b . value ( ) = = 23333333 ) ; <nl> } <nl> <nl> - # ifdef __clang__ <nl> - # pragma clang diagnostic pop <nl> + # if __CLANG_PREREQ ( 3 , 6 ) <nl> + # pragma clang diagnostic pop <nl> # endif <nl> <nl> class ContainsOptional { <nl>
Simplify some checks by using __CLANG_PREREQ
facebook/folly
d69f6a7a3523aea7cbe5578cdbaea6e3a9920d8c
2015-11-16T10:20:20Z
mmm a / src / mongo / shell / db . js <nl> ppp b / src / mongo / shell / db . js <nl> DB . prototype . printCollectionStats = function ( scale ) { <nl> DB . prototype . setProfilingLevel = function ( level , slowms ) { <nl> <nl> if ( level < 0 | | level > 2 ) { <nl> - throw { dbSetProfilingException : " input level " + level + " is out of range [ 0 . . 2 ] " } ; <nl> + throw Error ( " input level " + level + " is out of range [ 0 . . 2 ] " ) ; <nl> } <nl> <nl> var cmd = { profile : level } ; <nl>
SERVER - 10177 Fix dbSetProfilingLevel ( ) error message when level is out of range .
mongodb/mongo
04469544920312ead0bd1a85b1f2d26a4bc4f52d
2013-07-19T21:42:48Z
mmm a / Makefile . am <nl> ppp b / Makefile . am <nl> test_gmock_spec_builders_test_SOURCES = test / gmock - spec - builders_test . cc <nl> test_gmock_spec_builders_test_LDADD = $ ( GTEST_LIBS ) lib / libgmock . la <nl> <nl> # This tests using Google Mock in multiple translation units . It also <nl> - # verifies that libgmock_main works . <nl> + # verifies that libgmock_main and libgmock work . <nl> TESTS + = test / gmock_link_test <nl> check_PROGRAMS + = test / gmock_link_test <nl> test_gmock_link_test_SOURCES = \ <nl> test / gmock_link2_test . cc \ <nl> test / gmock_link_test . cc \ <nl> test / gmock_link_test . h <nl> - test_gmock_link_test_LDADD = $ ( GTEST_LIBS ) lib / libgmock_main . la <nl> + test_gmock_link_test_LDADD = $ ( GTEST_LIBS ) lib / libgmock_main . la lib / libgmock . la <nl> <nl> # Tests that fused gmock files compile and work . <nl> TESTS + = test / gmock_fused_test <nl>
fixes link errors in ' make check '
google/googletest
8e68753288986fd689e30efdaf4324f2f473ade7
2011-04-07T07:19:40Z
mmm a / dbms / src / AggregateFunctions / AggregateFunctionSumMap . h <nl> ppp b / dbms / src / AggregateFunctions / AggregateFunctionSumMap . h <nl> class AggregateFunctionSumMap final : public IAggregateFunctionHelper < AggregateF <nl> { <nl> private : <nl> DataTypePtr keys_type ; <nl> - std : : vector < DataTypePtr > values_types ; <nl> + DataTypes values_types ; <nl> <nl> public : <nl> String getName ( ) const override { return " sumMap " ; } <nl>
Update AggregateFunctionSumMap . h
ClickHouse/ClickHouse
4124465d0baf219aaa11f556589e6c97d38034fd
2017-10-13T18:51:03Z
mmm a / buildscripts / resmokelib / testing / fixtures / standalone . py <nl> ppp b / buildscripts / resmokelib / testing / fixtures / standalone . py <nl> def await_ready ( self ) : <nl> self . logger . info ( " Waiting to connect to mongod on port % d . " , self . port ) <nl> time . sleep ( 0 . 1 ) # Wait a little bit before trying again . <nl> <nl> - # Ensure that the sessions collection gets created <nl> - client . admin . command ( { " refreshLogicalSessionCacheNow " : 1 } ) <nl> - <nl> self . logger . info ( " Successfully contacted the mongod on port % d . " , self . port ) <nl> <nl> def _do_teardown ( self , mode = None ) : <nl>
Revert " SERVER - 44745 Trigger a logical session cache refresh for core passthrough suites using the MongoDFixture before running tests "
mongodb/mongo
d8caa7410ce2642d1c67f31c330f6d82ba384495
2020-03-19T00:49:39Z
mmm a / tensorflow / compiler / tests / binary_ops_test . py <nl> ppp b / tensorflow / compiler / tests / binary_ops_test . py <nl> def testFloatOps ( self ) : <nl> self . _testBinary ( <nl> gen_math_ops . xdivy , <nl> np . array ( [ 0 , 4 , 3 , 2 , 1 , 0 ] , dtype = dtype ) , <nl> - np . array ( [ 0 , 5 , 6 , 7 , 8 , float ( " NaN " ) ] , dtype = dtype ) , <nl> - expected = np . array ( [ 0 , 0 . 8 , 0 . 5 , 0 . 285714 , 0 . 125 , 0 ] , dtype = dtype ) , <nl> + np . array ( [ [ 0 , 5 , 6 , 7 , 8 , float ( " NaN " ) ] ] , dtype = dtype ) , <nl> + expected = np . array ( [ [ 0 , 0 . 8 , 0 . 5 , 0 . 285714 , 0 . 125 , 0 ] ] , dtype = dtype ) , <nl> rtol = 1e - 6 , <nl> atol = 1e - 6 ) <nl> <nl> self . _testBinary ( <nl> gen_math_ops . xlogy , <nl> np . array ( [ 0 , 4 , 3 , 2 , 1 , 0 ] , dtype = dtype ) , <nl> - np . array ( [ 0 , 5 , 6 , 7 , 8 , float ( " NaN " ) ] , dtype = dtype ) , <nl> - expected = np . array ( [ 0 , 6 . 437752 , 5 . 375278 , 3 . 89182 , 2 . 079442 , 0 ] , <nl> + np . array ( [ [ 0 , 5 , 6 , 7 , 8 , float ( " NaN " ) ] ] , dtype = dtype ) , <nl> + expected = np . array ( [ [ 0 , 6 . 437752 , 5 . 375278 , 3 . 89182 , 2 . 079442 , 0 ] ] , <nl> dtype = dtype ) , <nl> rtol = 1e - 4 , <nl> atol = 1e - 6 ) <nl> def testFloatOps ( self ) : <nl> self . _testBinary ( <nl> gen_math_ops . xlog1py , <nl> np . array ( [ 0 , 4 , 3 , 2 , 1 , 0 ] , dtype = dtype ) , <nl> - np . array ( [ - 1 , 5 , 6 , 7 , 8 , float ( " NaN " ) ] , dtype = dtype ) , <nl> - expected = np . array ( [ 0 , 7 . 167038 , 5 . 837730 , 4 . 158883 , 2 . 197225 , 0 ] , <nl> + np . array ( [ [ - 1 , 5 , 6 , 7 , 8 , float ( " NaN " ) ] ] , dtype = dtype ) , <nl> + expected = np . array ( [ [ 0 , 7 . 167038 , 5 . 837730 , 4 . 158883 , 2 . 197225 , 0 ] ] , <nl> dtype = dtype ) , <nl> rtol = 1e - 4 , <nl> atol = 1e - 6 ) <nl> mmm a / tensorflow / compiler / tf2xla / kernels / binary_ops . cc <nl> ppp b / tensorflow / compiler / tf2xla / kernels / binary_ops . cc <nl> XLA_MAKE_BINARY ( Xlogy , XlogyImpl ( lhs , rhs , broadcast_helper ) ) ; <nl> <nl> xla : : XlaOp Xlog1pyImpl ( xla : : XlaOp x , xla : : XlaOp y , <nl> const BCast & broadcast_helper ) { <nl> + std : : tie ( x , y ) = XlaBinaryOp : : Broadcast ( x , y , broadcast_helper ) ; <nl> auto non_zero = xla : : Mul ( x , xla : : Log1p ( y ) ) ; <nl> auto zero = xla : : ZerosLike ( non_zero ) ; <nl> auto x_is_zero = xla : : Eq ( x , zero ) ; <nl>
Fixed shape inference in xlog1py . Modified binary ops tests to run on 1d & 2d inputs so that broadcasting is also tested implicitly . Verified that test failed on xlog1py prior to change in binary_ops . cc .
tensorflow/tensorflow
4f6e48e9fd6fd8d536a96d78a6e6006e4ac0074c
2020-06-23T21:31:55Z
mmm a / tests / queries / 0_stateless / 01317_no_password_in_command_line . sh <nl> ppp b / tests / queries / 0_stateless / 01317_no_password_in_command_line . sh <nl> $ CLICKHOUSE_CLIENT - - query " CREATE USER user IDENTIFIED WITH PLAINTEXT_PASSWORD <nl> # False positive result due to race condition with sleeps is Ok . <nl> <nl> $ CLICKHOUSE_CLIENT - - user user - - password hello - - query " SELECT sleep ( 1 ) " & <nl> - sleep 0 . 1 <nl> + <nl> + # Wait for query to start executing . At that time , the password should be cleared . <nl> + while true ; do <nl> + sleep 0 . 1 <nl> + $ CLICKHOUSE_CLIENT - - query " SHOW PROCESSLIST " | grep - q ' SELECT sleep ( 1 ) ' & & break ; <nl> + done <nl> + <nl> ps auxw | grep - F - - ' - - password ' | grep - F hello | | : <nl> wait <nl> <nl> $ CLICKHOUSE_CLIENT - - user user - - password = hello - - query " SELECT sleep ( 1 ) " & <nl> - sleep 0 . 1 <nl> + <nl> + while true ; do <nl> + sleep 0 . 1 <nl> + $ CLICKHOUSE_CLIENT - - query " SHOW PROCESSLIST " | grep - q ' SELECT sleep ( 1 ) ' & & break ; <nl> + done <nl> + <nl> ps auxw | grep - F - - ' - - password ' | grep - F hello | | : <nl> wait <nl> <nl>
Merge pull request from ClickHouse / fix - flaky - test - no - password - in - command - line
ClickHouse/ClickHouse
555189c5caf9c89ca9a220bc61b37ed6e7080c7e
2020-06-22T23:47:44Z
mmm a / src / builtins / builtins - definitions . h <nl> ppp b / src / builtins / builtins - definitions . h <nl> namespace internal { <nl> / / TFS : Builtin in Turbofan , with CodeStub linkage . <nl> / / Args : name , explicit argument names . . . <nl> / / TFC : Builtin in Turbofan , with CodeStub linkage and custom descriptor . <nl> - / / Args : name , interface descriptor , return_size <nl> + / / Args : name , interface descriptor <nl> / / TFH : Handlers in Turbofan , with CodeStub linkage . <nl> / / Args : name , interface descriptor <nl> / / BCH : Bytecode Handlers , with bytecode dispatch linkage . <nl> namespace internal { <nl> <nl> # define BUILTIN_LIST_BASE ( CPP , API , TFJ , TFC , TFS , TFH , ASM ) \ <nl> / * GC write barrirer * / \ <nl> - TFC ( RecordWrite , RecordWrite , 1 ) \ <nl> + TFC ( RecordWrite , RecordWrite ) \ <nl> \ <nl> / * Adaptors for CPP / API builtin * / \ <nl> - TFC ( AdaptorWithExitFrame , CppBuiltinAdaptor , 1 ) \ <nl> - TFC ( AdaptorWithBuiltinExitFrame , CppBuiltinAdaptor , 1 ) \ <nl> + TFC ( AdaptorWithExitFrame , CppBuiltinAdaptor ) \ <nl> + TFC ( AdaptorWithBuiltinExitFrame , CppBuiltinAdaptor ) \ <nl> \ <nl> / * Calls * / \ <nl> ASM ( ArgumentsAdaptorTrampoline , ArgumentsAdaptor ) \ <nl> namespace internal { <nl> ASM ( Call_ReceiverIsAny , CallTrampoline ) \ <nl> \ <nl> / * ES6 section 9 . 5 . 12 [ [ Call ] ] ( thisArgument , argumentsList ) * / \ <nl> - TFC ( CallProxy , CallTrampoline , 1 ) \ <nl> + TFC ( CallProxy , CallTrampoline ) \ <nl> ASM ( CallVarargs , CallVarargs ) \ <nl> - TFC ( CallWithSpread , CallWithSpread , 1 ) \ <nl> - TFC ( CallWithArrayLike , CallWithArrayLike , 1 ) \ <nl> + TFC ( CallWithSpread , CallWithSpread ) \ <nl> + TFC ( CallWithArrayLike , CallWithArrayLike ) \ <nl> ASM ( CallForwardVarargs , CallForwardVarargs ) \ <nl> ASM ( CallFunctionForwardVarargs , CallForwardVarargs ) \ <nl> / * Call an API callback via a { FunctionTemplateInfo } , doing appropriate * / \ <nl> / * access and compatible receiver checks . * / \ <nl> - TFC ( CallFunctionTemplate_CheckAccess , CallFunctionTemplate , 1 ) \ <nl> - TFC ( CallFunctionTemplate_CheckCompatibleReceiver , CallFunctionTemplate , 1 ) \ <nl> + TFC ( CallFunctionTemplate_CheckAccess , CallFunctionTemplate ) \ <nl> + TFC ( CallFunctionTemplate_CheckCompatibleReceiver , CallFunctionTemplate ) \ <nl> TFC ( CallFunctionTemplate_CheckAccessAndCompatibleReceiver , \ <nl> - CallFunctionTemplate , 1 ) \ <nl> + CallFunctionTemplate ) \ <nl> \ <nl> / * Construct * / \ <nl> / * ES6 section 9 . 2 . 2 [ [ Construct ] ] ( argumentsList , newTarget ) * / \ <nl> namespace internal { <nl> / * ES6 section 7 . 3 . 13 Construct ( F , [ argumentsList ] , [ newTarget ] ) * / \ <nl> ASM ( Construct , JSTrampoline ) \ <nl> ASM ( ConstructVarargs , ConstructVarargs ) \ <nl> - TFC ( ConstructWithSpread , ConstructWithSpread , 1 ) \ <nl> - TFC ( ConstructWithArrayLike , ConstructWithArrayLike , 1 ) \ <nl> + TFC ( ConstructWithSpread , ConstructWithSpread ) \ <nl> + TFC ( ConstructWithArrayLike , ConstructWithArrayLike ) \ <nl> ASM ( ConstructForwardVarargs , ConstructForwardVarargs ) \ <nl> ASM ( ConstructFunctionForwardVarargs , ConstructForwardVarargs ) \ <nl> ASM ( JSConstructStubGeneric , Dummy ) \ <nl> ASM ( JSBuiltinsConstructStub , Dummy ) \ <nl> - TFC ( FastNewObject , FastNewObject , 1 ) \ <nl> + TFC ( FastNewObject , FastNewObject ) \ <nl> TFS ( FastNewClosure , kSharedFunctionInfo , kFeedbackCell ) \ <nl> - TFC ( FastNewFunctionContextEval , FastNewFunctionContext , 1 ) \ <nl> - TFC ( FastNewFunctionContextFunction , FastNewFunctionContext , 1 ) \ <nl> + TFC ( FastNewFunctionContextEval , FastNewFunctionContext ) \ <nl> + TFC ( FastNewFunctionContextFunction , FastNewFunctionContext ) \ <nl> TFS ( CreateRegExpLiteral , kFeedbackVector , kSlot , kPattern , kFlags ) \ <nl> TFS ( CreateEmptyArrayLiteral , kFeedbackVector , kSlot ) \ <nl> TFS ( CreateShallowArrayLiteral , kFeedbackVector , kSlot , kConstantElements ) \ <nl> TFS ( CreateShallowObjectLiteral , kFeedbackVector , kSlot , \ <nl> kObjectBoilerplateDescription , kFlags ) \ <nl> / * ES6 section 9 . 5 . 14 [ [ Construct ] ] ( argumentsList , newTarget ) * / \ <nl> - TFC ( ConstructProxy , JSTrampoline , 1 ) \ <nl> + TFC ( ConstructProxy , JSTrampoline ) \ <nl> \ <nl> / * Apply and entries * / \ <nl> ASM ( JSEntry , Dummy ) \ <nl> namespace internal { <nl> ASM ( ResumeGeneratorTrampoline , ResumeGenerator ) \ <nl> \ <nl> / * String helpers * / \ <nl> - TFC ( StringCharAt , StringAt , 1 ) \ <nl> - TFC ( StringCodePointAtUTF16 , StringAt , 1 ) \ <nl> - TFC ( StringCodePointAtUTF32 , StringAt , 1 ) \ <nl> - TFC ( StringEqual , Compare , 1 ) \ <nl> - TFC ( StringGreaterThan , Compare , 1 ) \ <nl> - TFC ( StringGreaterThanOrEqual , Compare , 1 ) \ <nl> + TFC ( StringCharAt , StringAt ) \ <nl> + TFC ( StringCodePointAtUTF16 , StringAt ) \ <nl> + TFC ( StringCodePointAtUTF32 , StringAt ) \ <nl> + TFC ( StringEqual , Compare ) \ <nl> + TFC ( StringGreaterThan , Compare ) \ <nl> + TFC ( StringGreaterThanOrEqual , Compare ) \ <nl> TFS ( StringIndexOf , kReceiver , kSearchString , kPosition ) \ <nl> - TFC ( StringLessThan , Compare , 1 ) \ <nl> - TFC ( StringLessThanOrEqual , Compare , 1 ) \ <nl> + TFC ( StringLessThan , Compare ) \ <nl> + TFC ( StringLessThanOrEqual , Compare ) \ <nl> TFS ( StringRepeat , kString , kCount ) \ <nl> - TFC ( StringSubstring , StringSubstring , 1 ) \ <nl> + TFC ( StringSubstring , StringSubstring ) \ <nl> \ <nl> / * OrderedHashTable helpers * / \ <nl> TFS ( OrderedHashTableHealIndex , kTable , kIndex ) \ <nl> namespace internal { <nl> ASM ( InterpreterOnStackReplacement , ContextOnly ) \ <nl> \ <nl> / * Code life - cycle * / \ <nl> - TFC ( CompileLazy , JSTrampoline , 1 ) \ <nl> - TFC ( CompileLazyDeoptimizedCode , JSTrampoline , 1 ) \ <nl> + TFC ( CompileLazy , JSTrampoline ) \ <nl> + TFC ( CompileLazyDeoptimizedCode , JSTrampoline ) \ <nl> ASM ( InstantiateAsmJs , Dummy ) \ <nl> ASM ( NotifyDeoptimized , Dummy ) \ <nl> \ <nl> namespace internal { <nl> API ( HandleApiCallAsConstructor ) \ <nl> \ <nl> / * Adapters for Turbofan into runtime * / \ <nl> - TFC ( AllocateInNewSpace , Allocate , 1 ) \ <nl> - TFC ( AllocateInOldSpace , Allocate , 1 ) \ <nl> + TFC ( AllocateInNewSpace , Allocate ) \ <nl> + TFC ( AllocateInOldSpace , Allocate ) \ <nl> \ <nl> / * TurboFan support builtins * / \ <nl> TFS ( CopyFastSmiOrObjectElements , kObject ) \ <nl> - TFC ( GrowFastDoubleElements , GrowArrayElements , 1 ) \ <nl> - TFC ( GrowFastSmiOrObjectElements , GrowArrayElements , 1 ) \ <nl> - TFC ( NewArgumentsElements , NewArgumentsElements , 1 ) \ <nl> + TFC ( GrowFastDoubleElements , GrowArrayElements ) \ <nl> + TFC ( GrowFastSmiOrObjectElements , GrowArrayElements ) \ <nl> + TFC ( NewArgumentsElements , NewArgumentsElements ) \ <nl> \ <nl> / * Debugger * / \ <nl> TFJ ( DebugBreakTrampoline , SharedFunctionInfo : : kDontAdaptArgumentsSentinel ) \ <nl> namespace internal { <nl> ASM ( HandleDebuggerStatement , ContextOnly ) \ <nl> \ <nl> / * Type conversions * / \ <nl> - TFC ( ToObject , TypeConversion , 1 ) \ <nl> - TFC ( ToBoolean , TypeConversion , 1 ) \ <nl> - TFC ( OrdinaryToPrimitive_Number , TypeConversion , 1 ) \ <nl> - TFC ( OrdinaryToPrimitive_String , TypeConversion , 1 ) \ <nl> - TFC ( NonPrimitiveToPrimitive_Default , TypeConversion , 1 ) \ <nl> - TFC ( NonPrimitiveToPrimitive_Number , TypeConversion , 1 ) \ <nl> - TFC ( NonPrimitiveToPrimitive_String , TypeConversion , 1 ) \ <nl> - TFC ( StringToNumber , TypeConversion , 1 ) \ <nl> - TFC ( ToName , TypeConversion , 1 ) \ <nl> - TFC ( NonNumberToNumber , TypeConversion , 1 ) \ <nl> - TFC ( NonNumberToNumeric , TypeConversion , 1 ) \ <nl> - TFC ( ToNumber , TypeConversion , 1 ) \ <nl> - TFC ( ToNumberConvertBigInt , TypeConversion , 1 ) \ <nl> - TFC ( ToNumeric , TypeConversion , 1 ) \ <nl> - TFC ( NumberToString , TypeConversion , 1 ) \ <nl> - TFC ( ToString , TypeConversion , 1 ) \ <nl> - TFC ( ToInteger , TypeConversion , 1 ) \ <nl> - TFC ( ToInteger_TruncateMinusZero , TypeConversion , 1 ) \ <nl> - TFC ( ToLength , TypeConversion , 1 ) \ <nl> - TFC ( Typeof , Typeof , 1 ) \ <nl> - TFC ( GetSuperConstructor , Typeof , 1 ) \ <nl> - TFC ( BigIntToI64 , BigIntToI64 , 1 ) \ <nl> - TFC ( I64ToBigInt , BigIntToWasmI64 , 1 ) \ <nl> + TFC ( ToObject , TypeConversion ) \ <nl> + TFC ( ToBoolean , TypeConversion ) \ <nl> + TFC ( OrdinaryToPrimitive_Number , TypeConversion ) \ <nl> + TFC ( OrdinaryToPrimitive_String , TypeConversion ) \ <nl> + TFC ( NonPrimitiveToPrimitive_Default , TypeConversion ) \ <nl> + TFC ( NonPrimitiveToPrimitive_Number , TypeConversion ) \ <nl> + TFC ( NonPrimitiveToPrimitive_String , TypeConversion ) \ <nl> + TFC ( StringToNumber , TypeConversion ) \ <nl> + TFC ( ToName , TypeConversion ) \ <nl> + TFC ( NonNumberToNumber , TypeConversion ) \ <nl> + TFC ( NonNumberToNumeric , TypeConversion ) \ <nl> + TFC ( ToNumber , TypeConversion ) \ <nl> + TFC ( ToNumberConvertBigInt , TypeConversion ) \ <nl> + TFC ( ToNumeric , TypeConversion ) \ <nl> + TFC ( NumberToString , TypeConversion ) \ <nl> + TFC ( ToString , TypeConversion ) \ <nl> + TFC ( ToInteger , TypeConversion ) \ <nl> + TFC ( ToInteger_TruncateMinusZero , TypeConversion ) \ <nl> + TFC ( ToLength , TypeConversion ) \ <nl> + TFC ( Typeof , Typeof ) \ <nl> + TFC ( GetSuperConstructor , Typeof ) \ <nl> + TFC ( BigIntToI64 , BigIntToI64 ) \ <nl> + TFC ( I64ToBigInt , BigIntToWasmI64 ) \ <nl> \ <nl> / * Type conversions continuations * / \ <nl> - TFC ( ToBooleanLazyDeoptContinuation , TypeConversionStackParameter , 1 ) \ <nl> + TFC ( ToBooleanLazyDeoptContinuation , TypeConversionStackParameter ) \ <nl> \ <nl> / * Handlers * / \ <nl> TFH ( KeyedLoadIC_PolymorphicName , LoadWithVector ) \ <nl> namespace internal { <nl> / * Microtask helpers * / \ <nl> TFS ( EnqueueMicrotask , kMicrotask ) \ <nl> ASM ( RunMicrotasksTrampoline , RunMicrotasksEntry ) \ <nl> - TFC ( RunMicrotasks , RunMicrotasks , 1 ) \ <nl> + TFC ( RunMicrotasks , RunMicrotasks ) \ <nl> \ <nl> / * Object property helpers * / \ <nl> TFS ( HasProperty , kObject , kKey ) \ <nl> TFS ( DeleteProperty , kObject , kKey , kLanguageMode ) \ <nl> \ <nl> / * Abort * / \ <nl> - TFC ( Abort , Abort , 1 ) \ <nl> - TFC ( AbortJS , Abort , 1 ) \ <nl> + TFC ( Abort , Abort ) \ <nl> + TFC ( AbortJS , Abort ) \ <nl> \ <nl> / * Built - in functions for Javascript * / \ <nl> / * Special internal builtins * / \ <nl> namespace internal { <nl> TFJ ( ReturnReceiver , 0 , kReceiver ) \ <nl> \ <nl> / * Array * / \ <nl> - TFC ( ArrayConstructor , JSTrampoline , 1 ) \ <nl> - TFC ( ArrayConstructorImpl , ArrayConstructor , 1 ) \ <nl> + TFC ( ArrayConstructor , JSTrampoline ) \ <nl> + TFC ( ArrayConstructorImpl , ArrayConstructor ) \ <nl> TFC ( ArrayNoArgumentConstructor_PackedSmi_DontOverride , \ <nl> - ArrayNoArgumentConstructor , 1 ) \ <nl> + ArrayNoArgumentConstructor ) \ <nl> TFC ( ArrayNoArgumentConstructor_HoleySmi_DontOverride , \ <nl> - ArrayNoArgumentConstructor , 1 ) \ <nl> + ArrayNoArgumentConstructor ) \ <nl> TFC ( ArrayNoArgumentConstructor_PackedSmi_DisableAllocationSites , \ <nl> - ArrayNoArgumentConstructor , 1 ) \ <nl> + ArrayNoArgumentConstructor ) \ <nl> TFC ( ArrayNoArgumentConstructor_HoleySmi_DisableAllocationSites , \ <nl> - ArrayNoArgumentConstructor , 1 ) \ <nl> + ArrayNoArgumentConstructor ) \ <nl> TFC ( ArrayNoArgumentConstructor_Packed_DisableAllocationSites , \ <nl> - ArrayNoArgumentConstructor , 1 ) \ <nl> + ArrayNoArgumentConstructor ) \ <nl> TFC ( ArrayNoArgumentConstructor_Holey_DisableAllocationSites , \ <nl> - ArrayNoArgumentConstructor , 1 ) \ <nl> + ArrayNoArgumentConstructor ) \ <nl> TFC ( ArrayNoArgumentConstructor_PackedDouble_DisableAllocationSites , \ <nl> - ArrayNoArgumentConstructor , 1 ) \ <nl> + ArrayNoArgumentConstructor ) \ <nl> TFC ( ArrayNoArgumentConstructor_HoleyDouble_DisableAllocationSites , \ <nl> - ArrayNoArgumentConstructor , 1 ) \ <nl> + ArrayNoArgumentConstructor ) \ <nl> TFC ( ArraySingleArgumentConstructor_PackedSmi_DontOverride , \ <nl> - ArraySingleArgumentConstructor , 1 ) \ <nl> + ArraySingleArgumentConstructor ) \ <nl> TFC ( ArraySingleArgumentConstructor_HoleySmi_DontOverride , \ <nl> - ArraySingleArgumentConstructor , 1 ) \ <nl> + ArraySingleArgumentConstructor ) \ <nl> TFC ( ArraySingleArgumentConstructor_PackedSmi_DisableAllocationSites , \ <nl> - ArraySingleArgumentConstructor , 1 ) \ <nl> + ArraySingleArgumentConstructor ) \ <nl> TFC ( ArraySingleArgumentConstructor_HoleySmi_DisableAllocationSites , \ <nl> - ArraySingleArgumentConstructor , 1 ) \ <nl> + ArraySingleArgumentConstructor ) \ <nl> TFC ( ArraySingleArgumentConstructor_Packed_DisableAllocationSites , \ <nl> - ArraySingleArgumentConstructor , 1 ) \ <nl> + ArraySingleArgumentConstructor ) \ <nl> TFC ( ArraySingleArgumentConstructor_Holey_DisableAllocationSites , \ <nl> - ArraySingleArgumentConstructor , 1 ) \ <nl> + ArraySingleArgumentConstructor ) \ <nl> TFC ( ArraySingleArgumentConstructor_PackedDouble_DisableAllocationSites , \ <nl> - ArraySingleArgumentConstructor , 1 ) \ <nl> + ArraySingleArgumentConstructor ) \ <nl> TFC ( ArraySingleArgumentConstructor_HoleyDouble_DisableAllocationSites , \ <nl> - ArraySingleArgumentConstructor , 1 ) \ <nl> - TFC ( ArrayNArgumentsConstructor , ArrayNArgumentsConstructor , 1 ) \ <nl> + ArraySingleArgumentConstructor ) \ <nl> + TFC ( ArrayNArgumentsConstructor , ArrayNArgumentsConstructor ) \ <nl> ASM ( InternalArrayConstructor , JSTrampoline ) \ <nl> ASM ( InternalArrayConstructorImpl , JSTrampoline ) \ <nl> - TFC ( InternalArrayNoArgumentConstructor_Packed , ArrayNoArgumentConstructor , \ <nl> - 1 ) \ <nl> + TFC ( InternalArrayNoArgumentConstructor_Packed , ArrayNoArgumentConstructor ) \ <nl> CPP ( ArrayConcat ) \ <nl> / * ES6 # sec - array . isarray * / \ <nl> TFJ ( ArrayIsArray , 1 , kReceiver , kArg ) \ <nl> namespace internal { <nl> TFS ( AsyncFunctionEnter , kClosure , kReceiver ) \ <nl> TFS ( AsyncFunctionReject , kAsyncFunctionObject , kReason , kCanSuspend ) \ <nl> TFS ( AsyncFunctionResolve , kAsyncFunctionObject , kValue , kCanSuspend ) \ <nl> - TFC ( AsyncFunctionLazyDeoptContinuation , AsyncFunctionStackParameter , 1 ) \ <nl> + TFC ( AsyncFunctionLazyDeoptContinuation , AsyncFunctionStackParameter ) \ <nl> TFS ( AsyncFunctionAwaitCaught , kAsyncFunctionObject , kValue ) \ <nl> TFS ( AsyncFunctionAwaitUncaught , kAsyncFunctionObject , kValue ) \ <nl> TFJ ( AsyncFunctionAwaitRejectClosure , 1 , kReceiver , kSentError ) \ <nl> namespace internal { <nl> TFJ ( MathTrunc , 1 , kReceiver , kX ) \ <nl> \ <nl> / * Number * / \ <nl> - TFC ( AllocateHeapNumber , AllocateHeapNumber , 1 ) \ <nl> + TFC ( AllocateHeapNumber , AllocateHeapNumber ) \ <nl> / * ES # sec - number - constructor * / \ <nl> TFJ ( NumberConstructor , SharedFunctionInfo : : kDontAdaptArgumentsSentinel ) \ <nl> / * ES6 # sec - number . isfinite * / \ <nl> namespace internal { <nl> CPP ( NumberPrototypeToString ) \ <nl> / * ES6 # sec - number . prototype . valueof * / \ <nl> TFJ ( NumberPrototypeValueOf , 0 , kReceiver ) \ <nl> - TFC ( Add , BinaryOp , 1 ) \ <nl> - TFC ( Subtract , BinaryOp , 1 ) \ <nl> - TFC ( Multiply , BinaryOp , 1 ) \ <nl> - TFC ( Divide , BinaryOp , 1 ) \ <nl> - TFC ( Modulus , BinaryOp , 1 ) \ <nl> - TFC ( Exponentiate , BinaryOp , 1 ) \ <nl> - TFC ( BitwiseAnd , BinaryOp , 1 ) \ <nl> - TFC ( BitwiseOr , BinaryOp , 1 ) \ <nl> - TFC ( BitwiseXor , BinaryOp , 1 ) \ <nl> - TFC ( ShiftLeft , BinaryOp , 1 ) \ <nl> - TFC ( ShiftRight , BinaryOp , 1 ) \ <nl> - TFC ( ShiftRightLogical , BinaryOp , 1 ) \ <nl> - TFC ( LessThan , Compare , 1 ) \ <nl> - TFC ( LessThanOrEqual , Compare , 1 ) \ <nl> - TFC ( GreaterThan , Compare , 1 ) \ <nl> - TFC ( GreaterThanOrEqual , Compare , 1 ) \ <nl> - TFC ( Equal , Compare , 1 ) \ <nl> - TFC ( SameValue , Compare , 1 ) \ <nl> - TFC ( StrictEqual , Compare , 1 ) \ <nl> + TFC ( Add , BinaryOp ) \ <nl> + TFC ( Subtract , BinaryOp ) \ <nl> + TFC ( Multiply , BinaryOp ) \ <nl> + TFC ( Divide , BinaryOp ) \ <nl> + TFC ( Modulus , BinaryOp ) \ <nl> + TFC ( Exponentiate , BinaryOp ) \ <nl> + TFC ( BitwiseAnd , BinaryOp ) \ <nl> + TFC ( BitwiseOr , BinaryOp ) \ <nl> + TFC ( BitwiseXor , BinaryOp ) \ <nl> + TFC ( ShiftLeft , BinaryOp ) \ <nl> + TFC ( ShiftRight , BinaryOp ) \ <nl> + TFC ( ShiftRightLogical , BinaryOp ) \ <nl> + TFC ( LessThan , Compare ) \ <nl> + TFC ( LessThanOrEqual , Compare ) \ <nl> + TFC ( GreaterThan , Compare ) \ <nl> + TFC ( GreaterThanOrEqual , Compare ) \ <nl> + TFC ( Equal , Compare ) \ <nl> + TFC ( SameValue , Compare ) \ <nl> + TFC ( StrictEqual , Compare ) \ <nl> TFS ( BitwiseNot , kValue ) \ <nl> TFS ( Decrement , kValue ) \ <nl> TFS ( Increment , kValue ) \ <nl> namespace internal { <nl> TFJ ( ObjectValues , 1 , kReceiver , kObject ) \ <nl> \ <nl> / * instanceof * / \ <nl> - TFC ( OrdinaryHasInstance , Compare , 1 ) \ <nl> - TFC ( InstanceOf , Compare , 1 ) \ <nl> + TFC ( OrdinaryHasInstance , Compare ) \ <nl> + TFC ( InstanceOf , Compare ) \ <nl> \ <nl> / * for - in * / \ <nl> TFS ( ForInEnumerate , kReceiver ) \ <nl> namespace internal { <nl> \ <nl> / * Wasm * / \ <nl> ASM ( WasmCompileLazy , Dummy ) \ <nl> - TFC ( WasmAllocateHeapNumber , AllocateHeapNumber , 1 ) \ <nl> - TFC ( WasmAtomicWake , WasmAtomicWake , 1 ) \ <nl> - TFC ( WasmI32AtomicWait , WasmI32AtomicWait , 1 ) \ <nl> - TFC ( WasmI64AtomicWait , WasmI64AtomicWait , 1 ) \ <nl> - TFC ( WasmCallJavaScript , CallTrampoline , 1 ) \ <nl> - TFC ( WasmMemoryGrow , WasmMemoryGrow , 1 ) \ <nl> - TFC ( WasmRecordWrite , RecordWrite , 1 ) \ <nl> - TFC ( WasmStackGuard , NoContext , 1 ) \ <nl> - TFC ( WasmStackOverflow , NoContext , 1 ) \ <nl> - TFC ( WasmToNumber , TypeConversion , 1 ) \ <nl> - TFC ( WasmThrow , WasmThrow , 1 ) \ <nl> + TFC ( WasmAllocateHeapNumber , AllocateHeapNumber ) \ <nl> + TFC ( WasmAtomicWake , WasmAtomicWake ) \ <nl> + TFC ( WasmI32AtomicWait , WasmI32AtomicWait ) \ <nl> + TFC ( WasmI64AtomicWait , WasmI64AtomicWait ) \ <nl> + TFC ( WasmCallJavaScript , CallTrampoline ) \ <nl> + TFC ( WasmMemoryGrow , WasmMemoryGrow ) \ <nl> + TFC ( WasmRecordWrite , RecordWrite ) \ <nl> + TFC ( WasmStackGuard , NoContext ) \ <nl> + TFC ( WasmStackOverflow , NoContext ) \ <nl> + TFC ( WasmToNumber , TypeConversion ) \ <nl> + TFC ( WasmThrow , WasmThrow ) \ <nl> TFS ( ThrowWasmTrapUnreachable ) \ <nl> TFS ( ThrowWasmTrapMemOutOfBounds ) \ <nl> TFS ( ThrowWasmTrapUnalignedAccess ) \ <nl> namespace internal { <nl> TFS ( ThrowWasmTrapDataSegmentDropped ) \ <nl> TFS ( ThrowWasmTrapElemSegmentDropped ) \ <nl> TFS ( ThrowWasmTrapTableOutOfBounds ) \ <nl> - TFC ( BigIntToWasmI64 , BigIntToWasmI64 , 1 ) \ <nl> - TFC ( WasmBigIntToI64 , BigIntToI64 , 1 ) \ <nl> + TFC ( BigIntToWasmI64 , BigIntToWasmI64 ) \ <nl> + TFC ( WasmBigIntToI64 , BigIntToI64 ) \ <nl> \ <nl> / * WeakMap * / \ <nl> TFJ ( WeakMapConstructor , SharedFunctionInfo : : kDontAdaptArgumentsSentinel ) \ <nl> namespace internal { <nl> / * Miscellaneous * / \ <nl> ASM ( StackCheck , Dummy ) \ <nl> ASM ( DoubleToI , Dummy ) \ <nl> - TFC ( GetProperty , GetProperty , 1 ) \ <nl> + TFC ( GetProperty , GetProperty ) \ <nl> TFS ( SetProperty , kReceiver , kKey , kValue ) \ <nl> TFS ( SetPropertyInLiteral , kReceiver , kKey , kValue ) \ <nl> ASM ( MemCopyUint8Uint8 , CCall ) \ <nl> mmm a / src / builtins / builtins - descriptors . h <nl> ppp b / src / builtins / builtins - descriptors . h <nl> namespace internal { <nl> } ; <nl> <nl> / / Define interface descriptors for builtins with StubCall linkage . <nl> - # define DEFINE_TFC_INTERFACE_DESCRIPTOR ( Name , InterfaceDescriptor , \ <nl> - result_size ) \ <nl> + # define DEFINE_TFC_INTERFACE_DESCRIPTOR ( Name , InterfaceDescriptor ) \ <nl> typedef InterfaceDescriptor # # Descriptor Builtin_ # # Name # # _InterfaceDescriptor ; <nl> <nl> # define DEFINE_TFS_INTERFACE_DESCRIPTOR ( Name , . . . ) \ <nl> mmm a / src / builtins / setup - builtins - internal . cc <nl> ppp b / src / builtins / setup - builtins - internal . cc <nl> Code BuildWithCodeStubAssemblerJS ( Isolate * isolate , int32_t builtin_index , <nl> Code BuildWithCodeStubAssemblerCS ( Isolate * isolate , int32_t builtin_index , <nl> CodeAssemblerGenerator generator , <nl> CallDescriptors : : Key interface_descriptor , <nl> - const char * name , int result_size ) { <nl> + const char * name ) { <nl> HandleScope scope ( isolate ) ; <nl> / / Canonicalize handles , so that we can share constant pool entries pointing <nl> / / to code targets without dereferencing their handles . <nl> Code BuildWithCodeStubAssemblerCS ( Isolate * isolate , int32_t builtin_index , <nl> / / and this construction just queries the details from the descriptors table . <nl> CallInterfaceDescriptor descriptor ( interface_descriptor ) ; <nl> / / Ensure descriptor is already initialized . <nl> - DCHECK_EQ ( result_size , descriptor . GetReturnCount ( ) ) ; <nl> DCHECK_LE ( 0 , descriptor . GetRegisterParameterCount ( ) ) ; <nl> compiler : : CodeAssemblerState state ( <nl> isolate , & zone , descriptor , Code : : BUILTIN , name , <nl> void SetupIsolateDelegate : : SetupBuiltinsInternal ( Isolate * isolate ) { <nl> code = BuildWithCodeStubAssemblerJS ( \ <nl> isolate , index , & Builtins : : Generate_ # # Name , Argc , # Name ) ; \ <nl> AddBuiltin ( builtins , index + + , code ) ; <nl> - # define BUILD_TFC ( Name , InterfaceDescriptor , result_size ) \ <nl> - code = BuildWithCodeStubAssemblerCS ( \ <nl> - isolate , index , & Builtins : : Generate_ # # Name , \ <nl> - CallDescriptors : : InterfaceDescriptor , # Name , result_size ) ; \ <nl> + # define BUILD_TFC ( Name , InterfaceDescriptor ) \ <nl> + / * Return size is from the provided CallInterfaceDescriptor . * / \ <nl> + code = BuildWithCodeStubAssemblerCS ( \ <nl> + isolate , index , & Builtins : : Generate_ # # Name , \ <nl> + CallDescriptors : : InterfaceDescriptor , # Name ) ; \ <nl> AddBuiltin ( builtins , index + + , code ) ; <nl> # define BUILD_TFS ( Name , . . . ) \ <nl> / * Return size for generic TF builtins ( stub linkage ) is always 1 . * / \ <nl> code = \ <nl> BuildWithCodeStubAssemblerCS ( isolate , index , & Builtins : : Generate_ # # Name , \ <nl> - CallDescriptors : : Name , # Name , 1 ) ; \ <nl> + CallDescriptors : : Name , # Name ) ; \ <nl> AddBuiltin ( builtins , index + + , code ) ; <nl> - # define BUILD_TFH ( Name , InterfaceDescriptor ) \ <nl> - / * Return size for IC builtins / handlers is always 1 . * / \ <nl> - code = BuildWithCodeStubAssemblerCS ( \ <nl> - isolate , index , & Builtins : : Generate_ # # Name , \ <nl> - CallDescriptors : : InterfaceDescriptor , # Name , 1 ) ; \ <nl> + # define BUILD_TFH ( Name , InterfaceDescriptor ) \ <nl> + / * Return size for IC builtins / handlers is always 1 . * / \ <nl> + code = BuildWithCodeStubAssemblerCS ( \ <nl> + isolate , index , & Builtins : : Generate_ # # Name , \ <nl> + CallDescriptors : : InterfaceDescriptor , # Name ) ; \ <nl> AddBuiltin ( builtins , index + + , code ) ; <nl> <nl> # define BUILD_BCH ( Name , OperandScale , Bytecode ) \ <nl>
Simplify TFC builtins definitions
v8/v8
722c4c83342ec849229f89163a058a75f75f8e83
2019-03-04T13:36:02Z
mmm a / tensorflow / compiler / xla / tests / hlo_test_base . cc <nl> ppp b / tensorflow / compiler / xla / tests / hlo_test_base . cc <nl> : : testing : : AssertionResult HloTestBase : : RunAndCompareNoHloPasses ( <nl> reference_preprocessor ) ; <nl> } <nl> <nl> + : : testing : : AssertionResult HloTestBase : : Run ( std : : unique_ptr < HloModule > module , <nl> + bool run_hlo_passes ) { <nl> + const auto fake_arguments = <nl> + MakeFakeArguments ( module . get ( ) ) . ConsumeValueOrDie ( ) ; <nl> + const auto change = hlo_verifier_ - > Run ( module . get ( ) ) ; <nl> + if ( ! change . ok ( ) ) { <nl> + return : : testing : : AssertionFailure ( ) < < change . status ( ) ; <nl> + } <nl> + <nl> + const auto output = <nl> + test_runner_ . Execute ( std : : move ( module ) , fake_arguments , run_hlo_passes ) ; <nl> + return output . ok ( ) <nl> + ? : : testing : : AssertionSuccess ( ) <nl> + : : : testing : : AssertionFailure ( ) < < output . status ( ) . error_message ( ) ; <nl> + } <nl> + <nl> : : testing : : AssertionResult HloTestBase : : RunAndCompare ( <nl> string_view hlo_string , const absl : : optional < ErrorSpec > & error , <nl> const std : : function < void ( HloModule * ) > & reference_preprocessor ) { <nl> mmm a / tensorflow / compiler / xla / tests / hlo_test_base . h <nl> ppp b / tensorflow / compiler / xla / tests / hlo_test_base . h <nl> class HloTestBase : public : : testing : : Test { <nl> const std : : function < void ( HloModule * ) > & reference_preprocessor = nullptr ) <nl> TF_MUST_USE_RESULT ; <nl> <nl> + / / Executes an hlo module with fake inputs and checks that the execution is <nl> + / / successful . <nl> + : : testing : : AssertionResult Run ( std : : unique_ptr < HloModule > module , <nl> + bool run_hlo_passes ) TF_MUST_USE_RESULT ; <nl> + <nl> / / Convenient wrappers for executing and comparing an hlo module with fake <nl> / / input . Module can be passed in directly , or parsed from an hlo_string , <nl> / / or loaded from a file . <nl>
Add HloTestBase : : Run function that takes HloModule .
tensorflow/tensorflow
568f90e6c1b41f4f57dbb574cd998cdc0ca57734
2020-03-26T17:51:15Z
mmm a / include / rapidjson / document . h <nl> ppp b / include / rapidjson / document . h <nl> class GenericValue { <nl> MemberIterator pos = MemberBegin ( ) + ( first - MemberBegin ( ) ) ; <nl> for ( MemberIterator itr = pos ; itr ! = last ; + + itr ) <nl> itr - > ~ Member ( ) ; <nl> - std : : memmove ( & * pos , & * last , static_cast < size_t > ( MemberEnd ( ) - last ) * sizeof ( Member ) ) ; <nl> + std : : memmove ( static_cast < void * > ( & * pos ) , & * last , static_cast < size_t > ( MemberEnd ( ) - last ) * sizeof ( Member ) ) ; <nl> data_ . o . size - = static_cast < SizeType > ( last - first ) ; <nl> return pos ; <nl> } <nl> class GenericValue { <nl> RAPIDJSON_ASSERT ( last < = End ( ) ) ; <nl> ValueIterator pos = Begin ( ) + ( first - Begin ( ) ) ; <nl> for ( ValueIterator itr = pos ; itr ! = last ; + + itr ) <nl> - itr - > ~ GenericValue ( ) ; <nl> - std : : memmove ( pos , last , static_cast < size_t > ( End ( ) - last ) * sizeof ( GenericValue ) ) ; <nl> + itr - > ~ GenericValue ( ) ; <nl> + std : : memmove ( static_cast < void * > ( pos ) , last , static_cast < size_t > ( End ( ) - last ) * sizeof ( GenericValue ) ) ; <nl> data_ . a . size - = static_cast < SizeType > ( last - first ) ; <nl> return pos ; <nl> } <nl> class GenericValue { <nl> if ( count ) { <nl> GenericValue * e = static_cast < GenericValue * > ( allocator . Malloc ( count * sizeof ( GenericValue ) ) ) ; <nl> SetElementsPointer ( e ) ; <nl> - RAPIDJSON_DIAG_PUSH <nl> - # if defined ( __GNUC__ ) & & __GNUC__ > = 8 <nl> - RAPIDJSON_DIAG_OFF ( class - memaccess ) / / ignore complains from gcc that no trivial copy constructor exists . <nl> - # endif <nl> - std : : memcpy ( e , values , count * sizeof ( GenericValue ) ) ; <nl> - RAPIDJSON_DIAG_POP <nl> + std : : memcpy ( static_cast < void * > ( e ) , values , count * sizeof ( GenericValue ) ) ; <nl> } <nl> else <nl> SetElementsPointer ( 0 ) ; <nl> RAPIDJSON_DIAG_POP <nl> if ( count ) { <nl> Member * m = static_cast < Member * > ( allocator . Malloc ( count * sizeof ( Member ) ) ) ; <nl> SetMembersPointer ( m ) ; <nl> - RAPIDJSON_DIAG_PUSH <nl> - # if defined ( __GNUC__ ) & & __GNUC__ > = 8 <nl> - RAPIDJSON_DIAG_OFF ( class - memaccess ) / / ignore complains from gcc that no trivial copy constructor exists . <nl> - # endif <nl> - std : : memcpy ( m , members , count * sizeof ( Member ) ) ; <nl> - RAPIDJSON_DIAG_POP <nl> + std : : memcpy ( static_cast < void * > ( m ) , members , count * sizeof ( Member ) ) ; <nl> } <nl> else <nl> SetMembersPointer ( 0 ) ; <nl> mmm a / include / rapidjson / schema . h <nl> ppp b / include / rapidjson / schema . h <nl> class Schema { <nl> enum_ = static_cast < uint64_t * > ( allocator_ - > Malloc ( sizeof ( uint64_t ) * v - > Size ( ) ) ) ; <nl> for ( ConstValueIterator itr = v - > Begin ( ) ; itr ! = v - > End ( ) ; + + itr ) { <nl> typedef Hasher < EncodingType , MemoryPoolAllocator < > > EnumHasherType ; <nl> - char buffer [ 256 + 24 ] ; <nl> + char buffer [ 256u + 24 ] ; <nl> MemoryPoolAllocator < > hasherAllocator ( buffer , sizeof ( buffer ) ) ; <nl> EnumHasherType h ( & hasherAllocator , 256 ) ; <nl> itr - > Accept ( h ) ; <nl> mmm a / test / perftest / schematest . cpp <nl> ppp b / test / perftest / schematest . cpp <nl> <nl> <nl> using namespace rapidjson ; <nl> <nl> + RAPIDJSON_DIAG_PUSH <nl> + # if defined ( __GNUC__ ) & & __GNUC__ > = 7 <nl> + RAPIDJSON_DIAG_OFF ( format - overflow ) <nl> + # endif <nl> + <nl> template < typename Allocator > <nl> static char * ReadFile ( const char * filename , Allocator & allocator ) { <nl> const char * paths [ ] = { <nl> static char * ReadFile ( const char * filename , Allocator & allocator ) { <nl> return json ; <nl> } <nl> <nl> + RAPIDJSON_DIAG_POP <nl> + <nl> class Schema : public PerfTest { <nl> public : <nl> Schema ( ) { } <nl> mmm a / test / unittest / schematest . cpp <nl> ppp b / test / unittest / schematest . cpp <nl> class RemoteSchemaDocumentProvider : public IGenericRemoteSchemaDocumentProvider <nl> typename DocumentType : : AllocatorType documentAllocator_ ; <nl> typename SchemaDocumentType : : AllocatorType schemaAllocator_ ; <nl> char documentBuffer_ [ 16384 ] ; <nl> - char schemaBuffer_ [ 128 * 1024 ] ; <nl> + char schemaBuffer_ [ 128u * 1024 ] ; <nl> } ; <nl> <nl> TEST ( SchemaValidator , TestSuite ) { <nl> mmm a / test / unittest / simdtest . cpp <nl> ppp b / test / unittest / simdtest . cpp <nl> struct ScanCopyUnescapedStringHandler : BaseReaderHandler < UTF8 < > , ScanCopyUnesca <nl> <nl> template < unsigned parseFlags , typename StreamType > <nl> void TestScanCopyUnescapedString ( ) { <nl> - char buffer [ 1024 + 5 + 32 ] ; <nl> - char backup [ 1024 + 5 + 32 ] ; <nl> + char buffer [ 1024u + 5 + 32 ] ; <nl> + char backup [ 1024u + 5 + 32 ] ; <nl> <nl> / / Test " ABCDABCD . . . \ \ " <nl> for ( size_t offset = 0 ; offset < 32 ; offset + + ) { <nl>
Merge pull request from pah / fix - memaccess
Tencent/rapidjson
2bbd33b33217ff4a73434ebf10cdac41e2ef5e34
2018-07-16T04:22:46Z
mmm a / src / wasm / wasm - interpreter . cc <nl> ppp b / src / wasm / wasm - interpreter . cc <nl> class SideTable : public ZoneObject { <nl> stack_height = c - > end_label - > target_stack_height + kCatchInArity ; <nl> break ; <nl> } <nl> + case kExprBrOnExn : { <nl> + BranchOnExceptionImmediate < Decoder : : kNoValidate > imm ( & i , i . pc ( ) ) ; <nl> + uint32_t depth = imm . depth . depth ; / / Extracted for convenience . <nl> + imm . index . exception = & module - > exceptions [ imm . index . index ] ; <nl> + DCHECK_EQ ( 0 , imm . index . exception - > sig - > return_count ( ) ) ; <nl> + size_t params = imm . index . exception - > sig - > parameter_count ( ) ; <nl> + / / Taken branches pop the exception and push the encoded values . <nl> + uint32_t height = stack_height - 1 + static_cast < uint32_t > ( params ) ; <nl> + TRACE ( " control @ % u : BrOnExn [ depth = % u ] \ n " , i . pc_offset ( ) , depth ) ; <nl> + Control * c = & control_stack [ control_stack . size ( ) - depth - 1 ] ; <nl> + if ( ! unreachable ) c - > end_label - > Ref ( i . pc ( ) , height ) ; <nl> + break ; <nl> + } <nl> case kExprEnd : { <nl> Control * c = & control_stack . back ( ) ; <nl> TRACE ( " control @ % u : End \ n " , i . pc_offset ( ) ) ; <nl> class ThreadImpl { <nl> InterpreterCode * code = frame . code ; <nl> if ( code - > side_table - > HasEntryAt ( frame . pc ) ) { <nl> TRACE ( " mmm - - HANDLE mmm - - \ n " ) ; <nl> - / / TODO ( mstarzinger ) : Push a reference to the pending exception instead <nl> - / / of a bogus { int32_t ( 0 ) } value here once the interpreter supports it . <nl> - USE ( isolate - > pending_exception ( ) ) ; <nl> - Push ( WasmValue ( int32_t { 0 } ) ) ; <nl> + Push ( WasmValue ( handle ( isolate - > pending_exception ( ) , isolate ) ) ) ; <nl> isolate - > clear_pending_exception ( ) ; <nl> frame . pc + = JumpToHandlerDelta ( code , frame . pc ) ; <nl> TRACE ( " = > handler # % zu ( # % u @ % zu ) \ n " , frames_ . size ( ) - 1 , <nl> class ThreadImpl { <nl> <nl> CodeMap * codemap_ ; <nl> Handle < WasmInstanceObject > instance_object_ ; <nl> + / / TODO ( mstarzinger ) : The operand stack will need to be changed so that the <nl> + / / value lifetime of { WasmValue } is not coupled to a { HandleScope } . <nl> std : : unique_ptr < WasmValue [ ] > stack_ ; <nl> WasmValue * stack_limit_ = nullptr ; / / End of allocated stack space . <nl> WasmValue * sp_ = nullptr ; / / Current stack pointer . <nl> class ThreadImpl { <nl> break ; <nl> WASM_CTYPES ( CASE_TYPE ) <nl> # undef CASE_TYPE <nl> + case kWasmAnyRef : <nl> + case kWasmAnyFunc : <nl> + case kWasmExceptRef : { <nl> + Isolate * isolate = instance_object_ - > GetIsolate ( ) ; <nl> + val = WasmValue ( isolate - > factory ( ) - > null_value ( ) ) ; <nl> + break ; <nl> + } <nl> default : <nl> UNREACHABLE ( ) ; <nl> break ; <nl> class ThreadImpl { <nl> <nl> / / Throw a given existing exception . Returns true if the exception is being <nl> / / handled locally by the interpreter , false otherwise ( interpreter exits ) . <nl> - bool DoRethrowException ( WasmValue * exception ) { <nl> + bool DoRethrowException ( WasmValue exception ) { <nl> Isolate * isolate = instance_object_ - > GetIsolate ( ) ; <nl> - / / TODO ( mstarzinger ) : Use the passed { exception } here once reference types <nl> - / / as values on the operand stack are supported by the interpreter . <nl> - isolate - > ReThrow ( * isolate - > factory ( ) - > undefined_value ( ) ) ; <nl> + isolate - > ReThrow ( * exception . to_anyref ( ) ) ; <nl> return HandleException ( isolate ) = = WasmInterpreter : : Thread : : HANDLED ; <nl> } <nl> <nl> + / / Determines whether the given exception has a tag matching the expected tag <nl> + / / for the given index within the exception table of the current instance . <nl> + bool MatchingExceptionTag ( Handle < Object > exception_object , uint32_t index ) { <nl> + Isolate * isolate = instance_object_ - > GetIsolate ( ) ; <nl> + Handle < Object > caught_tag = <nl> + WasmExceptionPackage : : GetExceptionTag ( isolate , exception_object ) ; <nl> + Handle < Object > expected_tag = <nl> + handle ( instance_object_ - > exceptions_table ( ) - > get ( index ) , isolate ) ; <nl> + DCHECK ( expected_tag - > IsWasmExceptionTag ( ) ) ; <nl> + return expected_tag . is_identical_to ( caught_tag ) ; <nl> + } <nl> + <nl> + void DecodeI32ExceptionValue ( Handle < FixedArray > encoded_values , <nl> + uint32_t * encoded_index , uint32_t * value ) { <nl> + uint32_t msb = Smi : : cast ( encoded_values - > get ( ( * encoded_index ) + + ) ) . value ( ) ; <nl> + uint32_t lsb = Smi : : cast ( encoded_values - > get ( ( * encoded_index ) + + ) ) . value ( ) ; <nl> + * value = ( msb < < 16 ) | ( lsb & 0xffff ) ; <nl> + } <nl> + <nl> + void DecodeI64ExceptionValue ( Handle < FixedArray > encoded_values , <nl> + uint32_t * encoded_index , uint64_t * value ) { <nl> + uint32_t lsb = 0 , msb = 0 ; <nl> + DecodeI32ExceptionValue ( encoded_values , encoded_index , & msb ) ; <nl> + DecodeI32ExceptionValue ( encoded_values , encoded_index , & lsb ) ; <nl> + * value = ( static_cast < uint64_t > ( msb ) < < 32 ) | static_cast < uint64_t > ( lsb ) ; <nl> + } <nl> + <nl> + / / Unpack the values encoded in the given exception . The exception values are <nl> + / / pushed onto the operand stack . Callers must perform a tag check to ensure <nl> + / / the encoded values match the expected signature of the exception . <nl> + void DoUnpackException ( const WasmException * exception , <nl> + Handle < Object > exception_object ) { <nl> + Isolate * isolate = instance_object_ - > GetIsolate ( ) ; <nl> + Handle < FixedArray > encoded_values = Handle < FixedArray > : : cast ( <nl> + WasmExceptionPackage : : GetExceptionValues ( isolate , exception_object ) ) ; <nl> + / / Decode the exception values from the given exception package and push <nl> + / / them onto the operand stack . This encoding has to be in sync with other <nl> + / / backends so that exceptions can be passed between them . <nl> + const WasmExceptionSig * sig = exception - > sig ; <nl> + uint32_t encoded_index = 0 ; <nl> + for ( size_t i = 0 ; i < sig - > parameter_count ( ) ; + + i ) { <nl> + WasmValue value ; <nl> + switch ( sig - > GetParam ( i ) ) { <nl> + case kWasmI32 : { <nl> + uint32_t u32 = 0 ; <nl> + DecodeI32ExceptionValue ( encoded_values , & encoded_index , & u32 ) ; <nl> + value = WasmValue ( u32 ) ; <nl> + break ; <nl> + } <nl> + case kWasmF32 : { <nl> + uint32_t f32_bits = 0 ; <nl> + DecodeI32ExceptionValue ( encoded_values , & encoded_index , & f32_bits ) ; <nl> + value = WasmValue ( Float32 : : FromBits ( f32_bits ) ) ; <nl> + break ; <nl> + } <nl> + case kWasmI64 : { <nl> + uint64_t u64 = 0 ; <nl> + DecodeI64ExceptionValue ( encoded_values , & encoded_index , & u64 ) ; <nl> + value = WasmValue ( u64 ) ; <nl> + break ; <nl> + } <nl> + case kWasmF64 : { <nl> + uint64_t f64_bits = 0 ; <nl> + DecodeI64ExceptionValue ( encoded_values , & encoded_index , & f64_bits ) ; <nl> + value = WasmValue ( Float64 : : FromBits ( f64_bits ) ) ; <nl> + break ; <nl> + } <nl> + case kWasmAnyRef : <nl> + UNIMPLEMENTED ( ) ; <nl> + break ; <nl> + default : <nl> + UNREACHABLE ( ) ; <nl> + } <nl> + Push ( value ) ; <nl> + } <nl> + DCHECK_EQ ( WasmExceptionPackage : : GetEncodedSize ( exception ) , encoded_index ) ; <nl> + } <nl> + <nl> void Execute ( InterpreterCode * code , pc_t pc , int max ) { <nl> DCHECK_NOT_NULL ( code - > side_table ) ; <nl> DCHECK ( ! frames_ . empty ( ) ) ; <nl> class ThreadImpl { <nl> case kExprRethrow : { <nl> WasmValue ex = Pop ( ) ; <nl> CommitPc ( pc ) ; / / Needed for local unwinding . <nl> - if ( ! DoRethrowException ( & ex ) ) return ; <nl> + if ( ! DoRethrowException ( ex ) ) return ; <nl> ReloadFromFrameOnException ( & decoder , & code , & pc , & limit ) ; <nl> continue ; / / Do not bump pc . <nl> } <nl> + case kExprBrOnExn : { <nl> + BranchOnExceptionImmediate < Decoder : : kNoValidate > imm ( & decoder , <nl> + code - > at ( pc ) ) ; <nl> + WasmValue ex = Pop ( ) ; <nl> + Handle < Object > exception = ex . to_anyref ( ) ; <nl> + if ( MatchingExceptionTag ( exception , imm . index . index ) ) { <nl> + imm . index . exception = & module ( ) - > exceptions [ imm . index . index ] ; <nl> + DoUnpackException ( imm . index . exception , exception ) ; <nl> + len = DoBreak ( code , pc , imm . depth . depth ) ; <nl> + TRACE ( " match = > @ % zu \ n " , pc + len ) ; <nl> + } else { <nl> + Push ( ex ) ; / / Exception remains on stack . <nl> + TRACE ( " false = > fallthrough \ n " ) ; <nl> + len = 1 + imm . length ; <nl> + } <nl> + break ; <nl> + } <nl> case kExprSelect : { <nl> WasmValue cond = Pop ( ) ; <nl> WasmValue fval = Pop ( ) ; <nl> class ThreadImpl { <nl> len = 1 + imm . length ; <nl> break ; <nl> } <nl> + case kExprRefNull : { <nl> + Isolate * isolate = instance_object_ - > GetIsolate ( ) ; <nl> + Push ( WasmValue ( isolate - > factory ( ) - > null_value ( ) ) ) ; <nl> + break ; <nl> + } <nl> case kExprGetLocal : { <nl> LocalIndexImmediate < Decoder : : kNoValidate > imm ( & decoder , code - > at ( pc ) ) ; <nl> Push ( GetStackValue ( frames_ . back ( ) . sp + imm . index ) ) ; <nl> class ThreadImpl { <nl> SIGN_EXTENSION_CASE ( I64SExtendI16 , int64_t , int16_t ) ; <nl> SIGN_EXTENSION_CASE ( I64SExtendI32 , int64_t , int32_t ) ; <nl> # undef SIGN_EXTENSION_CASE <nl> + case kExprRefIsNull : { <nl> + uint32_t result = Pop ( ) . to_anyref ( ) - > IsNull ( ) ? 1 : 0 ; <nl> + Push ( WasmValue ( result ) ) ; <nl> + break ; <nl> + } <nl> case kNumericPrefix : { <nl> + + len ; <nl> if ( ! ExecuteNumericOp ( opcode , & decoder , code , pc , len ) ) return ; <nl> class ThreadImpl { <nl> PrintF ( " i32x4 : % d % d % d % d " , s . val [ 0 ] , s . val [ 1 ] , s . val [ 2 ] , s . val [ 3 ] ) ; <nl> break ; <nl> } <nl> + case kWasmAnyRef : { <nl> + Handle < Object > ref = val . to_anyref ( ) ; <nl> + if ( ref - > IsNull ( ) ) { <nl> + PrintF ( " ref : null " ) ; <nl> + } else { <nl> + PrintF ( " ref : 0x % " V8PRIxPTR , ref - > ptr ( ) ) ; <nl> + } <nl> + break ; <nl> + } <nl> case kWasmStmt : <nl> PrintF ( " void " ) ; <nl> break ; <nl> mmm a / src / wasm / wasm - value . h <nl> ppp b / src / wasm / wasm - value . h <nl> <nl> # define V8_WASM_WASM_VALUE_H_ <nl> <nl> # include " src / boxed - float . h " <nl> + # include " src / handles . h " <nl> # include " src / v8memory . h " <nl> # include " src / wasm / wasm - opcodes . h " <nl> # include " src / zone / zone - containers . h " <nl> class Simd128 { <nl> V ( f32_boxed , kWasmF32 , Float32 ) \ <nl> V ( f64 , kWasmF64 , double ) \ <nl> V ( f64_boxed , kWasmF64 , Float64 ) \ <nl> - V ( s128 , kWasmS128 , Simd128 ) <nl> + V ( s128 , kWasmS128 , Simd128 ) \ <nl> + V ( anyref , kWasmAnyRef , Handle < Object > ) <nl> + <nl> + ASSERT_TRIVIALLY_COPYABLE ( Handle < Object > ) ; <nl> <nl> / / A wasm value with type information . <nl> class WasmValue { <nl> mmm a / test / cctest / wasm / test - run - wasm - interpreter . cc <nl> ppp b / test / cctest / wasm / test - run - wasm - interpreter . cc <nl> TEST ( MemoryGrowInvalidSize ) { <nl> CHECK_EQ ( - 1 , r . Call ( 1048575 ) ) ; <nl> } <nl> <nl> + TEST ( ReferenceTypeLocals ) { <nl> + { <nl> + WasmRunner < int32_t > r ( ExecutionTier : : kInterpreter ) ; <nl> + BUILD ( r , WASM_REF_IS_NULL ( WASM_REF_NULL ) ) ; <nl> + CHECK_EQ ( 1 , r . Call ( ) ) ; <nl> + } <nl> + { <nl> + WasmRunner < int32_t > r ( ExecutionTier : : kInterpreter ) ; <nl> + r . AllocateLocal ( kWasmAnyRef ) ; <nl> + BUILD ( r , WASM_REF_IS_NULL ( WASM_GET_LOCAL ( 0 ) ) ) ; <nl> + CHECK_EQ ( 1 , r . Call ( ) ) ; <nl> + } <nl> + / / TODO ( mstarzinger ) : Test and support global anyref variables . <nl> + } <nl> + <nl> TEST ( TestPossibleNondeterminism ) { <nl> { <nl> WasmRunner < int32_t , float > r ( ExecutionTier : : kInterpreter ) ; <nl> mmm a / test / common / wasm / wasm - macro - gen . h <nl> ppp b / test / common / wasm / wasm - macro - gen . h <nl> inline WasmOpcode LoadStoreOpcodeOf ( MachineType type , bool store ) { <nl> static_cast < byte > ( bit_cast < uint64_t > ( static_cast < double > ( val ) ) > > 56 ) <nl> <nl> # define WASM_REF_NULL kExprRefNull <nl> + # define WASM_REF_IS_NULL ( val ) val , kExprRefIsNull <nl> <nl> # define WASM_GET_LOCAL ( index ) kExprGetLocal , static_cast < byte > ( index ) <nl> # define WASM_SET_LOCAL ( index , val ) val , kExprSetLocal , static_cast < byte > ( index ) <nl>
[ wasm ] Add support for " br_on_exn " in the interpreter .
v8/v8
46a99b07fc054b3457becfec3b575940ca70cd2b
2019-04-03T12:16:36Z
mmm a / src / video_core / shader / node . h <nl> ppp b / src / video_core / shader / node . h <nl> class OperationNode final { <nl> explicit OperationNode ( OperationCode code ) : OperationNode ( code , Meta { } ) { } <nl> <nl> explicit OperationNode ( OperationCode code , Meta meta ) <nl> - : OperationNode ( code , meta , std : : vector < Node > { } ) { } <nl> + : OperationNode ( code , std : : move ( meta ) , std : : vector < Node > { } ) { } <nl> <nl> explicit OperationNode ( OperationCode code , std : : vector < Node > operands ) <nl> : OperationNode ( code , Meta { } , std : : move ( operands ) ) { } <nl>
shader / node : std : : move Meta instance within OperationNode constructor
yuzu-emu/yuzu
67658dd6e84ca0ee04cdfd761aa1a7f5ac96cd42
2019-10-15T22:21:59Z
mmm a / ios / sdk / WeexSDK / Sources / Monitor / WXMonitor . m <nl> ppp b / ios / sdk / WeexSDK / Sources / Monitor / WXMonitor . m <nl> + ( void ) performanceFinish : ( WXSDKInstance * ) instance <nl> commitDict [ @ " requestType " ] = instance . userInfo [ @ " weex_bundlejs_requestType " ] ; <nl> } <nl> if ( instance . userInfo [ WXCUSTOMMONITORINFO ] ) { <nl> - commitDict [ WXCUSTOMMONITORINFO ] = instance . userInfo [ WXCUSTOMMONITORINFO ] ; <nl> + if ( [ instance . userInfo [ WXCUSTOMMONITORINFO ] isKindOfClass : [ NSDictionary class ] ] ) { <nl> + commitDict [ WXCUSTOMMONITORINFO ] = [ WXUtility JSONString : instance . userInfo [ WXCUSTOMMONITORINFO ] ] ; <nl> + } else if ( [ instance . userInfo [ WXCUSTOMMONITORINFO ] isKindOfClass : [ NSString class ] ] ) { <nl> + commitDict [ WXCUSTOMMONITORINFO ] = instance . userInfo [ WXCUSTOMMONITORINFO ] ; <nl> + } <nl> } <nl> WXPerformBlockOnComponentThread ( ^ { <nl> commitDict [ @ " componentCount " ] = @ ( [ instance numberOfComponents ] ) ; <nl>
* [ ios ] bug fix : customMonitorInfo only deal dictionary and string
apache/incubator-weex
b8bacb13e3e765922f217e4c2ce31aa24e841705
2017-03-31T01:59:36Z
mmm a / modules / canbus / vehicle / lincoln / BUILD <nl> ppp b / modules / canbus / vehicle / lincoln / BUILD <nl> cc_test ( <nl> ) <nl> <nl> cpplint ( ) <nl> + <nl>
Sync with apollo master ( )
ApolloAuto/apollo
3cedb32cb4c9630f722bd2a0853302534058a7de
2017-07-20T05:25:26Z
mmm a / buildscripts / resmokeconfig / suites / buildscripts_test . yml <nl> ppp b / buildscripts / resmokeconfig / suites / buildscripts_test . yml <nl> selector : <nl> - buildscripts / tests / * * / test_ * . py <nl> - buildscripts / idl / tests / * * / test_ * . py <nl> exclude_files : <nl> + # These tests are also @ unittest . skip ' ed . SERVER - 48969 tracks re - enabling them . <nl> - buildscripts / tests / resmokelib / test_selector . py # Test assumes POSIX path . <nl> - buildscripts / tests / resmokelib / utils / test_archival . py # Requires boto3 . <nl> - buildscripts / tests / test_aws_ec2 . py # Requires boto3 . <nl> - buildscripts / tests / test_remote_operations . py # Requires ssh to be enabled locally . <nl> - - buildscripts / tests / resmokelib / end2end / * * / test_ * . py # Requires compile task . Test run in resmoke_end2end_tests . yml instead . <nl> + - buildscripts / tests / resmoke_end2end / * * / test_ * . py # Requires compile task . Test run in resmoke_end2end_tests . yml instead . <nl> <nl> <nl> executor : { } <nl> mmm a / buildscripts / resmokeconfig / suites / resmoke_end2end_tests . yml <nl> ppp b / buildscripts / resmokeconfig / suites / resmoke_end2end_tests . yml <nl> test_kind : py_test <nl> <nl> selector : <nl> roots : <nl> - - buildscripts / tests / resmokelib / end2end / * * / test_ * . py <nl> + - buildscripts / tests / resmoke_end2end / * * / test_ * . py <nl> <nl> <nl> executor : { } <nl> new file mode 100644 <nl> index 000000000000 . . 4b7a2bb941b6 <nl> mmm / dev / null <nl> ppp b / buildscripts / tests / resmoke_end2end / __init__ . py <nl> @ @ - 0 , 0 + 1 @ @ <nl> + " " " Empty . " " " <nl> similarity index 100 % <nl> rename from buildscripts / tests / resmokelib / end2end / suites / resmoke_selftest_task_failure . yml <nl> rename to buildscripts / tests / resmoke_end2end / suites / resmoke_selftest_task_failure . yml <nl> similarity index 100 % <nl> rename from buildscripts / tests / resmokelib / end2end / suites / resmoke_selftest_task_failure_no_passthrough . yml <nl> rename to buildscripts / tests / resmoke_end2end / suites / resmoke_selftest_task_failure_no_passthrough . yml <nl> similarity index 100 % <nl> rename from buildscripts / tests / resmokelib / end2end / suites / resmoke_selftest_task_timeout . yml <nl> rename to buildscripts / tests / resmoke_end2end / suites / resmoke_selftest_task_timeout . yml <nl> similarity index 100 % <nl> rename from buildscripts / tests / resmokelib / end2end / suites / resmoke_selftest_task_timeout_no_passthrough . yml <nl> rename to buildscripts / tests / resmoke_end2end / suites / resmoke_selftest_task_timeout_no_passthrough . yml <nl> similarity index 86 % <nl> rename from buildscripts / tests / resmokelib / end2end / test_resmoke . py <nl> rename to buildscripts / tests / resmoke_end2end / test_resmoke . py <nl> mmm a / buildscripts / tests / resmokelib / end2end / test_resmoke . py <nl> ppp b / buildscripts / tests / resmoke_end2end / test_resmoke . py <nl> def setUpClass ( cls ) : <nl> super ( TestArchivalOnFailure , cls ) . setUpClass ( ) <nl> cls . archival_file = os . path . join ( cls . test_dir , " test_archival . txt " ) <nl> <nl> + @ unittest . skip ( " Requires compile . SERVER - 48969 tracks re - enabling . " ) <nl> def test_archival_on_task_failure ( self ) : <nl> resmoke_args = [ <nl> - " - - suites = buildscripts / tests / resmokelib / end2end / suites / resmoke_selftest_task_failure . yml " , <nl> + " - - suites = buildscripts / tests / resmoke_end2end / suites / resmoke_selftest_task_failure . yml " , <nl> " - - taskId = 123 " , <nl> " - - internalParam = test_archival " , <nl> " - - repeatTests = 2 " , <nl> def test_archival_on_task_failure ( self ) : <nl> archival_dirs_to_expect = 4 # 2 tests * 2 nodes <nl> self . assert_dir_file_count ( self . archival_file , archival_dirs_to_expect ) <nl> <nl> + @ unittest . skip ( " Requires compile . SERVER - 48969 tracks re - enabling . " ) <nl> def test_archival_on_task_failure_no_passthrough ( self ) : <nl> resmoke_args = [ <nl> - " - - suites = buildscripts / tests / resmokelib / end2end / suites / resmoke_selftest_task_failure_no_passthrough . yml " , <nl> + " - - suites = buildscripts / tests / resmokelib / resmoke_end2end / suites / resmoke_selftest_task_failure_no_passthrough . yml " , <nl> " - - taskId = 123 " , <nl> " - - internalParam = test_archival " , <nl> " - - repeatTests = 2 " , <nl> def test_archival_on_task_failure_no_passthrough ( self ) : <nl> def test_no_archival_locally ( self ) : <nl> # archival should not happen if - - taskId is not set . <nl> resmoke_args = [ <nl> - " - - suites = buildscripts / tests / resmokelib / end2end / suites / resmoke_selftest_task_failure_no_passthrough . yml " , <nl> + " - - suites = buildscripts / tests / resmoke_end2end / suites / resmoke_selftest_task_failure_no_passthrough . yml " , <nl> " - - internalParam = test_archival " , <nl> " - - repeatTests = 2 " , <nl> " - - jobs = 2 " , <nl> def execute_resmoke ( self , resmoke_args ) : <nl> <nl> TestTimeout . signal_resmoke ( resmoke_process ) <nl> <nl> + @ unittest . skip ( " Requires compile . SERVER - 48969 tracks re - enabling . " ) <nl> def test_task_timeout ( self ) : <nl> resmoke_args = [ <nl> - " - - suites = buildscripts / tests / resmokelib / end2end / suites / resmoke_selftest_task_timeout . yml " , <nl> + " - - suites = buildscripts / tests / resmoke_end2end / suites / resmoke_selftest_task_timeout . yml " , <nl> " - - taskId = 123 " , <nl> " - - internalParam = test_archival " , <nl> " - - internalParam = test_analysis " , <nl> def test_task_timeout ( self ) : <nl> # analysis_files_to_expect = 6 # 2 tests * ( 2 mongod + 1 mongo ) <nl> # self . assert_dir_file_count ( self . analysis_file , analysis_files_to_expect ) <nl> <nl> + @ unittest . skip ( " Requires compile . SERVER - 48969 tracks re - enabling . " ) <nl> def test_task_timeout_no_passthrough ( self ) : <nl> resmoke_args = [ <nl> - " - - suites = buildscripts / tests / resmokelib / end2end / suites / resmoke_selftest_task_timeout_no_passthrough . yml " , <nl> + " - - suites = buildscripts / tests / resmoke_end2end / suites / resmoke_selftest_task_timeout_no_passthrough . yml " , <nl> " - - taskId = 123 " , <nl> " - - internalParam = test_archival " , <nl> " - - internalParam = test_analysis " , <nl> mmm a / buildscripts / tests / resmokelib / test_selector . py <nl> ppp b / buildscripts / tests / resmokelib / test_selector . py <nl> class MockTestFileExplorer ( object ) : <nl> <nl> NUM_JS_FILES = 4 # Total number of JS files in self . files . <nl> <nl> + BINARY = " dbtest " <nl> + <nl> def __init__ ( self ) : <nl> self . files = [ <nl> " dir / subdir1 / test11 . js " , " dir / subdir1 / test12 . js " , " dir / subdir2 / test21 . js " , <nl> def __init__ ( self ) : <nl> " dir / subdir1 / test11 . js " : [ " tag1 " , " tag2 " ] , " dir / subdir1 / test12 . js " : [ " tag3 " ] , <nl> " dir / subdir2 / test21 . js " : [ " tag2 " , " tag4 " ] , " dir / subdir3 / a / test3a1 . js " : [ " tag4 " , " tag5 " ] <nl> } <nl> - self . binary = " dbtest " <nl> + self . binary = MockTestFileExplorer . BINARY <nl> self . jstest_tag_file = { " dir / subdir1 / test11 . js " : " tagA " , " dir / subdir3 / a / test3a1 . js " : " tagB " } <nl> <nl> def is_glob_pattern ( self , pattern ) : # pylint : disable = no - self - use <nl> def test_exclude_files ( self ) : <nl> self . assertEqual ( [ " dir / subdir1 / test11 . js " , " dir / subdir1 / test12 . js " ] , selected ) <nl> self . assertEqual ( [ " dir / subdir2 / test21 . js " ] , excluded ) <nl> <nl> + @ unittest . skip ( " Known broken . SERVER - 48969 tracks re - enabling . " ) <nl> def test_exclude_files_no_match ( self ) : <nl> roots = [ " dir / subdir1 / * . js " , " dir / subdir2 / test21 . * " ] <nl> test_list = selector . _TestList ( self . test_file_explorer , roots ) <nl> class TestMultiJSSelector ( unittest . TestCase ) : <nl> def setUpClass ( cls ) : <nl> cls . selector = selector . _MultiJSTestSelector ( MockTestFileExplorer ( ) ) <nl> <nl> + @ unittest . skip ( " Known broken . SERVER - 48969 tracks re - enabling . " ) <nl> def test_multi_js_test_selector_normal ( self ) : <nl> config = selector . _MultiJSTestSelectorConfig ( roots = [ " dir / * * / * . js " ] , group_size = 3 , <nl> group_count_multiplier = 2 ) <nl> def test_multi_js_test_selector_normal ( self ) : <nl> self . assertEqual ( total , MockTestFileExplorer . NUM_JS_FILES * config . group_count_multiplier , <nl> " The total number of workloads is incorrect " ) <nl> <nl> + @ unittest . skip ( " Known broken . SERVER - 48969 tracks re - enabling . " ) <nl> def test_multi_js_test_selector_one_group ( self ) : <nl> " " " Test we return only one group if the group size equals number of files " " " <nl> num_files = MockTestFileExplorer . NUM_JS_FILES <nl> def test_multi_js_test_selector_one_group ( self ) : <nl> self . assertEqual ( len ( selected ) , 1 ) <nl> self . assertEqual ( len ( selected [ 0 ] ) , num_files ) <nl> <nl> - def test_multi_js_test_selector_group_too_large ( self ) : <nl> - config = selector . _MultiJSTestSelectorConfig ( roots = [ " dir / * * / * . js " ] , group_size = 9999999 , <nl> - group_count_multiplier = 3 ) <nl> - with self . assertRaises ( ValueError ) : <nl> - self . selector . select ( config ) <nl> - <nl> <nl> class TestFilterTests ( unittest . TestCase ) : <nl> @ classmethod <nl> def test_jstest_exclude_with_any_tags ( self ) : <nl> self . assertEqual ( [ " dir / subdir1 / test11 . js " , " dir / subdir2 / test21 . js " ] , excluded ) <nl> self . assertEqual ( [ " dir / subdir1 / test12 . js " , " dir / subdir3 / a / test3a1 . js " ] , selected ) <nl> <nl> + @ unittest . skip ( " Known broken . SERVER - 48969 tracks re - enabling . " ) <nl> def test_filter_temporarily_disabled_tests ( self ) : <nl> parser . parse_command_line ( sys . argv [ 1 : ] ) <nl> test_file_explorer = MockTestFileExplorer ( ) <nl> def test_json_schema_include_files ( self ) : <nl> [ " dir / subdir1 / test11 . js " , " dir / subdir1 / test12 . js " , " dir / subdir3 / a / test3a1 . js " ] , <nl> excluded ) <nl> <nl> + @ unittest . skipUnless ( <nl> + os . path . exists ( MockTestFileExplorer . BINARY ) , <nl> + " { } not built " . format ( MockTestFileExplorer . BINARY ) ) <nl> def test_db_tests_all ( self ) : <nl> config = { " binary " : self . test_file_explorer . binary } <nl> selected , excluded = selector . filter_tests ( " db_test " , config , self . test_file_explorer ) <nl> def test_db_tests_roots_override ( self ) : <nl> self . assertEqual ( [ " dbtestOverride " ] , selected ) <nl> self . assertEqual ( [ ] , excluded ) <nl> <nl> + @ unittest . skipUnless ( <nl> + os . path . exists ( MockTestFileExplorer . BINARY ) , <nl> + " { } not built " . format ( MockTestFileExplorer . BINARY ) ) <nl> def test_db_tests_include_suites ( self ) : <nl> config = { " binary " : self . test_file_explorer . binary , " include_suites " : [ " dbtestB " ] } <nl> selected , excluded = selector . filter_tests ( " db_test " , config , self . test_file_explorer ) <nl> mmm a / buildscripts / tests / resmokelib / utils / test_archival . py <nl> ppp b / buildscripts / tests / resmokelib / utils / test_archival . py <nl> def s3_path ( self , path , add_remote_path = True ) : <nl> <nl> <nl> class ArchivalFileTests ( ArchivalTestCase ) : <nl> + @ unittest . skip ( " Known broken . SERVER - 48969 tracks re - enabling . " ) <nl> def test_nofile ( self ) : <nl> # Invalid input_files <nl> display_name = " Unittest invalid file " <nl> class ArchivalLimitSizeTests ( ArchivalTestCase ) : <nl> def create_archival ( cls ) : <nl> return archival . Archival ( cls . logger , limit_size_mb = 5 , s3_client = cls . s3_client ) <nl> <nl> + @ unittest . skip ( " Known broken . SERVER - 48969 tracks re - enabling . " ) <nl> def test_limit_size ( self ) : <nl> <nl> # Files within limit size <nl> def create_archival ( cls ) : <nl> return archival . Archival ( cls . logger , limit_size_mb = 3 , limit_files = 3 , <nl> s3_client = cls . s3_client ) <nl> <nl> + @ unittest . skip ( " Known broken . SERVER - 48969 tracks re - enabling . " ) <nl> def test_limits ( self ) : <nl> <nl> # Files within limits <nl> mmm a / buildscripts / tests / test_aws_ec2 . py <nl> ppp b / buildscripts / tests / test_aws_ec2 . py <nl> <nl> <nl> <nl> class AwsEc2TestCase ( unittest . TestCase ) : # pylint : disable = too - many - instance - attributes <nl> + @ unittest . skip ( " Known broken . SERVER - 48969 tracks re - enabling . " ) <nl> def setUp ( self ) : <nl> self . aws_ec2 = aws_ec2 . AwsEc2 ( ) <nl> self . launched_instances = [ ] <nl> def tearDown ( self ) : <nl> <nl> <nl> class AwsEc2Connect ( AwsEc2TestCase ) : <nl> + @ unittest . skip ( " Known broken . SERVER - 48969 tracks re - enabling . " ) <nl> def runTest ( self ) : <nl> self . assertIsNotNone ( self . aws_ec2 ) <nl> <nl> <nl> class AwsEc2Launch ( AwsEc2TestCase ) : <nl> + @ unittest . skip ( " Known broken . SERVER - 48969 tracks re - enabling . " ) <nl> def runTest ( self ) : <nl> code , ret = self . aws_ec2 . launch_instance ( <nl> ami = self . ami , instance_type = self . instance_type , key_name = self . key_name , <nl> def runTest ( self ) : <nl> <nl> <nl> class AwsEc2ControlStart ( AwsEc2TestCase ) : <nl> + @ unittest . skip ( " Known broken . SERVER - 48969 tracks re - enabling . " ) <nl> def runTest ( self ) : <nl> code , ret = self . aws_ec2 . launch_instance ( <nl> ami = self . ami , instance_type = self . instance_type , key_name = self . key_name , <nl> def runTest ( self ) : <nl> <nl> <nl> class AwsEc2ControlStartReboot ( AwsEc2TestCase ) : <nl> + @ unittest . skip ( " Known broken . SERVER - 48969 tracks re - enabling . " ) <nl> def runTest ( self ) : <nl> code , ret = self . aws_ec2 . launch_instance ( <nl> ami = self . ami , instance_type = self . instance_type , key_name = self . key_name , <nl> mmm a / buildscripts / tests / test_remote_operations . py <nl> ppp b / buildscripts / tests / test_remote_operations . py <nl> def tearDown ( self ) : <nl> <nl> <nl> class RemoteOperationConnection ( RemoteOperationsTestCase ) : <nl> + @ unittest . skip ( " Known broken . SERVER - 48969 tracks re - enabling . " ) <nl> def runTest ( self ) : <nl> <nl> self . assertTrue ( self . rop . access_established ( ) ) <nl> def runTest ( self ) : <nl> <nl> <nl> class RemoteOperationShell ( RemoteOperationsTestCase ) : <nl> + @ unittest . skip ( " Known broken . SERVER - 48969 tracks re - enabling . " ) <nl> def runTest ( self ) : # pylint : disable = too - many - statements <nl> <nl> # Shell connect <nl> def runTest ( self ) : # pylint : disable = too - many - statements <nl> <nl> <nl> class RemoteOperationCopyTo ( RemoteOperationsTestCase ) : <nl> + @ unittest . skip ( " Known broken . SERVER - 48969 tracks re - enabling . " ) <nl> def runTest ( self ) : # pylint : disable = too - many - statements <nl> <nl> # Copy to remote <nl> def runTest ( self ) : # pylint : disable = too - many - statements <nl> <nl> <nl> class RemoteOperationCopyFrom ( RemoteOperationsTestCase ) : <nl> + @ unittest . skip ( " Known broken . SERVER - 48969 tracks re - enabling . " ) <nl> def runTest ( self ) : # pylint : disable = too - many - statements <nl> <nl> # Copy from remote <nl> def runTest ( self ) : # pylint : disable = too - many - statements <nl> <nl> <nl> class RemoteOperation ( RemoteOperationsTestCase ) : <nl> + @ unittest . skip ( " Known broken . SERVER - 48969 tracks re - enabling . " ) <nl> def runTest ( self ) : <nl> - <nl> # Invalid operation <nl> self . assertRaises ( ValueError , lambda : self . rop . operation ( " invalid " , None ) ) <nl> mmm a / etc / pip / dev - requirements . txt <nl> ppp b / etc / pip / dev - requirements . txt <nl> <nl> - r components / resmoke . req <nl> - r components / external_auth . req <nl> - r components / evergreen . req <nl> + - r components / aws . req <nl> - r components / jiraclient . req <nl>
SERVER - 48109 Skip Known Broken Resmoke Tests
mongodb/mongo
ba3e5964f9ac140723df5b8a012306b30a1cb5b9
2020-06-18T18:49:58Z
mmm a / vnpy / app / cta_strategy / engine . py <nl> ppp b / vnpy / app / cta_strategy / engine . py <nl> def __init__ ( self , main_engine : MainEngine , event_engine : EventEngine ) : <nl> self . rq_client = None <nl> self . rq_symbols = set ( ) <nl> <nl> + self . vt_tradeids = set ( ) # for filtering duplicate trade <nl> + <nl> self . offset_converter = OffsetConverter ( self . main_engine ) <nl> <nl> def init_engine ( self ) : <nl> def process_trade_event ( self , event : Event ) : <nl> " " " " " " <nl> trade = event . data <nl> <nl> + # Filter duplicate trade push <nl> + if trade . vt_tradeid in self . vt_tradeids : <nl> + return <nl> + self . vt_tradeids . add ( trade . vt_tradeid ) <nl> + <nl> self . offset_converter . update_trade ( trade ) <nl> <nl> strategy = self . orderid_strategy_map . get ( trade . vt_orderid , None ) <nl>
[ Fix ] close
vnpy/vnpy
d8f7298dc850e1ee47a91838985f90f6e87894a3
2019-04-26T01:38:02Z
mmm a / xbmc / cores / VideoPlayer / VideoPlayer . cpp <nl> ppp b / xbmc / cores / VideoPlayer / VideoPlayer . cpp <nl> void CVideoPlayer : : UpdateStreamInfos ( ) <nl> s . stereo_mode = m_VideoPlayerVideo - > GetStereoMode ( ) ; <nl> if ( s . stereo_mode = = " mono " ) <nl> s . stereo_mode = " " ; <nl> + <nl> + CDemuxStream * stream = m_pDemuxer - > GetStream ( m_CurrentVideo . id ) ; <nl> + if ( stream & & stream - > type = = STREAM_VIDEO ) <nl> + { <nl> + s . width = ( ( CDemuxStreamVideo * ) stream ) - > iWidth ; <nl> + s . height = ( ( CDemuxStreamVideo * ) stream ) - > iHeight ; <nl> + } <nl> } <nl> <nl> / / audio <nl>
[ videoplayer ] Update selectionstream ' s width / height in UpdateStreamInfos ( ) .
xbmc/xbmc
f7a38b5b07db34e0efe9edb342d1dfe59ac4702e
2016-01-29T21:08:33Z
mmm a / docs / CHANGELOG . txt <nl> ppp b / docs / CHANGELOG . txt <nl> Other Changes : <nl> - Columns : Fixed Selectable with SpanAllColumns flag from creating an extraneous draw command . ( # 125 ) <nl> - Separator : Revert 1 . 70 " Declare its thickness ( 1 . 0f ) to the layout " change . It ' s not incorrect <nl> but it breaks existing some layout patterns . Will return back to it when we expose Separator flags . <nl> + - Fixed InputScalar , InputScalarN , SliderScalarN , DragScalarN with non - visible label from inserting <nl> + style . ItemInnerSpacing . x worth of trailing spacing . <nl> - Fixed InputFloatX , SliderFloatX , DragFloatX functions erroneously reporting IsItemEdited ( ) multiple <nl> times when the text input doesn ' t match the formatted output value ( e . g . input " 1 " shows " 1 . 000 " ) . <nl> It wasn ' t much of a problem because we typically use the return value instead of IsItemEdited ( ) here . <nl> mmm a / imgui_widgets . cpp <nl> ppp b / imgui_widgets . cpp <nl> bool ImGui : : DragScalarN ( const char * label , ImGuiDataType data_type , void * v , int <nl> for ( int i = 0 ; i < components ; i + + ) <nl> { <nl> PushID ( i ) ; <nl> + if ( i > 0 ) <nl> + SameLine ( 0 , g . Style . ItemInnerSpacing . x ) ; <nl> value_changed | = DragScalar ( " " , data_type , v , v_speed , v_min , v_max , format , power ) ; <nl> - SameLine ( 0 , g . Style . ItemInnerSpacing . x ) ; <nl> PopID ( ) ; <nl> PopItemWidth ( ) ; <nl> v = ( void * ) ( ( char * ) v + type_size ) ; <nl> } <nl> PopID ( ) ; <nl> <nl> - TextEx ( label , FindRenderedTextEnd ( label ) ) ; <nl> + const char * label_end = FindRenderedTextEnd ( label ) ; <nl> + if ( label ! = label_end ) <nl> + { <nl> + SameLine ( 0 , g . Style . ItemInnerSpacing . x ) ; <nl> + TextEx ( label , label_end ) ; <nl> + } <nl> + <nl> EndGroup ( ) ; <nl> return value_changed ; <nl> } <nl> bool ImGui : : SliderScalarN ( const char * label , ImGuiDataType data_type , void * v , i <nl> for ( int i = 0 ; i < components ; i + + ) <nl> { <nl> PushID ( i ) ; <nl> + if ( i > 0 ) <nl> + SameLine ( 0 , g . Style . ItemInnerSpacing . x ) ; <nl> value_changed | = SliderScalar ( " " , data_type , v , v_min , v_max , format , power ) ; <nl> - SameLine ( 0 , g . Style . ItemInnerSpacing . x ) ; <nl> PopID ( ) ; <nl> PopItemWidth ( ) ; <nl> v = ( void * ) ( ( char * ) v + type_size ) ; <nl> } <nl> PopID ( ) ; <nl> <nl> - TextEx ( label , FindRenderedTextEnd ( label ) ) ; <nl> + const char * label_end = FindRenderedTextEnd ( label ) ; <nl> + if ( label ! = label_end ) <nl> + { <nl> + SameLine ( 0 , g . Style . ItemInnerSpacing . x ) ; <nl> + TextEx ( label , label_end ) ; <nl> + } <nl> + <nl> EndGroup ( ) ; <nl> return value_changed ; <nl> } <nl> bool ImGui : : InputScalar ( const char * label , ImGuiDataType data_type , void * data_p <nl> DataTypeApplyOp ( data_type , ' + ' , data_ptr , data_ptr , g . IO . KeyCtrl & & step_fast ? step_fast : step ) ; <nl> value_changed = true ; <nl> } <nl> - SameLine ( 0 , style . ItemInnerSpacing . x ) ; <nl> - TextEx ( label , FindRenderedTextEnd ( label ) ) ; <nl> + <nl> + const char * label_end = FindRenderedTextEnd ( label ) ; <nl> + if ( label ! = label_end ) <nl> + { <nl> + SameLine ( 0 , style . ItemInnerSpacing . x ) ; <nl> + TextEx ( label , label_end ) ; <nl> + } <nl> style . FramePadding = backup_frame_padding ; <nl> <nl> PopID ( ) ; <nl> bool ImGui : : InputScalarN ( const char * label , ImGuiDataType data_type , void * v , in <nl> for ( int i = 0 ; i < components ; i + + ) <nl> { <nl> PushID ( i ) ; <nl> + if ( i > 0 ) <nl> + SameLine ( 0 , g . Style . ItemInnerSpacing . x ) ; <nl> value_changed | = InputScalar ( " " , data_type , v , step , step_fast , format , flags ) ; <nl> - SameLine ( 0 , g . Style . ItemInnerSpacing . x ) ; <nl> PopID ( ) ; <nl> PopItemWidth ( ) ; <nl> v = ( void * ) ( ( char * ) v + type_size ) ; <nl> } <nl> PopID ( ) ; <nl> <nl> - TextEx ( label , FindRenderedTextEnd ( label ) ) ; <nl> + const char * label_end = FindRenderedTextEnd ( label ) ; <nl> + if ( label ! = label_end ) <nl> + { <nl> + SameLine ( 0 . 0f , g . Style . ItemInnerSpacing . x ) ; <nl> + TextEx ( label , label_end ) ; <nl> + } <nl> + <nl> EndGroup ( ) ; <nl> return value_changed ; <nl> } <nl>
Fixed InputScalar , InputScalarN , SliderScalarN , DragScalarN with non - visible label from inserting style . ItemInnerSpacing . x worth of trailing spacing .
ocornut/imgui
3fda90d6a71ffafb816ad9bec472d03376aa350f
2019-05-24T12:32:28Z
mmm a / modules / gpu / src / resize . cpp <nl> ppp b / modules / gpu / src / resize . cpp <nl> void cv : : gpu : : resize ( const GpuMat & src , GpuMat & dst , Size dsize , double fx , doub <nl> src . locateROI ( wholeSize , ofs ) ; <nl> <nl> bool useNpp = ( src . type ( ) = = CV_8UC1 | | src . type ( ) = = CV_8UC4 ) ; <nl> - useNpp = useNpp & & ( interpolation = = INTER_NEAREST | | interpolation = = INTER_LINEAR | | src . type ( ) = = CV_8UC4 ) ; <nl> + useNpp = useNpp & & ( interpolation = = INTER_NEAREST | | interpolation = = INTER_LINEAR | | ( src . type ( ) = = CV_8UC4 & & interpolation ! = INTER_AREA ) ) ; <nl> <nl> if ( useNpp ) <nl> { <nl>
call not NPP version in case of INTER_AREA resize
opencv/opencv
75eedf8b03fbf150c3140e078b65b327f6d19729
2012-06-06T15:38:08Z
mmm a / xbmc / music / windows / GUIWindowMusicBase . cpp <nl> ppp b / xbmc / music / windows / GUIWindowMusicBase . cpp <nl> void CGUIWindowMusicBase : : OnInfo ( CFileItem * pItem , bool bShowInfo ) <nl> m_dlgProgress - > Close ( ) ; <nl> } <nl> <nl> - void CGUIWindowMusicBase : : OnManualAlbumInfo ( ) <nl> - { <nl> - CAlbum album ; <nl> - album . idAlbum = - 1 ; / / not in the db <nl> - if ( ! CGUIKeyboardFactory : : ShowAndGetInput ( album . strAlbum , g_localizeStrings . Get ( 16011 ) , false ) ) <nl> - return ; <nl> - <nl> - CStdString strArtist = StringUtils : : Join ( album . artist , g_advancedSettings . m_musicItemSeparator ) ; <nl> - if ( ! CGUIKeyboardFactory : : ShowAndGetInput ( strArtist , g_localizeStrings . Get ( 16025 ) , false ) ) <nl> - return ; <nl> - <nl> - / / ShowAlbumInfo ( album , true ) ; FIXME <nl> - } <nl> - <nl> void CGUIWindowMusicBase : : ShowArtistInfo ( const CFileItem * pItem , bool bShowInfo / * = true * / ) <nl> { <nl> CQueryParams params ; <nl> mmm a / xbmc / music / windows / GUIWindowMusicBase . h <nl> ppp b / xbmc / music / windows / GUIWindowMusicBase . h <nl> class CGUIWindowMusicBase : public CGUIMediaWindow <nl> void ShowSongInfo ( CFileItem * pItem ) ; <nl> void UpdateThumb ( const CAlbum & album , const CStdString & path ) ; <nl> <nl> - void OnManualAlbumInfo ( ) ; <nl> void OnRipTrack ( int iItem ) ; <nl> void OnSearch ( ) ; <nl> virtual void LoadPlayList ( const CStdString & strPlayList ) ; <nl> mmm a / xbmc / music / windows / GUIWindowMusicNav . cpp <nl> ppp b / xbmc / music / windows / GUIWindowMusicNav . cpp <nl> bool CGUIWindowMusicNav : : OnMessage ( CGUIMessage & message ) <nl> } <nl> UpdateButtons ( ) ; <nl> } <nl> - else if ( iControl = = CONTROL_BTNMANUALINFO ) <nl> - { <nl> - OnManualAlbumInfo ( ) ; <nl> - return true ; <nl> - } <nl> else if ( iControl = = CONTROL_SEARCH ) <nl> { <nl> if ( m_searchWithEdit ) <nl>
[ musicdb ] remove OnManualAlbumInfo - not used in confluence
xbmc/xbmc
0084a45bffe342c97f720705fedc774b7dd37675
2013-05-01T16:36:36Z
mmm a / tests / CMakeLists . txt <nl> ppp b / tests / CMakeLists . txt <nl> configure_file ( $ { CMAKE_CURRENT_SOURCE_DIR } / consensus - validation - malicious - produc <nl> configure_file ( $ { CMAKE_CURRENT_SOURCE_DIR } / validate - dirty - db . py $ { CMAKE_CURRENT_BINARY_DIR } / validate - dirty - db . py COPYONLY ) <nl> configure_file ( $ { CMAKE_CURRENT_SOURCE_DIR } / launcher_test . py $ { CMAKE_CURRENT_BINARY_DIR } / launcher_test . py COPYONLY ) <nl> configure_file ( $ { CMAKE_CURRENT_SOURCE_DIR } / db_modes_test . sh $ { CMAKE_CURRENT_BINARY_DIR } / db_modes_test . sh COPYONLY ) <nl> + configure_file ( $ { CMAKE_CURRENT_SOURCE_DIR } / prod_preactivation_test . py $ { CMAKE_CURRENT_BINARY_DIR } / prod_preactivation_test . py COPYONLY ) <nl> <nl> # To run plugin_test with all log from blockchain displayed , put - - verbose after - - , i . e . plugin_test - - - - verbose <nl> add_test ( NAME plugin_test COMMAND plugin_test - - report_level = detailed - - color_output ) <nl> if ( BUILD_MONGO_DB_PLUGIN ) <nl> set_property ( TEST nodeos_run_test - mongodb PROPERTY LABELS nonparallelizable_tests ) <nl> endif ( ) <nl> <nl> + add_test ( NAME producer - preactivate - feature - test COMMAND tests / prod_preactivation_test . py - - clean - run - - dump - error - detail WORKING_DIRECTORY $ { CMAKE_BINARY_DIR } ) <nl> + set_property ( TEST producer - preactivate - feature - test PROPERTY LABELS nonparallelizable_tests ) <nl> + <nl> add_test ( NAME distributed - transactions - test COMMAND tests / distributed - transactions - test . py - d 2 - p 4 - n 6 - v - - clean - run - - dump - error - detail WORKING_DIRECTORY $ { CMAKE_BINARY_DIR } ) <nl> set_property ( TEST distributed - transactions - test PROPERTY LABELS nonparallelizable_tests ) <nl> add_test ( NAME distributed - transactions - bnet - test COMMAND tests / distributed - transactions - test . py - d 2 - p 1 - n 4 - - p2p - plugin bnet - v - - clean - run - - dump - error - detail WORKING_DIRECTORY $ { CMAKE_BINARY_DIR } ) <nl> new file mode 100755 <nl> index 0000000000 . . c12ec41279 <nl> mmm / dev / null <nl> ppp b / tests / prod_preactivation_test . py <nl> <nl> + # ! / usr / bin / env python3 <nl> + <nl> + from testUtils import Utils <nl> + from Cluster import Cluster <nl> + from WalletMgr import WalletMgr <nl> + from Node import Node <nl> + from Node import ReturnType <nl> + from TestHelper import TestHelper <nl> + <nl> + import decimal <nl> + import re <nl> + import time <nl> + <nl> + # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # <nl> + # prod_preactivation_test <nl> + # - - dump - error - details < Upon error print etc / eosio / node_ * / config . ini and var / lib / node_ * / stderr . log to stdout > <nl> + # - - keep - logs < Don ' t delete var / lib / node_ * folders upon test completion > <nl> + # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # <nl> + <nl> + Print = Utils . Print <nl> + errorExit = Utils . errorExit <nl> + cmdError = Utils . cmdError <nl> + from core_symbol import CORE_SYMBOL <nl> + <nl> + args = TestHelper . parse_args ( { " - - host " , " - - port " , " - - defproducera_prvt_key " , " - - defproducerb_prvt_key " , " - - mongodb " <nl> + , " - - dump - error - details " , " - - dont - launch " , " - - keep - logs " , " - v " , " - - leave - running " , " - - only - bios " , " - - clean - run " <nl> + , " - - sanity - test " , " - - p2p - plugin " , " - - wallet - port " } ) <nl> + server = args . host <nl> + port = args . port <nl> + debug = args . v <nl> + enableMongo = args . mongodb <nl> + defproduceraPrvtKey = args . defproducera_prvt_key <nl> + defproducerbPrvtKey = args . defproducerb_prvt_key <nl> + dumpErrorDetails = args . dump_error_details <nl> + keepLogs = args . keep_logs <nl> + dontLaunch = args . dont_launch <nl> + dontKill = args . leave_running <nl> + prodCount = 2 <nl> + onlyBios = args . only_bios <nl> + killAll = args . clean_run <nl> + sanityTest = args . sanity_test <nl> + p2pPlugin = args . p2p_plugin <nl> + walletPort = args . wallet_port <nl> + <nl> + Utils . Debug = debug <nl> + localTest = True <nl> + cluster = Cluster ( host = server , port = port , walletd = True , enableMongo = enableMongo , defproduceraPrvtKey = defproduceraPrvtKey , defproducerbPrvtKey = defproducerbPrvtKey ) <nl> + walletMgr = WalletMgr ( True , port = walletPort ) <nl> + testSuccessful = False <nl> + killEosInstances = not dontKill <nl> + killWallet = not dontKill <nl> + dontBootstrap = sanityTest <nl> + <nl> + WalletdName = Utils . EosWalletName <nl> + ClientName = " cleos " <nl> + <nl> + try : <nl> + TestHelper . printSystemInfo ( " BEGIN prod_preactivation_test . py " ) <nl> + cluster . setWalletMgr ( walletMgr ) <nl> + Print ( " SERVER : % s " % ( server ) ) <nl> + Print ( " PORT : % d " % ( port ) ) <nl> + <nl> + if enableMongo and not cluster . isMongodDbRunning ( ) : <nl> + errorExit ( " MongoDb doesn ' t seem to be running . " ) <nl> + <nl> + if localTest and not dontLaunch : <nl> + cluster . killall ( allInstances = killAll ) <nl> + cluster . cleanup ( ) <nl> + Print ( " Stand up cluster " ) <nl> + if cluster . launch ( pnodes = prodCount , totalNodes = prodCount , prodCount = 1 , onlyBios = onlyBios , dontBootstrap = dontBootstrap , p2pPlugin = p2pPlugin , useBiosBootFile = False , extraNodeosArgs = " - - plugin eosio : : producer_api_plugin " ) is False : <nl> + cmdError ( " launcher " ) <nl> + errorExit ( " Failed to stand up eos cluster . " ) <nl> + <nl> + Print ( " Validating system accounts after bootstrap " ) <nl> + cluster . validateAccounts ( None ) <nl> + <nl> + node = cluster . getNode ( 0 ) <nl> + cmd = " curl % s / v1 / producer / get_supported_protocol_features " % ( node . endpointHttp ) <nl> + Print ( " try to get supported feature list from Node 0 with cmd : % s " % ( cmd ) ) <nl> + feature0 = Utils . runCmdReturnJson ( cmd ) <nl> + <nl> + node = cluster . getNode ( 1 ) <nl> + cmd = " curl % s / v1 / producer / get_supported_protocol_features " % ( node . endpointHttp ) <nl> + Print ( " try to get supported feature list from Node 1 with cmd : % s " % ( cmd ) ) <nl> + feature1 = Utils . runCmdReturnJson ( cmd ) <nl> + <nl> + if feature0 ! = feature1 : <nl> + errorExit ( " feature list mismatch between node 0 and node 1 " ) <nl> + else : <nl> + Print ( " feature list from node 0 matches with that from node 1 " ) <nl> + <nl> + if len ( feature0 ) = = 0 : <nl> + errorExit ( " No supported feature list " ) <nl> + <nl> + digest = " " <nl> + for i in range ( 0 , len ( feature0 ) ) : <nl> + feature = feature0 [ i ] <nl> + if feature [ " specification " ] [ 0 ] [ " value " ] ! = " PREACTIVATE_FEATURE " : <nl> + continue <nl> + else : <nl> + digest = feature [ " feature_digest " ] <nl> + <nl> + if len ( digest ) = = 0 : <nl> + errorExit ( " code name PREACTIVATE_FEATURE not found " ) <nl> + <nl> + Print ( " found digest " , digest , " of PREACTIVATE_FEATURE " ) <nl> + <nl> + node0 = cluster . getNode ( 0 ) <nl> + contract = " eosio . bios " <nl> + contractDir = " unittests / contracts / % s " % ( contract ) <nl> + wasmFile = " % s . wasm " % ( contract ) <nl> + abiFile = " % s . abi " % ( contract ) <nl> + <nl> + Print ( " publish a new bios contract % s should fails because env . is_feature_activated unresolveable " % ( contractDir ) ) <nl> + retMap = node0 . publishContract ( " eosio " , contractDir , wasmFile , abiFile , True , shouldFail = True ) <nl> + <nl> + if retMap [ " output " ] . decode ( " utf - 8 " ) . find ( " unresolveable " ) < 0 : <nl> + errorExit ( " bios contract not result in expected unresolveable error " ) <nl> + <nl> + secwait = 30 <nl> + Print ( " Wait for node 1 to produce . . . " ) <nl> + node = cluster . getNode ( 1 ) <nl> + while secwait > 0 : <nl> + info = node . getInfo ( ) <nl> + if info [ " head_block_producer " ] > = " defproducerl " and info [ " head_block_producer " ] < = " defproduceru " : <nl> + break <nl> + time . sleep ( 1 ) <nl> + secwait = secwait - 1 <nl> + <nl> + secwait = 30 <nl> + Print ( " Waiting until node 0 start to produce . . . " ) <nl> + node = cluster . getNode ( 1 ) <nl> + while secwait > 0 : <nl> + info = node . getInfo ( ) <nl> + if info [ " head_block_producer " ] > = " defproducera " and info [ " head_block_producer " ] < = " defproducerk " : <nl> + break <nl> + time . sleep ( 1 ) <nl> + secwait = secwait - 1 <nl> + <nl> + if secwait < = 0 : <nl> + errorExit ( " No producer of node 0 " ) <nl> + <nl> + cmd = " curl - - data - binary ' { \ " protocol_features_to_activate \ " : [ \ " % s \ " ] } ' % s / v1 / producer / schedule_protocol_feature_activations " % ( digest , node . endpointHttp ) <nl> + <nl> + Print ( " try to preactivate feature on node 1 , cmd : % s " % ( cmd ) ) <nl> + result = Utils . runCmdReturnJson ( cmd ) <nl> + <nl> + if result [ " result " ] ! = " ok " : <nl> + errorExit ( " failed to preactivate feature from producer plugin on node 1 " ) <nl> + else : <nl> + Print ( " feature PREACTIVATE_FEATURE ( % s ) preactivation success " % ( digest ) ) <nl> + <nl> + time . sleep ( 0 . 6 ) <nl> + Print ( " publish a new bios contract % s should fails because node1 is not producing block yet " % ( contractDir ) ) <nl> + retMap = node0 . publishContract ( " eosio " , contractDir , wasmFile , abiFile , True , shouldFail = True ) <nl> + if retMap [ " output " ] . decode ( " utf - 8 " ) . find ( " unresolveable " ) < 0 : <nl> + errorExit ( " bios contract not result in expected unresolveable error " ) <nl> + <nl> + Print ( " now wait for node 1 produce a block . . . " ) <nl> + secwait = 30 # wait for node 1 produce a block <nl> + while secwait > 0 : <nl> + info = node . getInfo ( ) <nl> + if info [ " head_block_producer " ] > = " defproducerl " and info [ " head_block_producer " ] < = " defproduceru " : <nl> + break <nl> + time . sleep ( 1 ) <nl> + secwait = secwait - 1 <nl> + <nl> + if secwait < = 0 : <nl> + errorExit ( " No blocks produced by node 1 " ) <nl> + <nl> + time . sleep ( 0 . 6 ) <nl> + retMap = node0 . publishContract ( " eosio " , contractDir , wasmFile , abiFile , True ) <nl> + Print ( " sucessfully set new contract with new intrinsic ! ! ! " ) <nl> + <nl> + testSuccessful = True <nl> + finally : <nl> + TestHelper . shutdown ( cluster , walletMgr , testSuccessful , killEosInstances , killWallet , keepLogs , killAll , dumpErrorDetails ) <nl> + <nl> + exit ( 0 ) <nl>
Merge pull request from taokayan / 6429 - producerfix - kayan
EOSIO/eos
e1e776ff3d56c6b420b0e7b51550d0b2b5213bcb
2019-03-19T04:13:26Z
new file mode 100755 <nl> index 000000000 . . 796f56287 <nl> mmm / dev / null <nl> ppp b / scripts / statisticalmodel . sh <nl> <nl> + # ! / bin / bash <nl> + <nl> + SCRIPTPATH = " $ ( cd " $ ( dirname " $ 0 " ) " ; pwd - P ) " <nl> + cd $ SCRIPTPATH / . . <nl> + datadirectory = $ SCRIPTPATH / modeldata / $ ( uname - n ) <nl> + mkdir - p $ datadirectory <nl> + <nl> + os = $ ( uname ) <nl> + <nl> + <nl> + if [ " $ os " = " Linux " ] ; then <nl> + echo " You are using linux . " <nl> + echo " We are going to just parse using simdjson , and collect perf stats . " <nl> + <nl> + make statisticalmodel <nl> + myfile = $ datadirectory " / modeltable . txt " <nl> + echo $ myfile <nl> + echo " " > $ myfile <nl> + <nl> + for i in $ SCRIPTPATH / . . / jsonexamples / * . json ; do <nl> + [ - f " $ i " ] | | break <nl> + echo $ i <nl> + echo " # " $ i > > " $ myfile " <nl> + $ SCRIPTPATH / . . / statisticalmodel " $ i " > > " $ myfile " <nl> + done <nl> + echo " see results in " $ myfile <nl> + else <nl> + echo " Linux not detected " <nl> + fi <nl> + <nl> + <nl>
Adding stat model
simdjson/simdjson
9b27ffbd86ab8c835d833423a766fc3a1c1c7e70
2018-12-24T20:13:26Z
mmm a / tools / run_tests / run_tests . py <nl> ppp b / tools / run_tests / run_tests . py <nl> <nl> <nl> <nl> _POLLING_STRATEGIES = { <nl> - < < < < < < < HEAD <nl> - ' linux ' : [ ' epollex ' , ' epoll ' , ' poll ' , ' poll - cv ' ] <nl> - = = = = = = = <nl> - ' linux ' : [ ' epoll1 ' , ' epollsig ' , ' poll ' , ' poll - cv ' ] <nl> - > > > > > > > 50da5ec21d3d8be5e76b9809242821f9e5badba1 <nl> + ' linux ' : [ ' epollex ' , ' epoll1 ' , ' epollsig ' , ' poll ' , ' poll - cv ' ] <nl> } <nl> <nl> <nl>
Fix merge
grpc/grpc
5c53d1bd0af5b4d2cd79255b7d65329a2c0b65c9
2017-05-01T22:41:22Z
mmm a / lib / IRGen / GenClangType . cpp <nl> ppp b / lib / IRGen / GenClangType . cpp <nl> class GenClangType : public CanTypeVisitor < GenClangType , clang : : CanQualType > { <nl> IRGenModule & IGM ; <nl> ClangTypeConverter & Converter ; <nl> <nl> - clang : : QualType convertFunctionType ( CanFunctionType type ) ; <nl> - <nl> public : <nl> GenClangType ( IRGenModule & IGM , ClangTypeConverter & converter ) <nl> : IGM ( IGM ) , Converter ( converter ) { } <nl> GenClangType : : visitBoundGenericType ( CanBoundGenericType type ) { <nl> . Default ( StructKind : : Invalid ) ; <nl> <nl> auto args = type . getGenericArgs ( ) ; <nl> + assert ( args . size ( ) = = 1 & & <nl> + " should have a single generic argument ! " ) ; <nl> + auto loweredArgTy = IGM . getLoweredType ( args [ 0 ] ) . getSwiftRValueType ( ) ; <nl> <nl> switch ( kind ) { <nl> case StructKind : : Invalid : <nl> GenClangType : : visitBoundGenericType ( CanBoundGenericType type ) { <nl> case StructKind : : UnsafeMutablePointer : <nl> case StructKind : : Unmanaged : <nl> case StructKind : : AutoreleasingUnsafeMutablePointer : { <nl> - assert ( args . size ( ) = = 1 & & <nl> - " * Pointer < T > should have a single generic argument ! " ) ; <nl> - auto clangCanTy = Converter . convert ( IGM , args . front ( ) ) ; <nl> + auto clangCanTy = Converter . convert ( IGM , loweredArgTy ) ; <nl> if ( ! clangCanTy ) return clang : : CanQualType ( ) ; <nl> return getClangASTContext ( ) . getPointerType ( clangCanTy ) ; <nl> } <nl> case StructKind : : UnsafePointer : { <nl> - assert ( args . size ( ) = = 1 & & <nl> - " * Pointer < T > should have a single generic argument ! " ) ; <nl> clang : : QualType clangTy <nl> - = Converter . convert ( IGM , args . front ( ) ) . withConst ( ) ; <nl> + = Converter . convert ( IGM , loweredArgTy ) . withConst ( ) ; <nl> return getCanonicalType ( getClangASTContext ( ) . getPointerType ( clangTy ) ) ; <nl> } <nl> <nl> case StructKind : : CFunctionPointer : { <nl> auto & clangCtx = getClangASTContext ( ) ; <nl> <nl> - assert ( args . size ( ) = = 1 & & <nl> - " CFunctionPointer should have a single generic argument ! " ) ; <nl> clang : : QualType functionTy ; <nl> - if ( auto ft = dyn_cast < FunctionType > ( args [ 0 ] ) ) { <nl> - functionTy = convertFunctionType ( ft ) ; <nl> + if ( isa < SILFunctionType > ( loweredArgTy ) ) { <nl> + functionTy = Converter . convert ( IGM , loweredArgTy ) ; <nl> } else { <nl> / / Fall back to void ( ) . <nl> functionTy = clangCtx . getFunctionNoProtoType ( clangCtx . VoidTy ) ; <nl> clang : : CanQualType GenClangType : : visitEnumType ( CanEnumType type ) { <nl> type - > getDecl ( ) - > getRawType ( ) - > getCanonicalType ( ) ) ; <nl> } <nl> <nl> - clang : : QualType GenClangType : : convertFunctionType ( CanFunctionType type ) { <nl> - auto & clangCtx = getClangASTContext ( ) ; <nl> - SmallVector < clang : : QualType , 16 > paramTypes ; <nl> - CanType result = type . getResult ( ) ; <nl> - CanType input = type . getInput ( ) ; <nl> - auto resultType = Converter . convert ( IGM , result ) ; <nl> - { <nl> - if ( resultType . isNull ( ) ) <nl> - goto no_clang_type ; <nl> - <nl> - if ( auto tuple = dyn_cast < TupleType > ( input ) ) { <nl> - for ( auto argType : tuple . getElementTypes ( ) ) { <nl> - auto clangType = Converter . convert ( IGM , argType ) ; <nl> - if ( clangType . isNull ( ) ) <nl> - goto no_clang_type ; <nl> - paramTypes . push_back ( clangType ) ; <nl> - } <nl> - } else { <nl> - auto clangType = Converter . convert ( IGM , input ) ; <nl> - if ( clangType . isNull ( ) ) <nl> - goto no_clang_type ; <nl> - paramTypes . push_back ( clangType ) ; <nl> - } <nl> - clang : : FunctionProtoType : : ExtProtoInfo DefaultEPI ; <nl> - return clangCtx . getFunctionType ( resultType , paramTypes , DefaultEPI ) ; <nl> - } <nl> - no_clang_type : <nl> - / / Fall back to void ( ^ ) ( ) for block types we can ' t convert otherwise . As long <nl> - / / as it ' s a pointer type it doesn ' t matter exactly which for either ABI type <nl> - / / generation or standard Obj - C type encoding , but protocol extended method <nl> - / / encodings will break . <nl> - return clangCtx . getFunctionNoProtoType ( clangCtx . VoidTy ) ; <nl> - } <nl> - <nl> - / / FIXME : We hit this building Foundation , with a call on the type <nl> - / / encoding path . It seems like we shouldn ' t see FunctionType <nl> - / / at that point . <nl> clang : : CanQualType GenClangType : : visitFunctionType ( CanFunctionType type ) { <nl> - auto & clangCtx = getClangASTContext ( ) ; <nl> - <nl> - / / Convert to a Clang function type . <nl> - auto fnTy = convertFunctionType ( type ) ; <nl> - / / Turn it into a block pointer . <nl> - auto blockTy = clangCtx . getBlockPointerType ( fnTy ) ; <nl> - return clangCtx . getCanonicalType ( blockTy ) ; <nl> + llvm_unreachable ( " FunctionType should have been lowered away " ) ; <nl> } <nl> <nl> clang : : CanQualType GenClangType : : visitSILFunctionType ( CanSILFunctionType type ) { <nl> mmm a / test / IRGen / objc_pointers . swift <nl> ppp b / test / IRGen / objc_pointers . swift <nl> import Foundation <nl> y : UnsafeMutableRawPointer , <nl> z : UnsafePointer < Int > , <nl> w : AutoreleasingUnsafeMutablePointer < Foo ? > ) { } <nl> + <nl> + / / CHECK : define internal void @ _TToFC13objc_pointers3Foo24pointerMetatypeArgumentsfT1xGVs33AutoreleasingUnsafeMutablePointerPMPs9AnyObject__1yGS1_GSqPMPS2_____T_ ( % 0 * , i8 * , i8 * * , i8 * * ) <nl> + @ objc func pointerMetatypeArguments ( x : AutoreleasingUnsafeMutablePointer < AnyClass > , <nl> + y : AutoreleasingUnsafeMutablePointer < AnyClass ? > ) { } <nl> } <nl> new file mode 100644 <nl> index 000000000000 . . 95981ecd17c0 <nl> mmm / dev / null <nl> ppp b / validation - test / compiler_crashers_2_fixed / 0060 - sr2702 . swift <nl> <nl> + / / RUN : % target - swift - frontend % s - emit - ir <nl> + / / RUN : % target - swift - frontend % s - emit - ir - O <nl> + <nl> + import Foundation <nl> + <nl> + / / / This function returns true if inspectedClass is subclass of wantedSuperclass . <nl> + / / / This is achieved by climbing the class tree hierarchy using class_getSuperclass <nl> + / / / runtime function . This is useful when examining classes that do not have <nl> + / / / NSObject as root ( e . g . NSProxy subclasses ) . <nl> + private func XUClassKindOfClass ( _ inspectedClass : AnyClass ? , wantedSuperclass : AnyClass ? ) - > Bool { <nl> + / / We ' ve hit the root , so no , it ' s not <nl> + if inspectedClass = = nil { <nl> + return false <nl> + } <nl> + <nl> + / / It ' s the class , yay ! <nl> + if inspectedClass = = wantedSuperclass { <nl> + return true <nl> + } <nl> + <nl> + / / Recursively call the function on the superclass of inspectedClass <nl> + return XUClassKindOfClass ( class_getSuperclass ( inspectedClass ) , wantedSuperclass : wantedSuperclass ) <nl> + } <nl> + <nl> + / / / Works pretty much as + isKindOfClass : on NSObject , but will work fine even with <nl> + / / / NSProxy subclasses , which do not respond to + isKindOfClass : <nl> + public func XUClassIsSubclassOfClass ( _ superclass : AnyClass , subclass : AnyClass ) - > Bool { <nl> + return XUClassKindOfClass ( subclass , wantedSuperclass : superclass ) <nl> + } <nl> + <nl> + / / / Returns a list of subclasses of class T . Doesn ' t include the root T class . <nl> + public func XUAllSubclassesOfClass < T : AnyObject > ( _ aClass : T . Type ) - > [ T . Type ] { <nl> + var result : [ T . Type ] = [ ] <nl> + <nl> + var numClasses : Int32 = 0 <nl> + <nl> + / / Get the number of classes in the ObjC runtime <nl> + numClasses = objc_getClassList ( nil , 0 ) <nl> + <nl> + if numClasses > 0 { <nl> + / / Get them all <nl> + let memory = malloc ( MemoryLayout < AnyClass > . size * Int ( numClasses ) ) ! <nl> + defer { <nl> + free ( memory ) <nl> + } <nl> + <nl> + let classesPtr = memory . assumingMemoryBound ( to : Optional < AnyClass > . self ) <nl> + let classes = AutoreleasingUnsafeMutablePointer < AnyClass ? > ( classesPtr ) <nl> + numClasses = objc_getClassList ( classes , numClasses ) <nl> + <nl> + for i in 0 . . < Int ( numClasses ) { <nl> + / / Go through the classes , find out if the class is kind of aClass <nl> + / / and then add it to the list <nl> + <nl> + guard let cl = classes [ i ] else { <nl> + continue <nl> + } <nl> + <nl> + if XUClassKindOfClass ( cl , wantedSuperclass : aClass ) & & cl ! = aClass { <nl> + result . append ( cl as ! T . Type ) <nl> + } <nl> + } <nl> + } <nl> + <nl> + return result <nl> + } <nl>
IRGen : Fix Clang type conversion for pointers to optionals of metatypes
apple/swift
645d262f77c3afc24728a0fa212f1e9ce85595df
2017-01-04T05:27:28Z
mmm a / . gitignore <nl> ppp b / . gitignore <nl> config . status <nl> libtool <nl> protobuf - lite . pc <nl> protobuf . pc <nl> - * * / . deps <nl> + . deps <nl> stamp - h1 <nl> <nl> # in - tree build products <nl> - * * / * . o <nl> - * * / * . lo <nl> - * * / * . la <nl> + * . o <nl> + * . lo <nl> + * . la <nl> src / . libs <nl> <nl> - * * / . dirstamp <nl> + . dirstamp <nl> <nl> - * * / unittest * . pb . * <nl> - * * / cpp_test * . pb . * <nl> + unittest * . pb . * <nl> + cpp_test * . pb . * <nl> + <nl> + * . pyc <nl> + * . egg - info <nl> + * _pb2 . py <nl> + python / . eggs / <nl> + python / build / <nl> + python / google / protobuf / compiler / <nl> <nl> src / protoc <nl> src / unittest_proto_middleman <nl> <nl> + # Generated test scaffolding <nl> + src / protobuf * - test <nl> + src / test_plugin <nl> + src / testzip . * <nl> + src / zcg * zip <nl>
Merge pull request from tseaver / compat_w_git_lt_1 . 8
protocolbuffers/protobuf
e4f063f2638a26b7abfd01fe3a4117efb3d753c0
2014-11-18T02:17:10Z
mmm a / jstests / sharding / multi_mongos2 . js <nl> ppp b / jstests / sharding / multi_mongos2 . js <nl> assert . commandWorked ( st . s1 . adminCommand ( { shardcollection : " test . existing3 " , key : <nl> st . configRS . awaitLastOpCommitted ( ) ; <nl> <nl> assert . commandWorked ( st . s1 . adminCommand ( { split : " test . existing3 " , middle : { _id : 5 } } ) ) ; <nl> + st . configRS . awaitLastOpCommitted ( ) ; <nl> assert . commandWorked ( <nl> st . s0 . adminCommand ( { moveChunk : " test . existing3 " , find : { _id : 1 } , to : st . shard0 . shardName } ) ) ; <nl> <nl>
SERVER - 31238 Add awaitLastOpTimeCommitted between split and move chunk commands in multi_mongos2 . js
mongodb/mongo
f21fbad4a68fb9447a26c355a006e387b9eccd7b
2019-10-22T15:18:43Z
mmm a / include / swift / AST / DiagnosticsModuleDiffer . def <nl> ppp b / include / swift / AST / DiagnosticsModuleDiffer . def <nl> ERROR ( func_self_access_change , none , " % 0 has self access kind changing from % 1 to <nl> <nl> ERROR ( param_ownership_change , none , " % 0 has % 1 changing from % 2 to % 3 " , ( StringRef , StringRef , StringRef , StringRef ) ) <nl> <nl> + ERROR ( type_witness_change , none , " % 0 has type witness type for % 1 changing from % 2 to % 3 " , ( StringRef , StringRef , StringRef , StringRef ) ) <nl> + <nl> # ifndef DIAG_NO_UNDEF <nl> # if defined ( DIAG ) <nl> # undef DIAG <nl> mmm a / test / api - digester / Inputs / cake1 . swift <nl> ppp b / test / api - digester / Inputs / cake1 . swift <nl> public class FinalFuncContainer { <nl> public func NewFinalFunc ( ) { } <nl> public final func NoLongerFinalFunc ( ) { } <nl> } <nl> + <nl> + public protocol AssociatedTypesProtocol { <nl> + associatedtype T <nl> + } <nl> + <nl> + public class TChangesFromIntToString : AssociatedTypesProtocol { <nl> + public typealias T = Int <nl> + } <nl> mmm a / test / api - digester / Inputs / cake2 . swift <nl> ppp b / test / api - digester / Inputs / cake2 . swift <nl> public class FinalFuncContainer { <nl> public final func NewFinalFunc ( ) { } <nl> public func NoLongerFinalFunc ( ) { } <nl> } <nl> + <nl> + public protocol AssociatedTypesProtocol { <nl> + associatedtype T <nl> + } <nl> + <nl> + public class TChangesFromIntToString : AssociatedTypesProtocol { <nl> + public typealias T = String <nl> + } <nl> mmm a / test / api - digester / Outputs / Cake - abi . txt <nl> ppp b / test / api - digester / Outputs / Cake - abi . txt <nl> cake1 : Struct Somestruct2 has been renamed to Struct NSSomestruct2 <nl> <nl> / * Type Changes * / <nl> cake1 : AssociatedType AssociatedTypePro . T3 has default type change from C1 to C6 <nl> + cake1 : Class TChangesFromIntToString has type witness type for AssociatedTypesProtocol . T changing from Int to String <nl> cake1 : Constructor S1 . init ( _ : ) has parameter 0 type change from Int to Double <nl> cake1 : Func C1 . foo2 ( _ : ) has parameter 0 type change from Int to ( ) - > ( ) <nl> cake1 : Func C7 . foo ( _ : _ : ) has removed default argument from parameter 0 <nl> mmm a / test / api - digester / Outputs / Cake . txt <nl> ppp b / test / api - digester / Outputs / Cake . txt <nl> cake1 : Func C7 . foo ( _ : _ : ) has removed default argument from parameter 0 <nl> cake1 : Func C7 . foo ( _ : _ : ) has removed default argument from parameter 1 <nl> cake1 : Func ownershipChange ( _ : _ : ) has parameter 0 changing from InOut to Default <nl> cake1 : Func ownershipChange ( _ : _ : ) has parameter 1 changing from Shared to Owned <nl> + cake1 : TypeAlias TChangesFromIntToString . T has underlying type change from Int to String <nl> <nl> / * Decl Attribute changes * / <nl> cake1 : Func C1 . foo1 ( ) is now not static <nl> mmm a / tools / swift - api - digester / ModuleAnalyzerNodes . cpp <nl> ppp b / tools / swift - api - digester / ModuleAnalyzerNodes . cpp <nl> StringRef SDKNodeType : : getParamValueOwnership ( ) const { <nl> <nl> StringRef SDKNodeType : : getTypeRoleDescription ( ) const { <nl> assert ( isTopLevelType ( ) ) ; <nl> - auto P = cast < SDKNodeDecl > ( getParent ( ) ) ; <nl> + auto P = getParent ( ) ; <nl> switch ( P - > getKind ( ) ) { <nl> case SDKNodeKind : : Root : <nl> case SDKNodeKind : : TypeNominal : <nl> StringRef SDKNodeType : : getTypeRoleDescription ( ) const { <nl> case SDKNodeKind : : DeclType : <nl> case SDKNodeKind : : DeclOperator : <nl> case SDKNodeKind : : Conformance : <nl> - case SDKNodeKind : : TypeWitness : <nl> llvm_unreachable ( " Type Parent is wrong " ) ; <nl> case SDKNodeKind : : DeclFunction : <nl> case SDKNodeKind : : DeclConstructor : <nl> StringRef SDKNodeType : : getTypeRoleDescription ( ) const { <nl> return " underlying " ; <nl> case SDKNodeKind : : DeclAssociatedType : <nl> return " default " ; <nl> + case SDKNodeKind : : TypeWitness : <nl> + return " type witness type " ; <nl> } <nl> } <nl> <nl> StringRef SDKNodeDecl : : getScreenInfo ( ) const { <nl> return Ctx . buffer ( OS . str ( ) ) ; <nl> } <nl> <nl> - bool SDKNodeDecl : : isSDKPrivate ( ) const { <nl> - if ( getName ( ) . startswith ( " __ " ) ) <nl> - return true ; <nl> - if ( auto * PD = dyn_cast < SDKNodeDecl > ( getParent ( ) ) ) <nl> - return PD - > isSDKPrivate ( ) ; <nl> - return false ; <nl> - } <nl> - <nl> void SDKNodeDecl : : printFullyQualifiedName ( llvm : : raw_ostream & OS ) const { <nl> std : : vector < NodePtr > Parent ; <nl> for ( auto * P = getParent ( ) ; isa < SDKNodeDecl > ( P ) ; P = P - > getParent ( ) ) <nl> SDKNodeType * SDKNodeTypeWitness : : getUnderlyingType ( ) const { <nl> return getOnlyChild ( ) - > getAs < SDKNodeType > ( ) ; <nl> } <nl> <nl> + StringRef SDKNodeTypeWitness : : getWitnessedTypeName ( ) const { <nl> + return Ctx . buffer ( ( llvm : : Twine ( getParent ( ) - > getAs < SDKNodeConformance > ( ) - > <nl> + getName ( ) ) + " . " + getName ( ) ) . str ( ) ) ; <nl> + } <nl> + <nl> Optional < SDKNodeDeclType * > SDKNodeDeclType : : getSuperclass ( ) const { <nl> if ( SuperclassUsr . empty ( ) ) <nl> return None ; <nl> mmm a / tools / swift - api - digester / ModuleAnalyzerNodes . h <nl> ppp b / tools / swift - api - digester / ModuleAnalyzerNodes . h <nl> class SDKNodeDecl : public SDKNode { <nl> DeclKind getDeclKind ( ) const { return DKind ; } <nl> void printFullyQualifiedName ( llvm : : raw_ostream & OS ) const ; <nl> StringRef getFullyQualifiedName ( ) const ; <nl> - bool isSDKPrivate ( ) const ; <nl> bool isDeprecated ( ) const { return IsDeprecated ; } ; <nl> bool isProtocolRequirement ( ) const { return IsProtocolReq ; } <nl> bool hasDeclAttribute ( DeclAttrKind DAKind ) const ; <nl> class SDKNodeConformance : public SDKNode { <nl> class SDKNodeTypeWitness : public SDKNode { <nl> public : <nl> SDKNodeTypeWitness ( SDKNodeInitInfo Info ) ; <nl> + StringRef getWitnessedTypeName ( ) const ; <nl> SDKNodeType * getUnderlyingType ( ) const ; <nl> static bool classof ( const SDKNode * N ) ; <nl> } ; <nl> mmm a / tools / swift - api - digester / ModuleDiagsConsumer . cpp <nl> ppp b / tools / swift - api - digester / ModuleDiagsConsumer . cpp <nl> static StringRef getCategoryName ( uint32_t ID ) { <nl> case LocalDiagID : : decl_type_change : <nl> case LocalDiagID : : func_type_escaping_changed : <nl> case LocalDiagID : : param_ownership_change : <nl> + case LocalDiagID : : type_witness_change : <nl> return " / * Type Changes * / " ; <nl> case LocalDiagID : : raw_type_change : <nl> return " / * RawRepresentable Changes * / " ; <nl> mmm a / tools / swift - api - digester / swift - api - digester . cpp <nl> ppp b / tools / swift - api - digester / swift - api - digester . cpp <nl> void swift : : ide : : api : : SDKNodeDeclVar : : diagnose ( SDKNode * Right ) { <nl> } <nl> <nl> static bool shouldDiagnoseType ( SDKNodeType * T ) { <nl> - return T - > isTopLevelType ( ) & & <nl> - ! cast < SDKNodeDecl > ( T - > getParent ( ) ) - > isSDKPrivate ( ) ; <nl> + return T - > isTopLevelType ( ) ; <nl> } <nl> <nl> void swift : : ide : : api : : SDKNodeType : : diagnose ( SDKNode * Right ) { <nl> void swift : : ide : : api : : SDKNodeType : : diagnose ( SDKNode * Right ) { <nl> if ( ! RT | | ! shouldDiagnoseType ( this ) ) <nl> return ; <nl> assert ( isTopLevelType ( ) ) ; <nl> + <nl> + / / Diagnose type witness changes when diagnosing ABI breakages . <nl> + if ( auto * Wit = dyn_cast < SDKNodeTypeWitness > ( getParent ( ) ) ) { <nl> + auto * Conform = Wit - > getParent ( ) - > getAs < SDKNodeConformance > ( ) ; <nl> + if ( Ctx . checkingABI ( ) & & getPrintedName ( ) ! = RT - > getPrintedName ( ) ) { <nl> + Diags . diagnose ( SourceLoc ( ) , diag : : type_witness_change , <nl> + Conform - > getNominalTypeDecl ( ) - > getScreenInfo ( ) , <nl> + Wit - > getWitnessedTypeName ( ) , <nl> + getPrintedName ( ) , RT - > getPrintedName ( ) ) ; <nl> + } <nl> + return ; <nl> + } <nl> + <nl> StringRef Descriptor = getTypeRoleDescription ( ) ; <nl> + assert ( isa < SDKNodeDecl > ( getParent ( ) ) ) ; <nl> auto LParent = cast < SDKNodeDecl > ( getParent ( ) ) ; <nl> assert ( LParent - > getKind ( ) = = RT - > getParent ( ) - > getAs < SDKNodeDecl > ( ) - > getKind ( ) ) ; <nl> <nl> void DiagnosisEmitter : : handle ( const SDKNodeDecl * Node , NodeAnnotation Anno ) { <nl> } <nl> <nl> void DiagnosisEmitter : : visitDecl ( SDKNodeDecl * Node ) { <nl> - if ( Node - > isSDKPrivate ( ) ) <nl> - return ; <nl> std : : vector < NodeAnnotation > Scratch ; <nl> for ( auto Anno : Node - > getAnnotations ( Scratch ) ) <nl> handle ( Node , Anno ) ; <nl>
Merge pull request from nkcsgexi / type - witness - diag
apple/swift
c4a4b0d1b360d4cf1c9748a803143a7e2b745c25
2018-10-26T18:59:03Z
new file mode 100644 <nl> index 0000000000 . . 7ffc78acd1 <nl> mmm / dev / null <nl> ppp b / libraries / ESP8266WiFi / examples / WiFiClient / WiFiClient . ino <nl> <nl> + / * <nl> + * This sketch sends data via HTTP GET requests to data . sparkfun . com service . <nl> + * <nl> + * You need to get streamId and privateKey at data . sparkfun . com and paste them <nl> + * below . Or just customize this script to talk to other HTTP servers . <nl> + * <nl> + * / <nl> + <nl> + # include < ESP8266WiFi . h > <nl> + <nl> + const char * ssid = " your - ssid " ; <nl> + const char * password = " your - password " ; <nl> + <nl> + const char * host = " data . sparkfun . com " ; <nl> + const char * streamId = " . . . . . . . . . . . . . . . . . . . . " ; <nl> + const char * privateKey = " . . . . . . . . . . . . . . . . . . . . " ; <nl> + <nl> + void setup ( ) { <nl> + Serial . begin ( 115200 ) ; <nl> + delay ( 10 ) ; <nl> + <nl> + / / We start by connecting to a WiFi network <nl> + <nl> + Serial . println ( ) ; <nl> + Serial . println ( ) ; <nl> + Serial . print ( " Connecting to " ) ; <nl> + Serial . println ( ssid ) ; <nl> + <nl> + WiFi . begin ( ssid , password ) ; <nl> + <nl> + while ( WiFi . status ( ) ! = WL_CONNECTED ) { <nl> + delay ( 500 ) ; <nl> + Serial . print ( " . " ) ; <nl> + } <nl> + <nl> + Serial . println ( " " ) ; <nl> + Serial . println ( " WiFi connected " ) ; <nl> + Serial . println ( " IP address : " ) ; <nl> + Serial . println ( WiFi . localIP ( ) ) ; <nl> + } <nl> + <nl> + int value = 0 ; <nl> + <nl> + void loop ( ) { <nl> + delay ( 5000 ) ; <nl> + + + value ; <nl> + <nl> + Serial . print ( " connecting to " ) ; <nl> + Serial . println ( host ) ; <nl> + <nl> + / / Use WiFiClient class to create TCP connections <nl> + WiFiClient client ; <nl> + const int httpPort = 80 ; <nl> + if ( ! client . connect ( host , httpPort ) ) { <nl> + Serial . println ( " connection failed " ) ; <nl> + return ; <nl> + } <nl> + <nl> + / / We now create a URI for the request <nl> + String url = " / input / " ; <nl> + url + = streamId ; <nl> + url + = " ? private_key = " ; <nl> + url + = privateKey ; <nl> + url + = " & value = " ; <nl> + url + = value ; <nl> + <nl> + Serial . print ( " Requesting URL : " ) ; <nl> + Serial . println ( url ) ; <nl> + <nl> + / / This will send the request to the server <nl> + client . print ( String ( " GET " ) + url + " HTTP / 1 . 1 \ r \ n " + <nl> + " Host : " + host + " \ r \ n " + <nl> + " Connection : close \ r \ n \ r \ n " ) ; <nl> + delay ( 10 ) ; <nl> + <nl> + / / Read all the lines of the reply from server and print them to Serial <nl> + while ( client . available ( ) ) { <nl> + String line = client . readStringUntil ( ' \ r ' ) ; <nl> + Serial . print ( line ) ; <nl> + } <nl> + <nl> + Serial . println ( ) ; <nl> + Serial . println ( " closing connection " ) ; <nl> + } <nl> + <nl> new file mode 100644 <nl> index 0000000000 . . 3e6ff7363b <nl> mmm / dev / null <nl> ppp b / libraries / ESP8266WiFi / examples / WiFiScan / WiFiScan . ino <nl> <nl> + / * <nl> + * This sketch demonstrates how to scan WiFi networks . <nl> + * The API is almost the same as with the WiFi Shield library , <nl> + * the most obvious difference being the different file you need to include : <nl> + * / <nl> + # include " ESP8266WiFi . h " <nl> + <nl> + void setup ( ) { <nl> + Serial . begin ( 115200 ) ; <nl> + <nl> + / / Set WiFi to station mode and disconnect from an AP if it was previously connected <nl> + WiFi . mode ( WIFI_STA ) ; <nl> + WiFi . disconnect ( ) ; <nl> + delay ( 100 ) ; <nl> + <nl> + Serial . println ( " Setup done " ) ; <nl> + } <nl> + <nl> + void loop ( ) { <nl> + Serial . println ( " scan start " ) ; <nl> + <nl> + / / WiFi . scanNetworks will return the number of networks found <nl> + int n = WiFi . scanNetworks ( ) ; <nl> + Serial . println ( " scan done " ) ; <nl> + if ( n = = 0 ) <nl> + Serial . println ( " no networks found " ) ; <nl> + else <nl> + { <nl> + Serial . print ( n ) ; <nl> + Serial . println ( " networks found " ) ; <nl> + for ( int i = 0 ; i < n ; + + i ) <nl> + { <nl> + / / Print SSID and RSSI for each network found <nl> + Serial . print ( i + 1 ) ; <nl> + Serial . print ( " : " ) ; <nl> + Serial . print ( WiFi . SSID ( i ) ) ; <nl> + Serial . print ( " ( " ) ; <nl> + Serial . print ( WiFi . RSSI ( i ) ) ; <nl> + Serial . print ( " ) " ) ; <nl> + Serial . println ( ( WiFi . encryptionType ( i ) = = ENC_TYPE_NONE ) ? " " : " * " ) ; <nl> + delay ( 10 ) ; <nl> + } <nl> + } <nl> + Serial . println ( " " ) ; <nl> + <nl> + / / Wait a bit before scanning again <nl> + delay ( 5000 ) ; <nl> + } <nl> new file mode 100644 <nl> index 0000000000 . . ed1b64fc9c <nl> mmm / dev / null <nl> ppp b / libraries / ESP8266WiFi / examples / WiFiWebServer / WiFiWebServer . ino <nl> <nl> + / * <nl> + * This sketch demonstrates how to set up a simple HTTP - like server . <nl> + * The server will set a GPIO pin depending on the request <nl> + * http : / / server_ip / gpio / 0 will set the GPIO2 low , <nl> + * http : / / server_ip / gpio / 1 will set the GPIO2 high <nl> + * server_ip is the IP address of the ESP8266 module , will be <nl> + * printed to Serial when the module is connected . <nl> + * / <nl> + <nl> + # include < ESP8266WiFi . h > <nl> + <nl> + const char * ssid = " your - ssid " ; <nl> + const char * password = " your - password " ; <nl> + <nl> + / / Create an instance of the server <nl> + / / specify the port to listen on ( first argument ) <nl> + / / and the receive buffer size ( second argument ) <nl> + WiFiServer server ( 80 , 2048 ) ; <nl> + <nl> + void setup ( ) { <nl> + Serial . begin ( 115200 ) ; <nl> + delay ( 10 ) ; <nl> + <nl> + / / prepare GPIO2 <nl> + pinMode ( 2 , OUTPUT ) ; <nl> + digitalWrite ( 2 , 0 ) ; <nl> + <nl> + / / Connect to WiFi network <nl> + Serial . println ( ) ; <nl> + Serial . println ( ) ; <nl> + Serial . print ( " Connecting to " ) ; <nl> + Serial . println ( ssid ) ; <nl> + <nl> + WiFi . begin ( ssid , password ) ; <nl> + <nl> + while ( WiFi . status ( ) ! = WL_CONNECTED ) { <nl> + delay ( 500 ) ; <nl> + Serial . print ( " . " ) ; <nl> + } <nl> + Serial . println ( " " ) ; <nl> + Serial . println ( " WiFi connected " ) ; <nl> + <nl> + / / Start the server <nl> + server . begin ( ) ; <nl> + Serial . println ( " Server started " ) ; <nl> + <nl> + / / Print the IP address <nl> + Serial . println ( WiFi . localIP ( ) ) ; <nl> + } <nl> + <nl> + void loop ( ) { <nl> + / / Check if a client has connected <nl> + WiFiClient client = server . available ( ) ; <nl> + if ( ! client ) { <nl> + return ; <nl> + } <nl> + <nl> + / / Wait until the client sends some data <nl> + Serial . println ( " new client " ) ; <nl> + while ( ! client . available ( ) ) { <nl> + delay ( 1 ) ; <nl> + } <nl> + <nl> + / / Read the first line of the request <nl> + String req = client . readStringUntil ( ' \ r ' ) ; <nl> + Serial . println ( req ) ; <nl> + client . flush ( ) ; <nl> + <nl> + / / Match the request <nl> + int val ; <nl> + if ( req . indexOf ( " / gpio / 0 " ) ! = - 1 ) <nl> + val = 0 ; <nl> + else if ( req . indexOf ( " / gpio / 1 " ) ! = - 1 ) <nl> + val = 1 ; <nl> + else { <nl> + Serial . println ( " invalid request " ) ; <nl> + client . stop ( ) ; <nl> + return ; <nl> + } <nl> + <nl> + / / Set GPIO2 according to the request <nl> + digitalWrite ( 2 , val ) ; <nl> + <nl> + client . flush ( ) ; <nl> + <nl> + / / Prepare the response <nl> + String s = " HTTP / 1 . 1 200 OK \ r \ nContent - Type : text / html \ r \ n \ r \ n < ! DOCTYPE HTML > \ r \ n < html > \ r \ nGPIO is now " ; <nl> + s + = ( val ) ? " high " : " low " ; <nl> + s + = " < / html > \ n " ; <nl> + <nl> + / / Send the response to the client <nl> + client . print ( s ) ; <nl> + delay ( 1 ) ; <nl> + Serial . println ( " Client disonnected " ) ; <nl> + <nl> + / / The client will actually be disconnected <nl> + / / when the function returns and ' client ' object is detroyed <nl> + } <nl> + <nl>
Add samples for the ESP8266WiFi library
esp8266/Arduino
d849f2298facd98fc510e9be05215603d2819c42
2014-12-23T12:39:48Z
mmm a / googletest / src / gtest . cc <nl> ppp b / googletest / src / gtest . cc <nl> void ReportInvalidTestCaseType ( const char * test_case_name , <nl> < < " probably rename one of the classes to put the tests into different \ n " <nl> < < " test cases . " ; <nl> <nl> - fprintf ( stderr , " % s % s " , <nl> - FormatFileLocation ( code_location . file . c_str ( ) , <nl> - code_location . line ) . c_str ( ) , <nl> - errors . GetString ( ) . c_str ( ) ) ; <nl> + GTEST_LOG_ ( ERROR ) <nl> + < < FormatFileLocation ( code_location . file . c_str ( ) , <nl> + code_location . line ) , <nl> + < < " " < < errors . GetString ( ) ; <nl> } <nl> # endif / / GTEST_HAS_PARAM_TEST <nl> <nl> class XmlUnitTestResultPrinter : public EmptyTestEventListener { <nl> XmlUnitTestResultPrinter : : XmlUnitTestResultPrinter ( const char * output_file ) <nl> : output_file_ ( output_file ) { <nl> if ( output_file_ . c_str ( ) = = NULL | | output_file_ . empty ( ) ) { <nl> - fprintf ( stderr , " XML output file may not be null \ n " ) ; <nl> - fflush ( stderr ) ; <nl> + { <nl> + / / scoped to make sure the log is flushed before we exit <nl> + GTEST_LOG_ ( FATAL ) < < " XML output file may not be null " ; <nl> + } <nl> exit ( EXIT_FAILURE ) ; <nl> } <nl> } <nl> void XmlUnitTestResultPrinter : : OnTestIterationEnd ( const UnitTest & unit_test , <nl> / / 3 . To interpret the meaning of errno in a thread - safe way , <nl> / / we need the strerror_r ( ) function , which is not available on <nl> / / Windows . <nl> - fprintf ( stderr , <nl> - " Unable to open file \ " % s \ " \ n " , <nl> - output_file_ . c_str ( ) ) ; <nl> - fflush ( stderr ) ; <nl> + { / / scoped to ensure the log is flushed before we exit <nl> + GTEST_LOG_ ( FATAL ) < < " Unable to open file \ " " <nl> + < < output_file_ < < " \ " " ; <nl> + } <nl> exit ( EXIT_FAILURE ) ; <nl> } <nl> std : : stringstream stream ; <nl> void UnitTestImpl : : ConfigureXmlOutput ( ) { <nl> listeners ( ) - > SetDefaultXmlGenerator ( new XmlUnitTestResultPrinter ( <nl> UnitTestOptions : : GetAbsolutePathToOutputFile ( ) . c_str ( ) ) ) ; <nl> } else if ( output_format ! = " " ) { <nl> - printf ( " WARNING : unrecognized output format \ " % s \ " ignored . \ n " , <nl> - output_format . c_str ( ) ) ; <nl> - fflush ( stdout ) ; <nl> + GTEST_LOG_ ( WARNING ) < < " WARNING : unrecognized output format \ " " <nl> + < < output_format <nl> + < < " \ " ignored . " ; <nl> } <nl> } <nl> <nl> void UnitTestImpl : : ConfigureStreamingOutput ( ) { <nl> listeners ( ) - > Append ( new StreamingListener ( target . substr ( 0 , pos ) , <nl> target . substr ( pos + 1 ) ) ) ; <nl> } else { <nl> - printf ( " WARNING : unrecognized streaming target \ " % s \ " ignored . \ n " , <nl> - target . c_str ( ) ) ; <nl> - fflush ( stdout ) ; <nl> + GTEST_LOG_ ( WARNING ) < < " unrecognized streaming target \ " " <nl> + < < target <nl> + < < " \ " ignored . " ; <nl> } <nl> } <nl> } <nl> static void TearDownEnvironment ( Environment * env ) { env - > TearDown ( ) ; } <nl> bool UnitTestImpl : : RunAllTests ( ) { <nl> / / Makes sure InitGoogleTest ( ) was called . <nl> if ( ! GTestIsInitialized ( ) ) { <nl> - printf ( " % s " , <nl> - " \ nThis test program did NOT call : : testing : : InitGoogleTest " <nl> - " before calling RUN_ALL_TESTS ( ) . Please fix it . \ n " ) ; <nl> + GTEST_LOG_ ( ERROR ) < < <nl> + " \ nThis test program did NOT call : : testing : : InitGoogleTest " <nl> + " before calling RUN_ALL_TESTS ( ) . Please fix it . " ; <nl> return false ; <nl> } <nl> <nl> bool ParseGoogleTestFlag ( const char * const arg ) { <nl> void LoadFlagsFromFile ( const std : : string & path ) { <nl> FILE * flagfile = posix : : FOpen ( path . c_str ( ) , " r " ) ; <nl> if ( ! flagfile ) { <nl> - fprintf ( stderr , <nl> - " Unable to open file \ " % s \ " \ n " , <nl> - GTEST_FLAG ( flagfile ) . c_str ( ) ) ; <nl> - fflush ( stderr ) ; <nl> + { / / scoped to ensure the log is flushed before we exit <nl> + GTEST_LOG_ ( FATAL ) < < " Unable to open file \ " " <nl> + < < GTEST_FLAG ( flagfile ) <nl> + < < " \ " " ; <nl> + } <nl> exit ( EXIT_FAILURE ) ; <nl> } <nl> std : : string contents ( ReadEntireFile ( flagfile ) ) ; <nl>
Use GTEST_LOG instead of printf
google/googletest
8f04622cc1507a3954490a03a1dfcff9e340359e
2017-08-14T17:45:27Z
mmm a / src / flag - definitions . h <nl> ppp b / src / flag - definitions . h <nl> DEFINE_BOOL ( allow_natives_syntax , false , " allow natives syntax " ) <nl> DEFINE_BOOL ( trace_parse , false , " trace parsing and preparsing " ) <nl> DEFINE_BOOL ( trace_preparse , false , " trace preparsing decisions " ) <nl> DEFINE_BOOL ( lazy_inner_functions , true , " enable lazy parsing inner functions " ) <nl> - DEFINE_BOOL ( aggressive_lazy_inner_functions , true , <nl> + DEFINE_BOOL ( aggressive_lazy_inner_functions , false , <nl> " even lazier inner function parsing " ) <nl> DEFINE_IMPLICATION ( aggressive_lazy_inner_functions , lazy_inner_functions ) <nl> DEFINE_BOOL ( preparser_scope_analysis , false , <nl>
Revert " Revert " Revert " [ parser ] FLAG_aggressive_lazy_functions = true for a test run . " " "
v8/v8
0d14ae178113539e76c4733f73ad8197f18427f4
2017-08-21T10:34:39Z
mmm a / include / swift / AST / LazyResolver . h <nl> ppp b / include / swift / AST / LazyResolver . h <nl> class alignas ( void * ) LazyMemberLoader { <nl> public : <nl> virtual ~ LazyMemberLoader ( ) = default ; <nl> <nl> - / / / Populates the given vector with all member decls for \ p D . <nl> + / / / Populates a given decl \ p D with all of its members . <nl> / / / <nl> / / / The implementation should add the members to D . <nl> virtual void <nl> loadAllMembers ( Decl * D , uint64_t contextData ) = 0 ; <nl> <nl> + / / / Populates a vector with all members of \ p D that have DeclName <nl> + / / / matching \ p N . <nl> + / / / <nl> + / / / Returns None if an error occurred \ em or named member - lookup <nl> + / / / was otherwise unsupported in this implementation or Decl . <nl> + virtual Optional < TinyPtrVector < ValueDecl * > > <nl> + loadNamedMembers ( const Decl * D , DeclName N , uint64_t contextData ) = 0 ; <nl> + <nl> / / / Populates the given vector with all conformances for \ p D . <nl> / / / <nl> / / / The implementation should \ em not call setConformances on \ p D . <nl> mmm a / include / swift / Basic / LangOptions . h <nl> ppp b / include / swift / Basic / LangOptions . h <nl> namespace swift { <nl> / / / \ brief Enable the iterative type checker . <nl> bool IterativeTypeChecker = false ; <nl> <nl> + / / / \ brief Enable named lazy member loading . <nl> + bool NamedLazyMemberLoading = false ; <nl> + <nl> / / / Debug the generic signatures computed by the generic signature builder . <nl> bool DebugGenericSignatures = false ; <nl> <nl> mmm a / include / swift / Basic / Statistics . def <nl> ppp b / include / swift / Basic / Statistics . def <nl> FRONTEND_STATISTIC ( Sema , NumLazyIterableDeclContexts ) <nl> / / / Number of direct member - name lookups performed on nominal types . <nl> FRONTEND_STATISTIC ( Sema , NominalTypeLookupDirectCount ) <nl> <nl> + / / / Number of member - name lookups that avoided loading all members . <nl> + FRONTEND_STATISTIC ( Sema , NamedLazyMemberLoadSuccessCount ) <nl> + <nl> + / / / Number of member - name lookups that wound up loading all members . <nl> + FRONTEND_STATISTIC ( Sema , NamedLazyMemberLoadFailureCount ) <nl> + <nl> / / / Number of types deserialized . <nl> FRONTEND_STATISTIC ( Sema , NumTypesDeserialized ) <nl> <nl> mmm a / include / swift / Option / FrontendOptions . td <nl> ppp b / include / swift / Option / FrontendOptions . td <nl> def propagate_constraints : Flag < [ " - " ] , " propagate - constraints " > , <nl> def iterative_type_checker : Flag < [ " - " ] , " iterative - type - checker " > , <nl> HelpText < " Enable the iterative type checker " > ; <nl> <nl> + def enable_named_lazy_member_loading : Flag < [ " - " ] , " enable - named - lazy - member - loading " > , <nl> + HelpText < " Enable per - name lazy member loading " > ; <nl> + <nl> def debug_generic_signatures : Flag < [ " - " ] , " debug - generic - signatures " > , <nl> HelpText < " Debug generic signatures " > ; <nl> <nl> mmm a / include / swift / Serialization / ModuleFile . h <nl> ppp b / include / swift / Serialization / ModuleFile . h <nl> class ModuleFile <nl> virtual void loadAllMembers ( Decl * D , <nl> uint64_t contextData ) override ; <nl> <nl> + virtual <nl> + Optional < TinyPtrVector < ValueDecl * > > <nl> + loadNamedMembers ( const Decl * D , DeclName N , <nl> + uint64_t contextData ) override ; <nl> + <nl> virtual void <nl> loadAllConformances ( const Decl * D , uint64_t contextData , <nl> SmallVectorImpl < ProtocolConformance * > & Conforms ) override ; <nl> mmm a / lib / AST / GenericSignatureBuilder . cpp <nl> ppp b / lib / AST / GenericSignatureBuilder . cpp <nl> ConstraintResult GenericSignatureBuilder : : expandConformanceRequirement ( <nl> } <nl> } <nl> <nl> + / / Remaining logic is not relevant in ObjC protocol cases . <nl> + if ( proto - > isObjC ( ) ) <nl> + return ConstraintResult : : Resolved ; <nl> + <nl> / / Collect all of the inherited associated types and typealiases in the <nl> / / inherited protocols ( recursively ) . <nl> llvm : : MapVector < DeclName , TinyPtrVector < TypeDecl * > > inheritedTypeDecls ; <nl> mmm a / lib / AST / NameLookup . cpp <nl> ppp b / lib / AST / NameLookup . cpp <nl> <nl> # include " swift / Basic / STLExtras . h " <nl> # include " llvm / ADT / DenseMap . h " <nl> # include " llvm / ADT / TinyPtrVector . h " <nl> + # include " llvm / Support / Debug . h " <nl> + # include " llvm / Support / raw_ostream . h " <nl> + <nl> + # define DEBUG_TYPE " namelookup " <nl> <nl> using namespace swift ; <nl> <nl> TinyPtrVector < ValueDecl * > NominalTypeDecl : : lookupDirect ( <nl> DeclName name , <nl> bool ignoreNewExtensions ) { <nl> RecursiveSharedTimer : : Guard guard ; <nl> - if ( auto s = getASTContext ( ) . Stats ) { <nl> + ASTContext & ctx = getASTContext ( ) ; <nl> + if ( auto s = ctx . Stats ) { <nl> + + s - > getFrontendCounters ( ) . NominalTypeLookupDirectCount ; <nl> guard = s - > getFrontendRecursiveSharedTimers ( ) <nl> . NominalTypeDecl__lookupDirect . getGuard ( ) ; <nl> } <nl> <nl> + DEBUG ( llvm : : dbgs ( ) < < getNameStr ( ) < < " . lookupDirect ( " < < name < < " ) " <nl> + < < " , lookupTable . getInt ( ) = " < < LookupTable . getInt ( ) <nl> + < < " , hasLazyMembers ( ) = " < < hasLazyMembers ( ) <nl> + < < " \ n " ) ; <nl> + <nl> + bool hasExtensionsToConsider = false ; <nl> + if ( ! ignoreNewExtensions ) { <nl> + auto E = getExtensions ( ) ; <nl> + hasExtensionsToConsider = E . begin ( ) ! = E . end ( ) ; <nl> + } <nl> + <nl> + if ( ! hasExtensionsToConsider & & <nl> + ctx . LangOpts . NamedLazyMemberLoading & & <nl> + ! LookupTable . getInt ( ) & & <nl> + hasLazyMembers ( ) ) { <nl> + / / The lookup table ( containing all loaded members ) has not yet been built ; <nl> + / / we * might * be able to avoid loading all members , just focus on the ones <nl> + / / matching the name we were asked for . <nl> + TinyPtrVector < ValueDecl * > results ; <nl> + auto contextInfo = <nl> + ctx . getOrCreateLazyIterableContextData ( this , <nl> + / * lazyLoader = * / nullptr ) ; <nl> + if ( auto results = <nl> + contextInfo - > loader - > loadNamedMembers ( this , name , <nl> + contextInfo - > memberData ) ) { <nl> + if ( auto s = ctx . Stats ) { <nl> + + + s - > getFrontendCounters ( ) . NamedLazyMemberLoadSuccessCount ; <nl> + } <nl> + return * results ; <nl> + } else { <nl> + if ( auto s = ctx . Stats ) { <nl> + + + s - > getFrontendCounters ( ) . NamedLazyMemberLoadFailureCount ; <nl> + } <nl> + } <nl> + } <nl> + <nl> ( void ) getMembers ( ) ; <nl> <nl> / / Make sure we have the complete list of members ( in this nominal and in all <nl> mmm a / lib / ClangImporter / ClangImporter . cpp <nl> ppp b / lib / ClangImporter / ClangImporter . cpp <nl> void ClangImporter : : Implementation : : lookupAllObjCMembers ( <nl> } <nl> } <nl> <nl> + Optional < TinyPtrVector < ValueDecl * > > <nl> + ClangImporter : : Implementation : : loadNamedMembers ( <nl> + const Decl * D , DeclName N , uint64_t contextData ) { <nl> + <nl> + auto * DC = cast < DeclContext > ( D ) ; <nl> + <nl> + auto * CD = D - > getClangDecl ( ) ; <nl> + assert ( CD & & " loadNamedMembers on a Decl without a clangDecl " ) ; <nl> + <nl> + / / There are 3 cases : <nl> + / / <nl> + / / - The decl is from a bridging header , CMO is Some ( nullptr ) <nl> + / / which denotes the __ObjC Swift module and its associated <nl> + / / BridgingHeaderLookupTable . <nl> + / / <nl> + / / - The decl is from a clang module , CMO is Some ( M ) for non - null <nl> + / / M and we can use the table for that module . <nl> + / / <nl> + / / - The decl is a forward declaration , CMO is None , which should <nl> + / / never be the case if we got here ( someone is asking for members ) . <nl> + / / <nl> + / / findLookupTable , below , handles the first two cases ; we assert on the <nl> + / / third . <nl> + <nl> + auto CMO = getClangSubmoduleForDecl ( CD ) ; <nl> + assert ( CMO & & " loadNamedMembers on a forward - declared Decl " ) ; <nl> + <nl> + auto table = findLookupTable ( * CMO ) ; <nl> + assert ( table & & " clang module without lookup table " ) ; <nl> + <nl> + clang : : ASTContext & clangCtx = getClangASTContext ( ) ; <nl> + <nl> + TinyPtrVector < ValueDecl * > Members ; <nl> + if ( auto * CPD = dyn_cast < clang : : ObjCProtocolDecl > ( CD ) ) { <nl> + for ( auto entry : table - > lookup ( SerializedSwiftName ( N . getBaseName ( ) ) , CPD ) ) { <nl> + if ( ! entry . is < clang : : NamedDecl * > ( ) ) continue ; <nl> + auto member = entry . get < clang : : NamedDecl * > ( ) ; <nl> + if ( ! isVisibleClangEntry ( clangCtx , member ) ) continue ; <nl> + SmallVector < Decl * , 4 > tmp ; <nl> + insertMembersAndAlternates ( member , tmp ) ; <nl> + for ( auto * TD : tmp ) { <nl> + if ( auto * V = dyn_cast < ValueDecl > ( TD ) ) { <nl> + / / Skip ValueDecls if they import into different DeclContexts <nl> + / / or under different names than the one we asked about . <nl> + if ( V - > getDeclContext ( ) = = DC & & <nl> + V - > getFullName ( ) . matchesRef ( N ) ) { <nl> + Members . push_back ( V ) ; <nl> + } <nl> + } <nl> + } <nl> + } <nl> + return Members ; <nl> + } <nl> + <nl> + return None ; <nl> + } <nl> + <nl> + <nl> EffectiveClangContext ClangImporter : : Implementation : : getEffectiveClangContext ( <nl> const NominalTypeDecl * nominal ) { <nl> / / If we have a Clang declaration , look at it to determine the <nl> mmm a / lib / ClangImporter / ImporterImpl . h <nl> ppp b / lib / ClangImporter / ImporterImpl . h <nl> class LLVM_LIBRARY_VISIBILITY ClangImporter : : Implementation <nl> virtual void <nl> loadAllMembers ( Decl * D , uint64_t unused ) override ; <nl> <nl> + virtual Optional < TinyPtrVector < ValueDecl * > > <nl> + loadNamedMembers ( const Decl * D , DeclName N , uint64_t contextData ) override ; <nl> + <nl> private : <nl> void <nl> loadAllMembersOfObjcContainer ( Decl * D , <nl> mmm a / lib / Frontend / CompilerInvocation . cpp <nl> ppp b / lib / Frontend / CompilerInvocation . cpp <nl> static bool ParseLangArgs ( LangOptions & Opts , ArgList & Args , <nl> Opts . DebugConstraintSolver | = Args . hasArg ( OPT_debug_constraints ) ; <nl> Opts . EnableConstraintPropagation | = Args . hasArg ( OPT_propagate_constraints ) ; <nl> Opts . IterativeTypeChecker | = Args . hasArg ( OPT_iterative_type_checker ) ; <nl> + Opts . NamedLazyMemberLoading | = Args . hasArg ( OPT_enable_named_lazy_member_loading ) ; <nl> Opts . DebugGenericSignatures | = Args . hasArg ( OPT_debug_generic_signatures ) ; <nl> <nl> Opts . DebuggerSupport | = Args . hasArg ( OPT_debugger_support ) ; <nl> mmm a / lib / Sema / TypeCheckNameLookup . cpp <nl> ppp b / lib / Sema / TypeCheckNameLookup . cpp <nl> namespace { <nl> / / pull out the superclass instead , and use that below . <nl> if ( foundInType - > isExistentialType ( ) ) { <nl> auto layout = foundInType - > getExistentialLayout ( ) ; <nl> - if ( layout . superclass ) <nl> + if ( layout . superclass ) { <nl> conformingType = layout . superclass ; <nl> + } else { <nl> + / / Non - subclass existential : don ' t need to look for further <nl> + / / conformance or witness . <nl> + addResult ( found ) ; <nl> + return ; <nl> + } <nl> } <nl> <nl> / / Dig out the protocol conformance . <nl> mmm a / lib / Serialization / Deserialization . cpp <nl> ppp b / lib / Serialization / Deserialization . cpp <nl> void ModuleFile : : loadAllMembers ( Decl * container , uint64_t contextData ) { <nl> } <nl> } <nl> <nl> + Optional < TinyPtrVector < ValueDecl * > > <nl> + ModuleFile : : loadNamedMembers ( const Decl * D , DeclName N , <nl> + uint64_t contextData ) { <nl> + / / Not presently supported . <nl> + return None ; <nl> + } <nl> + <nl> void <nl> ModuleFile : : loadAllConformances ( const Decl * D , uint64_t contextData , <nl> SmallVectorImpl < ProtocolConformance * > & conformances ) { <nl> new file mode 100644 <nl> index 000000000000 . . 2485c2b22190 <nl> mmm / dev / null <nl> ppp b / test / NameBinding / Inputs / NamedLazyMembers / NamedLazyMembers . h <nl> <nl> + # import < Foundation / Foundation . h > <nl> + <nl> + @ protocol Doer <nl> + <nl> + - ( void ) doSomeWork ; <nl> + - ( void ) doSomeWorkWithSpeed : ( int ) s ; <nl> + - ( void ) doSomeWorkWithSpeed : ( int ) s thoroughness : ( int ) t <nl> + NS_SWIFT_NAME ( doVeryImportantWork ( speed : thoroughness : ) ) ; <nl> + - ( void ) doSomeWorkWithSpeed : ( int ) s alacrity : ( int ) a <nl> + NS_SWIFT_NAME ( doSomeWorkWithSpeed ( speed : levelOfAlacrity : ) ) ; <nl> + <nl> + / / These we are generally trying to not - import , via laziness . <nl> + - ( void ) goForWalk ; <nl> + - ( void ) takeNap ; <nl> + - ( void ) eatMeal ; <nl> + - ( void ) tidyHome ; <nl> + - ( void ) callFamily ; <nl> + - ( void ) singSong ; <nl> + - ( void ) readBook ; <nl> + - ( void ) attendLecture ; <nl> + - ( void ) writeLetter ; <nl> + <nl> + @ end <nl> + <nl> + <nl> + / / Don ' t conform to the protocol ; that loads all protocol members . <nl> + @ interface SimpleDoer <nl> + <nl> + / / These are names we ' re hoping don ' t interfere with Doer , above . <nl> + + ( SimpleDoer * ) Doer ; <nl> + + ( SimpleDoer * ) DoerOfNoWork ; <nl> + <nl> + @ end <nl> + <nl> new file mode 100644 <nl> index 000000000000 . . f6b78dccafa3 <nl> mmm / dev / null <nl> ppp b / test / NameBinding / Inputs / NamedLazyMembers / module . modulemap <nl> <nl> + module NamedLazyMembers { <nl> + header " NamedLazyMembers . h " <nl> + export * <nl> + } <nl> \ No newline at end of file <nl> new file mode 100644 <nl> index 000000000000 . . 83252f017221 <nl> mmm / dev / null <nl> ppp b / test / NameBinding / named_lazy_member_loading_objc_protocol . swift <nl> <nl> + / / REQUIRES : objc_interop <nl> + / / REQUIRES : OS = macosx <nl> + / / RUN : rm - rf % t & & mkdir - p % t / stats - pre & & mkdir - p % t / stats - post <nl> + / / <nl> + / / Prime module cache <nl> + / / RUN : % target - swift - frontend - typecheck - I % S / Inputs / NamedLazyMembers - typecheck % s <nl> + / / <nl> + / / Check that without lazy named member loading , we ' re importing too much . <nl> + / / RUN : % target - swift - frontend - typecheck - I % S / Inputs / NamedLazyMembers - typecheck - stats - output - dir % t / stats - pre % s <nl> + / / RUN : % utils / process - stats - dir . py - - evaluate ' NumTotalClangImportedEntities > 20 ' % t / stats - pre <nl> + / / <nl> + / / Check that with lazy named member loading , we ' re importing less . <nl> + / / RUN : % target - swift - frontend - typecheck - I % S / Inputs / NamedLazyMembers - enable - named - lazy - member - loading - stats - output - dir % t / stats - post % s <nl> + / / RUN : % utils / process - stats - dir . py - - evaluate ' NumTotalClangImportedEntities < 15 ' % t / stats - post <nl> + <nl> + import NamedLazyMembers <nl> + <nl> + public func foo ( d : Doer ) { <nl> + d . doSomeWork ( ) <nl> + d . doSomeWork ( withSpeed : 10 ) <nl> + d . doVeryImportantWork ( speed : 10 , thoroughness : 12 ) <nl> + d . doSomeWorkWithSpeed ( speed : 10 , levelOfAlacrity : 12 ) <nl> + <nl> + let _ = SimpleDoer ( ) <nl> + let _ = SimpleDoer . ofNoWork ( ) <nl> + } <nl> similarity index 87 % <nl> rename from validation - test / compiler_crashers / 28855 - swift - genericsignaturebuilder - addrequirement - swift - requirementrepr - const - swift - g . swift <nl> rename to validation - test / compiler_crashers_fixed / 28855 - swift - genericsignaturebuilder - addrequirement - swift - requirementrepr - const - swift - g . swift <nl> mmm a / validation - test / compiler_crashers / 28855 - swift - genericsignaturebuilder - addrequirement - swift - requirementrepr - const - swift - g . swift <nl> ppp b / validation - test / compiler_crashers_fixed / 28855 - swift - genericsignaturebuilder - addrequirement - swift - requirementrepr - const - swift - g . swift <nl> <nl> / / See https : / / swift . org / LICENSE . txt for license information <nl> / / See https : / / swift . org / CONTRIBUTORS . txt for the list of Swift project authors <nl> <nl> - / / RUN : not - - crash % target - swift - frontend % s - emit - ir <nl> + / / RUN : not % target - swift - frontend % s - emit - ir <nl> @ objc protocol P { typealias e where f = a <nl>
Merge pull request from graydon / named - lazy - member - loading
apple/swift
30b6fdce837e5be2887d17b349c3618f54437d2b
2017-10-24T21:27:04Z
mmm a / doc / classes / ConfigFile . xml <nl> ppp b / doc / classes / ConfigFile . xml <nl> <nl> < argument index = " 2 " name = " value " type = " Variant " > <nl> < / argument > <nl> < description > <nl> - Assigns a value to the specified key of the the specified section . If the section and / or the key do not exist , they are created . Passing a [ code ] null [ / code ] value deletes the specified key if it exists , and deletes the section if it ends up empty once the key has been removed . <nl> + Assigns a value to the specified key of the specified section . If the section and / or the key do not exist , they are created . Passing a [ code ] null [ / code ] value deletes the specified key if it exists , and deletes the section if it ends up empty once the key has been removed . <nl> < / description > <nl> < / method > <nl> < / methods > <nl> mmm a / doc / classes / PrismMesh . xml <nl> ppp b / doc / classes / PrismMesh . xml <nl> <nl> < / methods > <nl> < members > <nl> < member name = " left_to_right " type = " float " setter = " set_left_to_right " getter = " get_left_to_right " > <nl> - Displacement of of the upper edge along the x - axis . 0 . 0 positions edge straight above the bottome left edge . Defaults to 0 . 5 ( positioned on the midpoint ) . <nl> + Displacement of the upper edge along the x - axis . 0 . 0 positions edge straight above the bottome left edge . Defaults to 0 . 5 ( positioned on the midpoint ) . <nl> < / member > <nl> < member name = " size " type = " Vector3 " setter = " set_size " getter = " get_size " > <nl> Size of the prism . Defaults to ( 2 . 0 , 2 . 0 , 2 . 0 ) . <nl> mmm a / doc / classes / SpriteFrames . xml <nl> ppp b / doc / classes / SpriteFrames . xml <nl> <nl> < argument index = " 0 " name = " anim " type = " String " > <nl> < / argument > <nl> < description > <nl> - Adds a new animation to the the library . <nl> + Adds a new animation to the library . <nl> < / description > <nl> < / method > <nl> < method name = " add_frame " > <nl>
Doc : Fix typos spotted by @ yurchor
godotengine/godot
9c56a16d61daa444920f2f25d38ae842fc7551f3
2018-07-01T13:55:53Z
mmm a / include / fmt / core . h <nl> ppp b / include / fmt / core . h <nl> class basic_format_arg { <nl> <nl> template < typename Visitor , typename Ctx > <nl> friend FMT_CONSTEXPR typename internal : : result_of < Visitor ( int ) > : : type <nl> - visit ( Visitor & & vis , basic_format_arg < Ctx > arg ) ; <nl> + visit ( Visitor & & vis , const basic_format_arg < Ctx > & arg ) ; <nl> <nl> friend class basic_format_args < Context > ; <nl> friend class internal : : arg_map < Context > ; <nl> mmm a / include / fmt / format . h <nl> ppp b / include / fmt / format . h <nl> struct monostate { } ; <nl> * / <nl> template < typename Visitor , typename Context > <nl> FMT_CONSTEXPR typename internal : : result_of < Visitor ( int ) > : : type <nl> - visit ( Visitor & & vis , basic_format_arg < Context > arg ) { <nl> + visit ( Visitor & & vis , const basic_format_arg < Context > & arg ) { <nl> typedef typename Context : : char_type char_type ; <nl> switch ( arg . type_ ) { <nl> case internal : : none_type : <nl> class basic_writer { <nl> / / < left - padding > < value > < right - padding > <nl> / / where < value > is written by f ( it ) . <nl> template < typename F > <nl> - void write_padded ( std : : size_t size , const align_spec & spec , F f ) ; <nl> + void write_padded ( std : : size_t size , const align_spec & spec , F & & f ) ; <nl> <nl> template < typename F > <nl> struct padded_int_writer { <nl> class basic_writer { <nl> template < typename Range > <nl> template < typename F > <nl> void basic_writer < Range > : : write_padded ( <nl> - std : : size_t size , const align_spec & spec , F f ) { <nl> + std : : size_t size , const align_spec & spec , F & & f ) { <nl> unsigned width = spec . width ( ) ; <nl> if ( width < = size ) <nl> return f ( reserve ( size ) ) ; <nl> class dynamic_formatter { <nl> <nl> template < typename Range , typename Char > <nl> typename basic_format_context < Range , Char > : : format_arg <nl> - basic_format_context < Range , Char > : : get_arg ( basic_string_view < char_type > name ) { <nl> + basic_format_context < Range , Char > : : get_arg ( <nl> + basic_string_view < char_type > name ) { <nl> map_ . init ( this - > args ( ) ) ; <nl> format_arg arg = map_ . find ( name ) ; <nl> if ( arg . type ( ) = = internal : : none_type ) <nl>
Pass heavy arguments by ref
fmtlib/fmt
fbc38b90838bb67c5bd298866e0497dbb797a6d5
2018-08-31T22:17:18Z
mmm a / scripts / rethinkdb - valgrind - suppressions . supp <nl> ppp b / scripts / rethinkdb - valgrind - suppressions . supp <nl> <nl> fun : _ZN6google8protobuf * <nl> } <nl> <nl> + { <nl> + GoogleProtobufStaticDescriptorInitializer <nl> + Memcheck : Leak <nl> + . . . <nl> + fun : _ZN56StaticDescriptorInitializer_ * <nl> + } <nl> + <nl> + { <nl> + v8Globals <nl> + Memcheck : Leak <nl> + . . . <nl> + fun : _ZN2v88internal * <nl> + . . . <nl> + fun : call_init <nl> + } <nl> + <nl> + { <nl> + v8hashmap <nl> + Memcheck : Leak <nl> + . . . <nl> + fun : _GLOBAL__sub_I_hashmap . cc <nl> + fun : call_init <nl> + } <nl> + <nl> + { <nl> + v8scopes <nl> + Memcheck : Leak <nl> + . . . <nl> + fun : _GLOBAL__sub_I_scopes . cc <nl> + fun : call_init <nl> + } <nl>
Added new google protobuf and v8 global initialization leak suppression .
rethinkdb/rethinkdb
35341c4a72d7e3059d05ef1c65ae83f3a865aec4
2013-08-02T23:03:07Z
mmm a / src / mongo / db / catalog / database_test . cpp <nl> ppp b / src / mongo / db / catalog / database_test . cpp <nl> void _testDropCollectionThrowsExceptionIfThereAreIndexesInProgress ( OperationCont <nl> < < " a_1 " ) ; <nl> <nl> auto indexBuildBlock = std : : make_unique < IndexBuildBlock > ( <nl> - indexCatalog , collection - > ns ( ) , indexInfoObj , IndexBuildMethod : : kHybrid , UUID : : gen ( ) ) ; <nl> + collection - > ns ( ) , indexInfoObj , IndexBuildMethod : : kHybrid , UUID : : gen ( ) ) ; <nl> { <nl> WriteUnitOfWork wuow ( opCtx ) ; <nl> ASSERT_OK ( indexBuildBlock - > init ( opCtx , collection ) ) ; <nl> mmm a / src / mongo / db / catalog / index_build_block . cpp <nl> ppp b / src / mongo / db / catalog / index_build_block . cpp <nl> namespace mongo { <nl> <nl> class IndexCatalog ; <nl> <nl> - IndexBuildBlock : : IndexBuildBlock ( IndexCatalog * indexCatalog , <nl> - const NamespaceString & nss , <nl> + IndexBuildBlock : : IndexBuildBlock ( const NamespaceString & nss , <nl> const BSONObj & spec , <nl> IndexBuildMethod method , <nl> boost : : optional < UUID > indexBuildUUID ) <nl> - : _indexCatalog ( indexCatalog ) , <nl> - _nss ( nss ) , <nl> - _spec ( spec . getOwned ( ) ) , <nl> - _method ( method ) , <nl> - _buildUUID ( indexBuildUUID ) , <nl> - _indexCatalogEntry ( nullptr ) { } <nl> + : _nss ( nss ) , _spec ( spec . getOwned ( ) ) , _method ( method ) , _buildUUID ( indexBuildUUID ) { } <nl> <nl> void IndexBuildBlock : : finalizeTemporaryTables ( OperationContext * opCtx , <nl> TemporaryRecordStore : : FinalizationAction action ) { <nl> void IndexBuildBlock : : _completeInit ( OperationContext * opCtx , Collection * collect <nl> / / Register this index with the CollectionQueryInfo to regenerate the cache . This way , updates <nl> / / occurring while an index is being build in the background will be aware of whether or not <nl> / / they need to modify any indexes . <nl> + auto indexCatalogEntry = getEntry ( opCtx , collection ) ; <nl> CollectionQueryInfo : : get ( collection ) <nl> - . addedIndex ( opCtx , collection , _indexCatalogEntry - > descriptor ( ) ) ; <nl> + . addedIndex ( opCtx , collection , indexCatalogEntry - > descriptor ( ) ) ; <nl> } <nl> <nl> Status IndexBuildBlock : : initForResume ( OperationContext * opCtx , <nl> Status IndexBuildBlock : : initForResume ( OperationContext * opCtx , <nl> IndexBuildPhaseEnum phase ) { <nl> <nl> _indexName = _spec . getStringField ( " name " ) ; <nl> - auto descriptor = <nl> - _indexCatalog - > findIndexByName ( opCtx , _indexName , true / * includeUnfinishedIndexes * / ) ; <nl> + auto descriptor = collection - > getIndexCatalog ( ) - > findIndexByName ( <nl> + opCtx , _indexName , true / * includeUnfinishedIndexes * / ) ; <nl> <nl> - _indexCatalogEntry = descriptor - > getEntry ( ) ; <nl> + auto indexCatalogEntry = descriptor - > getEntry ( ) ; <nl> <nl> uassert ( 4945000 , <nl> " Index catalog entry not found while attempting to resume index build " , <nl> - _indexCatalogEntry ) ; <nl> + indexCatalogEntry ) ; <nl> uassert ( <nl> 4945001 , " Cannot resume a non - hybrid index build " , _method = = IndexBuildMethod : : kHybrid ) ; <nl> <nl> Status IndexBuildBlock : : initForResume ( OperationContext * opCtx , <nl> opCtx , <nl> collection - > getCatalogId ( ) , <nl> descriptor , <nl> - _indexCatalogEntry - > getIdent ( ) , <nl> - _indexCatalogEntry - > getPrefix ( ) ) ; <nl> + indexCatalogEntry - > getIdent ( ) , <nl> + indexCatalogEntry - > getPrefix ( ) ) ; <nl> if ( ! status . isOK ( ) ) <nl> return status ; <nl> } <nl> <nl> _indexBuildInterceptor = <nl> std : : make_unique < IndexBuildInterceptor > ( opCtx , <nl> - _indexCatalogEntry , <nl> + indexCatalogEntry , <nl> sorterInfo . getSideWritesTable ( ) , <nl> sorterInfo . getDuplicateKeyTrackerTable ( ) , <nl> sorterInfo . getSkippedRecordTrackerTable ( ) ) ; <nl> - _indexCatalogEntry - > setIndexBuildInterceptor ( _indexBuildInterceptor . get ( ) ) ; <nl> + indexCatalogEntry - > setIndexBuildInterceptor ( _indexBuildInterceptor . get ( ) ) ; <nl> <nl> _completeInit ( opCtx , collection ) ; <nl> <nl> Status IndexBuildBlock : : init ( OperationContext * opCtx , Collection * collection ) { <nl> if ( ! status . isOK ( ) ) <nl> return status ; <nl> <nl> - _indexCatalogEntry = <nl> - _indexCatalog - > createIndexEntry ( opCtx , std : : move ( descriptor ) , CreateIndexEntryFlags : : kNone ) ; <nl> + auto indexCatalogEntry = collection - > getIndexCatalog ( ) - > createIndexEntry ( <nl> + opCtx , std : : move ( descriptor ) , CreateIndexEntryFlags : : kNone ) ; <nl> <nl> if ( _method = = IndexBuildMethod : : kHybrid ) { <nl> - _indexBuildInterceptor = std : : make_unique < IndexBuildInterceptor > ( opCtx , _indexCatalogEntry ) ; <nl> - _indexCatalogEntry - > setIndexBuildInterceptor ( _indexBuildInterceptor . get ( ) ) ; <nl> + _indexBuildInterceptor = std : : make_unique < IndexBuildInterceptor > ( opCtx , indexCatalogEntry ) ; <nl> + indexCatalogEntry - > setIndexBuildInterceptor ( _indexBuildInterceptor . get ( ) ) ; <nl> } <nl> <nl> if ( isBackgroundIndex ) { <nl> opCtx - > recoveryUnit ( ) - > onCommit ( <nl> - [ entry = _indexCatalogEntry , coll = collection ] ( boost : : optional < Timestamp > commitTime ) { <nl> + [ entry = indexCatalogEntry , coll = collection ] ( boost : : optional < Timestamp > commitTime ) { <nl> / / This will prevent the unfinished index from being visible on index iterators . <nl> if ( commitTime ) { <nl> entry - > setMinimumVisibleSnapshot ( commitTime . get ( ) ) ; <nl> void IndexBuildBlock : : fail ( OperationContext * opCtx , Collection * collection ) { <nl> <nl> invariant ( opCtx - > lockState ( ) - > isCollectionLockedForMode ( _nss , MODE_X ) ) ; <nl> <nl> - if ( _indexCatalogEntry ) { <nl> - invariant ( _indexCatalog - > dropIndexEntry ( opCtx , _indexCatalogEntry ) . isOK ( ) ) ; <nl> + auto indexCatalogEntry = getEntry ( opCtx , collection ) ; <nl> + if ( indexCatalogEntry ) { <nl> + invariant ( collection - > getIndexCatalog ( ) - > dropIndexEntry ( opCtx , indexCatalogEntry ) . isOK ( ) ) ; <nl> if ( _indexBuildInterceptor ) { <nl> - _indexCatalogEntry - > setIndexBuildInterceptor ( nullptr ) ; <nl> + indexCatalogEntry - > setIndexBuildInterceptor ( nullptr ) ; <nl> } <nl> } else { <nl> - _indexCatalog - > deleteIndexFromDisk ( opCtx , _indexName ) ; <nl> + collection - > getIndexCatalog ( ) - > deleteIndexFromDisk ( opCtx , _indexName ) ; <nl> } <nl> } <nl> <nl> void IndexBuildBlock : : success ( OperationContext * opCtx , Collection * collection ) { <nl> invariant ( _indexBuildInterceptor - > areAllWritesApplied ( opCtx ) ) ; <nl> } <nl> <nl> - collection - > indexBuildSuccess ( opCtx , _indexCatalogEntry ) ; <nl> + auto indexCatalogEntry = getEntry ( opCtx , collection ) ; <nl> + collection - > indexBuildSuccess ( opCtx , indexCatalogEntry ) ; <nl> auto svcCtx = opCtx - > getClient ( ) - > getServiceContext ( ) ; <nl> <nl> opCtx - > recoveryUnit ( ) - > onCommit ( <nl> [ svcCtx , <nl> indexName = _indexName , <nl> spec = _spec , <nl> - entry = _indexCatalogEntry , <nl> + entry = indexCatalogEntry , <nl> coll = collection , <nl> buildUUID = _buildUUID ] ( boost : : optional < Timestamp > commitTime ) { <nl> / / Note : this runs after the WUOW commits but before we release our X lock on the <nl> void IndexBuildBlock : : success ( OperationContext * opCtx , Collection * collection ) { <nl> } ) ; <nl> } <nl> <nl> + const IndexCatalogEntry * IndexBuildBlock : : getEntry ( OperationContext * opCtx , <nl> + const Collection * collection ) const { <nl> + auto descriptor = collection - > getIndexCatalog ( ) - > findIndexByName ( <nl> + opCtx , _indexName , true / * includeUnfinishedIndexes * / ) ; <nl> + <nl> + return descriptor - > getEntry ( ) ; <nl> + } <nl> + <nl> + IndexCatalogEntry * IndexBuildBlock : : getEntry ( OperationContext * opCtx , Collection * collection ) { <nl> + auto descriptor = collection - > getIndexCatalog ( ) - > findIndexByName ( <nl> + opCtx , _indexName , true / * includeUnfinishedIndexes * / ) ; <nl> + <nl> + return descriptor - > getEntry ( ) ; <nl> + } <nl> + <nl> } / / namespace mongo <nl> mmm a / src / mongo / db / catalog / index_build_block . h <nl> ppp b / src / mongo / db / catalog / index_build_block . h <nl> class IndexBuildBlock { <nl> IndexBuildBlock & operator = ( const IndexBuildBlock & ) = delete ; <nl> <nl> public : <nl> - IndexBuildBlock ( IndexCatalog * indexCatalog , <nl> - const NamespaceString & nss , <nl> + IndexBuildBlock ( const NamespaceString & nss , <nl> const BSONObj & spec , <nl> IndexBuildMethod method , <nl> / / The index build UUID is only required for persisting to the catalog . <nl> class IndexBuildBlock { <nl> * <nl> * This entry is owned by the IndexCatalog . <nl> * / <nl> - IndexCatalogEntry * getEntry ( ) { <nl> - return _indexCatalogEntry ; <nl> - } <nl> + const IndexCatalogEntry * getEntry ( OperationContext * opCtx , const Collection * collection ) const ; <nl> + IndexCatalogEntry * getEntry ( OperationContext * opCtx , Collection * collection ) ; <nl> <nl> / * * <nl> * Returns the name of the index managed by this index builder . <nl> class IndexBuildBlock { <nl> private : <nl> void _completeInit ( OperationContext * opCtx , Collection * collection ) ; <nl> <nl> - IndexCatalog * const _indexCatalog ; <nl> const NamespaceString _nss ; <nl> <nl> BSONObj _spec ; <nl> class IndexBuildBlock { <nl> std : : string _indexName ; <nl> std : : string _indexNamespace ; <nl> <nl> - IndexCatalogEntry * _indexCatalogEntry ; <nl> - <nl> std : : unique_ptr < IndexBuildInterceptor > _indexBuildInterceptor ; <nl> } ; <nl> } / / namespace mongo <nl> mmm a / src / mongo / db / catalog / index_builds_manager . cpp <nl> ppp b / src / mongo / db / catalog / index_builds_manager . cpp <nl> Status IndexBuildsManager : : startBuildingIndex ( OperationContext * opCtx , <nl> } <nl> <nl> Status IndexBuildsManager : : resumeBuildingIndexFromBulkLoadPhase ( OperationContext * opCtx , <nl> + const Collection * collection , <nl> const UUID & buildUUID ) { <nl> - return invariant ( _getBuilder ( buildUUID ) ) - > dumpInsertsFromBulk ( opCtx ) ; <nl> + return invariant ( _getBuilder ( buildUUID ) ) - > dumpInsertsFromBulk ( opCtx , collection ) ; <nl> } <nl> <nl> StatusWith < std : : pair < long long , long long > > IndexBuildsManager : : startBuildingIndexForRecovery ( <nl> StatusWith < std : : pair < long long , long long > > IndexBuildsManager : : startBuildingInd <nl> / / Delete duplicate record and insert it into local lost and found . <nl> Status status = [ & ] { <nl> if ( repair = = RepairData : : kYes ) { <nl> - return builder - > dumpInsertsFromBulk ( opCtx , [ & ] ( const RecordId & rid ) { <nl> + return builder - > dumpInsertsFromBulk ( opCtx , coll , [ & ] ( const RecordId & rid ) { <nl> auto moveStatus = _moveRecordToLostAndFound ( opCtx , ns , lostAndFoundNss , rid ) ; <nl> if ( moveStatus . isOK ( ) & & ( moveStatus . getValue ( ) > 0 ) ) { <nl> recordsRemoved + + ; <nl> StatusWith < std : : pair < long long , long long > > IndexBuildsManager : : startBuildingInd <nl> return moveStatus . getStatus ( ) ; <nl> } ) ; <nl> } else { <nl> - return builder - > dumpInsertsFromBulk ( opCtx ) ; <nl> + return builder - > dumpInsertsFromBulk ( opCtx , coll ) ; <nl> } <nl> } ( ) ; <nl> if ( ! status . isOK ( ) ) { <nl> Status IndexBuildsManager : : retrySkippedRecords ( OperationContext * opCtx , <nl> } <nl> <nl> Status IndexBuildsManager : : checkIndexConstraintViolations ( OperationContext * opCtx , <nl> + const Collection * collection , <nl> const UUID & buildUUID ) { <nl> auto builder = invariant ( _getBuilder ( buildUUID ) ) ; <nl> <nl> - return builder - > checkConstraints ( opCtx ) ; <nl> + return builder - > checkConstraints ( opCtx , collection ) ; <nl> } <nl> <nl> Status IndexBuildsManager : : commitIndexBuild ( OperationContext * opCtx , <nl> bool IndexBuildsManager : : abortIndexBuildWithoutCleanupForRollback ( OperationConte <nl> " Index build aborted without cleanup for rollback " , <nl> " buildUUID " _attr = buildUUID ) ; <nl> <nl> - if ( auto resumeInfo = builder . getValue ( ) - > abortWithoutCleanupForRollback ( opCtx , isResumable ) ) { <nl> + if ( auto resumeInfo = <nl> + builder . getValue ( ) - > abortWithoutCleanupForRollback ( opCtx , collection , isResumable ) ) { <nl> _resumeInfos . push_back ( std : : move ( * resumeInfo ) ) ; <nl> } <nl> <nl> bool IndexBuildsManager : : abortIndexBuildWithoutCleanupForShutdown ( OperationConte <nl> LOGV2 ( <nl> 4841500 , " Index build aborted without cleanup for shutdown " , " buildUUID " _attr = buildUUID ) ; <nl> <nl> - builder . getValue ( ) - > abortWithoutCleanupForShutdown ( opCtx , isResumable ) ; <nl> + builder . getValue ( ) - > abortWithoutCleanupForShutdown ( opCtx , collection , isResumable ) ; <nl> return true ; <nl> } <nl> <nl> mmm a / src / mongo / db / catalog / index_builds_manager . h <nl> ppp b / src / mongo / db / catalog / index_builds_manager . h <nl> class IndexBuildsManager { <nl> const UUID & buildUUID , <nl> boost : : optional < RecordId > resumeAfterRecordId = boost : : none ) ; <nl> <nl> - Status resumeBuildingIndexFromBulkLoadPhase ( OperationContext * opCtx , const UUID & buildUUID ) ; <nl> + Status resumeBuildingIndexFromBulkLoadPhase ( OperationContext * opCtx , <nl> + const Collection * collection , <nl> + const UUID & buildUUID ) ; <nl> <nl> / * * <nl> * Iterates through every record in the collection to index it . May also remove documents <nl> class IndexBuildsManager { <nl> / * * <nl> * Runs the index constraint violation checking phase of the index build . . <nl> * / <nl> - Status checkIndexConstraintViolations ( OperationContext * opCtx , const UUID & buildUUID ) ; <nl> + Status checkIndexConstraintViolations ( OperationContext * opCtx , <nl> + const Collection * collection , <nl> + const UUID & buildUUID ) ; <nl> <nl> / * * <nl> * Persists information in the index catalog entry that the index is ready for use , as well as <nl> mmm a / src / mongo / db / catalog / index_catalog_entry . h <nl> ppp b / src / mongo / db / catalog / index_catalog_entry . h <nl> class IndexCatalogEntry : public std : : enable_shared_from_this < IndexCatalogEntry > <nl> <nl> virtual bool isHybridBuilding ( ) const = 0 ; <nl> <nl> - virtual IndexBuildInterceptor * indexBuildInterceptor ( ) = 0 ; <nl> - <nl> - virtual const IndexBuildInterceptor * indexBuildInterceptor ( ) const = 0 ; <nl> + virtual IndexBuildInterceptor * indexBuildInterceptor ( ) const = 0 ; <nl> <nl> virtual void setIndexBuildInterceptor ( IndexBuildInterceptor * interceptor ) = 0 ; <nl> <nl> mmm a / src / mongo / db / catalog / index_catalog_entry_impl . h <nl> ppp b / src / mongo / db / catalog / index_catalog_entry_impl . h <nl> class IndexCatalogEntryImpl : public IndexCatalogEntry { <nl> return _indexBuildInterceptor ! = nullptr ; <nl> } <nl> <nl> - IndexBuildInterceptor * indexBuildInterceptor ( ) final { <nl> - return _indexBuildInterceptor ; <nl> - } <nl> - <nl> - const IndexBuildInterceptor * indexBuildInterceptor ( ) const final { <nl> + IndexBuildInterceptor * indexBuildInterceptor ( ) const final { <nl> return _indexBuildInterceptor ; <nl> } <nl> <nl> mmm a / src / mongo / db / catalog / index_catalog_impl . cpp <nl> ppp b / src / mongo / db / catalog / index_catalog_impl . cpp <nl> StatusWith < BSONObj > IndexCatalogImpl : : createIndexOnEmptyCollection ( OperationCont <nl> / / now going to touch disk <nl> boost : : optional < UUID > buildUUID = boost : : none ; <nl> IndexBuildBlock indexBuildBlock ( <nl> - this , _collection - > ns ( ) , spec , IndexBuildMethod : : kForeground , buildUUID ) ; <nl> + _collection - > ns ( ) , spec , IndexBuildMethod : : kForeground , buildUUID ) ; <nl> status = indexBuildBlock . init ( opCtx , _collection ) ; <nl> if ( ! status . isOK ( ) ) <nl> return status ; <nl> <nl> / / sanity checks , etc . . . <nl> - IndexCatalogEntry * entry = indexBuildBlock . getEntry ( ) ; <nl> + IndexCatalogEntry * entry = indexBuildBlock . getEntry ( opCtx , _collection ) ; <nl> invariant ( entry ) ; <nl> IndexDescriptor * descriptor = entry - > descriptor ( ) ; <nl> invariant ( descriptor ) ; <nl> mmm a / src / mongo / db / catalog / multi_index_block . cpp <nl> ppp b / src / mongo / db / catalog / multi_index_block . cpp <nl> StatusWith < std : : vector < BSONObj > > MultiIndexBlock : : init ( <nl> <nl> boost : : optional < IndexSorterInfo > sorterInfo ; <nl> IndexToBuild index ; <nl> - index . block = std : : make_unique < IndexBuildBlock > ( <nl> - collection . getWritableCollection ( ) - > getIndexCatalog ( ) , <nl> - collection - > ns ( ) , <nl> - info , <nl> - _method , <nl> - _buildUUID ) ; <nl> + index . block = <nl> + std : : make_unique < IndexBuildBlock > ( collection - > ns ( ) , info , _method , _buildUUID ) ; <nl> if ( resumeInfo ) { <nl> auto resumeInfoIndexes = resumeInfo - > getIndexes ( ) ; <nl> / / Find the resume information that corresponds to this spec . <nl> StatusWith < std : : vector < BSONObj > > MultiIndexBlock : : init ( <nl> opCtx , TemporaryRecordStore : : FinalizationAction : : kDelete ) ; <nl> } ) ; <nl> <nl> - index . real = index . block - > getEntry ( ) - > accessMethod ( ) ; <nl> + auto indexCatalogEntry = <nl> + index . block - > getEntry ( opCtx , collection . getWritableCollection ( ) ) ; <nl> + index . real = indexCatalogEntry - > accessMethod ( ) ; <nl> status = index . real - > initializeAsEmpty ( opCtx ) ; <nl> if ( ! status . isOK ( ) ) <nl> return status ; <nl> StatusWith < std : : vector < BSONObj > > MultiIndexBlock : : init ( <nl> ? sorterInfo <nl> : boost : : none ) ; <nl> <nl> - const IndexDescriptor * descriptor = index . block - > getEntry ( ) - > descriptor ( ) ; <nl> + const IndexDescriptor * descriptor = indexCatalogEntry - > descriptor ( ) ; <nl> <nl> collection - > getIndexCatalog ( ) - > prepareInsertDeleteOptions ( <nl> opCtx , collection - > ns ( ) , descriptor , & index . options ) ; <nl> StatusWith < std : : vector < BSONObj > > MultiIndexBlock : : init ( <nl> " maxTemporaryMemoryUsageMB " _attr = <nl> eachIndexBuildMaxMemoryUsageBytes / 1024 / 1024 ) ; <nl> <nl> - index . filterExpression = index . block - > getEntry ( ) - > getFilterExpression ( ) ; <nl> + index . filterExpression = indexCatalogEntry - > getFilterExpression ( ) ; <nl> <nl> if ( ! resumeInfo ) { <nl> / / TODO SERVER - 14888 Suppress this in cases we don ' t want to audit . <nl> Status MultiIndexBlock : : insertAllDocumentsInCollection ( <nl> RecoveryUnit : : toString ( opCtx - > recoveryUnit ( ) - > getTimestampReadSource ( ) ) , <nl> " duration " _attr = duration_cast < Milliseconds > ( Seconds ( t . seconds ( ) ) ) ) ; <nl> <nl> - Status ret = dumpInsertsFromBulk ( opCtx ) ; <nl> + Status ret = dumpInsertsFromBulk ( opCtx , collection ) ; <nl> if ( ! ret . isOK ( ) ) <nl> return ret ; <nl> <nl> Status MultiIndexBlock : : insertSingleDocumentForInitialSyncOrRecovery ( OperationCo <nl> return Status : : OK ( ) ; <nl> } <nl> <nl> - Status MultiIndexBlock : : dumpInsertsFromBulk ( OperationContext * opCtx ) { <nl> - return dumpInsertsFromBulk ( opCtx , nullptr ) ; <nl> + Status MultiIndexBlock : : dumpInsertsFromBulk ( OperationContext * opCtx , const Collection * collection ) { <nl> + return dumpInsertsFromBulk ( opCtx , collection , nullptr ) ; <nl> } <nl> <nl> Status MultiIndexBlock : : dumpInsertsFromBulk ( <nl> - OperationContext * opCtx , const IndexAccessMethod : : RecordIdHandlerFn & onDuplicateRecord ) { <nl> + OperationContext * opCtx , <nl> + const Collection * collection , <nl> + const IndexAccessMethod : : RecordIdHandlerFn & onDuplicateRecord ) { <nl> invariant ( ! _buildIsCleanedUp ) ; <nl> invariant ( opCtx - > lockState ( ) - > isNoop ( ) | | ! opCtx - > lockState ( ) - > inAWriteUnitOfWork ( ) ) ; <nl> <nl> Status MultiIndexBlock : : dumpInsertsFromBulk ( <nl> / / When onDuplicateRecord is passed , ' dupsAllowed ' should be passed to reflect whether or <nl> / / not the index is unique . <nl> bool dupsAllowed = ( onDuplicateRecord ) <nl> - ? ! _indexes [ i ] . block - > getEntry ( ) - > descriptor ( ) - > unique ( ) <nl> + ? ! _indexes [ i ] . block - > getEntry ( opCtx , collection ) - > descriptor ( ) - > unique ( ) <nl> : _indexes [ i ] . options . dupsAllowed ; <nl> - IndexCatalogEntry * entry = _indexes [ i ] . block - > getEntry ( ) ; <nl> + const IndexCatalogEntry * entry = _indexes [ i ] . block - > getEntry ( opCtx , collection ) ; <nl> LOGV2_DEBUG ( 20392 , <nl> 1 , <nl> " Index build : inserting from external sorter into index " , <nl> Status MultiIndexBlock : : drainBackgroundWrites ( <nl> / / Callers are responsible for stopping writes by holding an S or X lock while draining before <nl> / / completing the index build . <nl> for ( size_t i = 0 ; i < _indexes . size ( ) ; i + + ) { <nl> - auto interceptor = _indexes [ i ] . block - > getEntry ( ) - > indexBuildInterceptor ( ) ; <nl> + auto interceptor = _indexes [ i ] . block - > getEntry ( opCtx , coll ) - > indexBuildInterceptor ( ) ; <nl> if ( ! interceptor ) <nl> continue ; <nl> <nl> Status MultiIndexBlock : : drainBackgroundWrites ( <nl> Status MultiIndexBlock : : retrySkippedRecords ( OperationContext * opCtx , const Collection * collection ) { <nl> invariant ( ! _buildIsCleanedUp ) ; <nl> for ( auto & & index : _indexes ) { <nl> - auto interceptor = index . block - > getEntry ( ) - > indexBuildInterceptor ( ) ; <nl> + auto interceptor = index . block - > getEntry ( opCtx , collection ) - > indexBuildInterceptor ( ) ; <nl> if ( ! interceptor ) <nl> continue ; <nl> <nl> Status MultiIndexBlock : : retrySkippedRecords ( OperationContext * opCtx , const Colle <nl> return Status : : OK ( ) ; <nl> } <nl> <nl> - Status MultiIndexBlock : : checkConstraints ( OperationContext * opCtx ) { <nl> + Status MultiIndexBlock : : checkConstraints ( OperationContext * opCtx , const Collection * collection ) { <nl> invariant ( ! _buildIsCleanedUp ) ; <nl> <nl> / / For each index that may be unique , check that no recorded duplicates still exist . This can <nl> / / only check what is visible on the index . Callers are responsible for ensuring all writes to <nl> / / the collection are visible . <nl> for ( size_t i = 0 ; i < _indexes . size ( ) ; i + + ) { <nl> - auto interceptor = _indexes [ i ] . block - > getEntry ( ) - > indexBuildInterceptor ( ) ; <nl> + auto interceptor = _indexes [ i ] . block - > getEntry ( opCtx , collection ) - > indexBuildInterceptor ( ) ; <nl> if ( ! interceptor ) <nl> continue ; <nl> <nl> Status MultiIndexBlock : : checkConstraints ( OperationContext * opCtx ) { <nl> } <nl> <nl> boost : : optional < ResumeIndexInfo > MultiIndexBlock : : abortWithoutCleanupForRollback ( <nl> - OperationContext * opCtx , bool isResumable ) { <nl> - return _abortWithoutCleanup ( opCtx , false / * shutdown * / , isResumable ) ; <nl> + OperationContext * opCtx , const Collection * collection , bool isResumable ) { <nl> + return _abortWithoutCleanup ( opCtx , collection , false / * shutdown * / , isResumable ) ; <nl> } <nl> <nl> - void MultiIndexBlock : : abortWithoutCleanupForShutdown ( OperationContext * opCtx , bool isResumable ) { <nl> - _abortWithoutCleanup ( opCtx , true / * shutdown * / , isResumable ) ; <nl> + void MultiIndexBlock : : abortWithoutCleanupForShutdown ( OperationContext * opCtx , <nl> + const Collection * collection , <nl> + bool isResumable ) { <nl> + _abortWithoutCleanup ( opCtx , collection , true / * shutdown * / , isResumable ) ; <nl> } <nl> <nl> MultiIndexBlock : : OnCreateEachFn MultiIndexBlock : : kNoopOnCreateEachFn = [ ] ( const BSONObj & spec ) { } ; <nl> Status MultiIndexBlock : : commit ( OperationContext * opCtx , <nl> / / catalog entry . The interceptor will write multikey metadata keys into the index during <nl> / / IndexBuildInterceptor : : sideWrite , so we only need to pass the cached MultikeyPaths into <nl> / / IndexCatalogEntry : : setMultikey here . <nl> - auto interceptor = _indexes [ i ] . block - > getEntry ( ) - > indexBuildInterceptor ( ) ; <nl> + auto indexCatalogEntry = _indexes [ i ] . block - > getEntry ( opCtx , collection ) ; <nl> + auto interceptor = indexCatalogEntry - > indexBuildInterceptor ( ) ; <nl> if ( interceptor ) { <nl> auto multikeyPaths = interceptor - > getMultikeyPaths ( ) ; <nl> if ( multikeyPaths ) { <nl> - _indexes [ i ] . block - > getEntry ( ) - > setMultikey ( <nl> - opCtx , collection , { } , multikeyPaths . get ( ) ) ; <nl> + indexCatalogEntry - > setMultikey ( opCtx , collection , { } , multikeyPaths . get ( ) ) ; <nl> } <nl> } <nl> <nl> Status MultiIndexBlock : : commit ( OperationContext * opCtx , <nl> / / MultikeyPaths into IndexCatalogEntry : : setMultikey here . <nl> const auto & bulkBuilder = _indexes [ i ] . bulk ; <nl> if ( bulkBuilder - > isMultikey ( ) ) { <nl> - _indexes [ i ] . block - > getEntry ( ) - > setMultikey ( <nl> - opCtx , collection , { } , bulkBuilder - > getMultikeyPaths ( ) ) ; <nl> + indexCatalogEntry - > setMultikey ( opCtx , collection , { } , bulkBuilder - > getMultikeyPaths ( ) ) ; <nl> } <nl> <nl> / / The commit ( ) function can be called multiple times on write conflict errors . Dropping the <nl> void MultiIndexBlock : : setIndexBuildMethod ( IndexBuildMethod indexBuildMethod ) { <nl> } <nl> <nl> boost : : optional < ResumeIndexInfo > MultiIndexBlock : : _abortWithoutCleanup ( OperationContext * opCtx , <nl> + const Collection * collection , <nl> bool shutdown , <nl> bool isResumable ) { <nl> invariant ( ! _buildIsCleanedUp ) ; <nl> boost : : optional < ResumeIndexInfo > MultiIndexBlock : : _abortWithoutCleanup ( Operation <nl> invariant ( _method = = IndexBuildMethod : : kHybrid ) ; <nl> <nl> if ( shutdown ) { <nl> - _writeStateToDisk ( opCtx ) ; <nl> + _writeStateToDisk ( opCtx , collection ) ; <nl> <nl> / / TODO ( SERVER - 48419 ) : Keep the temporary tables unconditionally of shutdown once <nl> / / rollback uses the resume information . <nl> action = TemporaryRecordStore : : FinalizationAction : : kKeep ; <nl> } else { <nl> - resumeInfo = ResumeIndexInfo : : parse ( <nl> - IDLParserErrorContext ( " MultiIndexBlock : : getResumeInfo " ) , _constructStateObject ( ) ) ; <nl> + resumeInfo = <nl> + ResumeIndexInfo : : parse ( IDLParserErrorContext ( " MultiIndexBlock : : getResumeInfo " ) , <nl> + _constructStateObject ( opCtx , collection ) ) ; <nl> } <nl> } <nl> <nl> boost : : optional < ResumeIndexInfo > MultiIndexBlock : : _abortWithoutCleanup ( Operation <nl> return resumeInfo ; <nl> } <nl> <nl> - void MultiIndexBlock : : _writeStateToDisk ( OperationContext * opCtx ) const { <nl> - auto obj = _constructStateObject ( ) ; <nl> + void MultiIndexBlock : : _writeStateToDisk ( OperationContext * opCtx , <nl> + const Collection * collection ) const { <nl> + auto obj = _constructStateObject ( opCtx , collection ) ; <nl> auto rs = opCtx - > getServiceContext ( ) <nl> - > getStorageEngine ( ) <nl> - > makeTemporaryRecordStoreForResumableIndexBuild ( opCtx ) ; <nl> void MultiIndexBlock : : _writeStateToDisk ( OperationContext * opCtx ) const { <nl> rs - > finalizeTemporaryTable ( opCtx , TemporaryRecordStore : : FinalizationAction : : kKeep ) ; <nl> } <nl> <nl> - BSONObj MultiIndexBlock : : _constructStateObject ( ) const { <nl> + BSONObj MultiIndexBlock : : _constructStateObject ( OperationContext * opCtx , <nl> + const Collection * collection ) const { <nl> BSONObjBuilder builder ; <nl> _buildUUID - > appendToBuilder ( & builder , " _id " ) ; <nl> builder . append ( " phase " , IndexBuildPhase_serializer ( _phase ) ) ; <nl> BSONObj MultiIndexBlock : : _constructStateObject ( ) const { <nl> ranges . done ( ) ; <nl> } <nl> <nl> - auto indexBuildInterceptor = index . block - > getEntry ( ) - > indexBuildInterceptor ( ) ; <nl> + auto indexBuildInterceptor = <nl> + index . block - > getEntry ( opCtx , collection ) - > indexBuildInterceptor ( ) ; <nl> indexInfo . append ( " sideWritesTable " , indexBuildInterceptor - > getSideWritesTableIdent ( ) ) ; <nl> <nl> if ( auto duplicateKeyTrackerTableIdent = <nl> mmm a / src / mongo / db / catalog / multi_index_block . h <nl> ppp b / src / mongo / db / catalog / multi_index_block . h <nl> class MultiIndexBlock { <nl> * <nl> * Should not be called inside of a WriteUnitOfWork . <nl> * / <nl> - Status dumpInsertsFromBulk ( OperationContext * opCtx ) ; <nl> + Status dumpInsertsFromBulk ( OperationContext * opCtx , const Collection * collection ) ; <nl> Status dumpInsertsFromBulk ( OperationContext * opCtx , <nl> + const Collection * collection , <nl> const IndexAccessMethod : : RecordIdHandlerFn & onDuplicateRecord ) ; <nl> / * * <nl> * For background indexes using an IndexBuildInterceptor to capture inserts during a build , <nl> class MultiIndexBlock { <nl> * <nl> * Must not be in a WriteUnitOfWork . <nl> * / <nl> - Status checkConstraints ( OperationContext * opCtx ) ; <nl> + Status checkConstraints ( OperationContext * opCtx , const Collection * collection ) ; <nl> <nl> / * * <nl> * Marks the index ready for use . Should only be called as the last method after <nl> class MultiIndexBlock { <nl> * This should only be used during rollback . <nl> * / <nl> boost : : optional < ResumeIndexInfo > abortWithoutCleanupForRollback ( OperationContext * opCtx , <nl> + const Collection * collection , <nl> bool isResumable ) ; <nl> <nl> / * * <nl> class MultiIndexBlock { <nl> * <nl> * This should only be used during shutdown . <nl> * / <nl> - void abortWithoutCleanupForShutdown ( OperationContext * opCtx , bool isResumable ) ; <nl> + void abortWithoutCleanupForShutdown ( OperationContext * opCtx , <nl> + const Collection * collection , <nl> + bool isResumable ) ; <nl> <nl> / * * <nl> * Returns true if this build block supports background writes while building an index . This is <nl> class MultiIndexBlock { <nl> * supported . <nl> * / <nl> boost : : optional < ResumeIndexInfo > _abortWithoutCleanup ( OperationContext * opCtx , <nl> + const Collection * collection , <nl> bool shutdown , <nl> bool isResumable ) ; <nl> <nl> - void _writeStateToDisk ( OperationContext * opCtx ) const ; <nl> + void _writeStateToDisk ( OperationContext * opCtx , const Collection * collection ) const ; <nl> <nl> - BSONObj _constructStateObject ( ) const ; <nl> + BSONObj _constructStateObject ( OperationContext * opCtx , const Collection * collection ) const ; <nl> <nl> <nl> / / Is set during init ( ) and ensures subsequent function calls act on the same Collection . <nl> mmm a / src / mongo / db / catalog / multi_index_block_test . cpp <nl> ppp b / src / mongo / db / catalog / multi_index_block_test . cpp <nl> TEST_F ( MultiIndexBlockTest , CommitWithoutInsertingDocuments ) { <nl> operationContext ( ) , coll , std : : vector < BSONObj > ( ) , MultiIndexBlock : : kNoopOnInitFn ) ) ; <nl> ASSERT_EQUALS ( 0U , specs . size ( ) ) ; <nl> <nl> - ASSERT_OK ( indexer - > dumpInsertsFromBulk ( operationContext ( ) ) ) ; <nl> - ASSERT_OK ( indexer - > checkConstraints ( operationContext ( ) ) ) ; <nl> + ASSERT_OK ( indexer - > dumpInsertsFromBulk ( operationContext ( ) , coll . get ( ) ) ) ; <nl> + ASSERT_OK ( indexer - > checkConstraints ( operationContext ( ) , coll . get ( ) ) ) ; <nl> <nl> { <nl> WriteUnitOfWork wunit ( operationContext ( ) ) ; <nl> TEST_F ( MultiIndexBlockTest , CommitAfterInsertingSingleDocument ) { <nl> ASSERT_EQUALS ( 0U , specs . size ( ) ) ; <nl> <nl> ASSERT_OK ( indexer - > insertSingleDocumentForInitialSyncOrRecovery ( operationContext ( ) , { } , { } ) ) ; <nl> - ASSERT_OK ( indexer - > dumpInsertsFromBulk ( operationContext ( ) ) ) ; <nl> - ASSERT_OK ( indexer - > checkConstraints ( operationContext ( ) ) ) ; <nl> + ASSERT_OK ( indexer - > dumpInsertsFromBulk ( operationContext ( ) , coll . get ( ) ) ) ; <nl> + ASSERT_OK ( indexer - > checkConstraints ( operationContext ( ) , coll . get ( ) ) ) ; <nl> <nl> { <nl> WriteUnitOfWork wunit ( operationContext ( ) ) ; <nl> TEST_F ( MultiIndexBlockTest , AbortWithoutCleanupAfterInsertingSingleDocument ) { <nl> ASSERT_EQUALS ( 0U , specs . size ( ) ) ; <nl> ASSERT_OK ( indexer - > insertSingleDocumentForInitialSyncOrRecovery ( operationContext ( ) , { } , { } ) ) ; <nl> auto isResumable = false ; <nl> - indexer - > abortWithoutCleanupForRollback ( operationContext ( ) , isResumable ) ; <nl> + indexer - > abortWithoutCleanupForRollback ( operationContext ( ) , coll . get ( ) , isResumable ) ; <nl> } <nl> <nl> TEST_F ( MultiIndexBlockTest , InitWriteConflictException ) { <nl> mmm a / src / mongo / db / commands / drop_indexes . cpp <nl> ppp b / src / mongo / db / commands / drop_indexes . cpp <nl> class CmdReIndex : public ErrmsgCommandDeprecated { <nl> / / writeConflictRetry loop . <nl> uassertStatusOK ( indexer - > insertAllDocumentsInCollection ( opCtx , collection . get ( ) ) ) ; <nl> <nl> - uassertStatusOK ( indexer - > checkConstraints ( opCtx ) ) ; <nl> + uassertStatusOK ( indexer - > checkConstraints ( opCtx , collection . get ( ) ) ) ; <nl> <nl> writeConflictRetry ( opCtx , " commitReIndex " , toReIndexNss . ns ( ) , [ & ] { <nl> WriteUnitOfWork wunit ( opCtx ) ; <nl> mmm a / src / mongo / db / index / index_build_interceptor . cpp <nl> ppp b / src / mongo / db / index / index_build_interceptor . cpp <nl> void IndexBuildInterceptor : : finalizeTemporaryTables ( <nl> } <nl> <nl> Status IndexBuildInterceptor : : recordDuplicateKey ( OperationContext * opCtx , <nl> - const KeyString : : Value & key ) { <nl> + const KeyString : : Value & key ) const { <nl> invariant ( _indexCatalogEntry - > descriptor ( ) - > unique ( ) ) ; <nl> return _duplicateKeyTracker - > recordKey ( opCtx , key ) ; <nl> } <nl> mmm a / src / mongo / db / index / index_build_interceptor . h <nl> ppp b / src / mongo / db / index / index_build_interceptor . h <nl> class IndexBuildInterceptor { <nl> * Given a duplicate key , record the key for later verification by a call to <nl> * checkDuplicateKeyConstraints ( ) ; <nl> * / <nl> - Status recordDuplicateKey ( OperationContext * opCtx , const KeyString : : Value & key ) ; <nl> + Status recordDuplicateKey ( OperationContext * opCtx , const KeyString : : Value & key ) const ; <nl> <nl> / * * <nl> * Returns Status : : OK if all previously recorded duplicate key constraint violations have been <nl> mmm a / src / mongo / db / index_builds_coordinator . cpp <nl> ppp b / src / mongo / db / index_builds_coordinator . cpp <nl> void IndexBuildsCoordinator : : createIndex ( OperationContext * opCtx , <nl> uassertStatusOK ( <nl> _indexBuildsManager . retrySkippedRecords ( opCtx , buildUUID , collection . get ( ) ) ) ; <nl> } <nl> - uassertStatusOK ( _indexBuildsManager . checkIndexConstraintViolations ( opCtx , buildUUID ) ) ; <nl> + uassertStatusOK ( <nl> + _indexBuildsManager . checkIndexConstraintViolations ( opCtx , collection . get ( ) , buildUUID ) ) ; <nl> <nl> auto opObserver = opCtx - > getServiceContext ( ) - > getOpObserver ( ) ; <nl> auto onCreateEachFn = [ & ] ( const BSONObj & spec ) { <nl> void IndexBuildsCoordinator : : _scanCollectionAndInsertSortedKeysIntoIndex ( <nl> const NamespaceStringOrUUID dbAndUUID ( replState - > dbName , replState - > collectionUUID ) ; <nl> Lock : : CollectionLock collLock ( opCtx , dbAndUUID , MODE_IX ) ; <nl> <nl> - _setUpForScanCollectionAndInsertSortedKeysIntoIndex ( opCtx , replState ) ; <nl> - <nl> - / / The collection object should always exist while an index build is registered . <nl> - auto collection = <nl> - CollectionCatalog : : get ( opCtx ) . lookupCollectionByUUID ( opCtx , replState - > collectionUUID ) ; <nl> - invariant ( collection ) ; <nl> + auto collection = _setUpForScanCollectionAndInsertSortedKeysIntoIndex ( opCtx , replState ) ; <nl> <nl> uassertStatusOK ( _indexBuildsManager . startBuildingIndex ( <nl> opCtx , collection , replState - > buildUUID , resumeAfterRecordId ) ) ; <nl> void IndexBuildsCoordinator : : _insertSortedKeysIntoIndexForResume ( <nl> const NamespaceStringOrUUID dbAndUUID ( replState - > dbName , replState - > collectionUUID ) ; <nl> Lock : : CollectionLock collLock ( opCtx , dbAndUUID , MODE_IX ) ; <nl> <nl> - _setUpForScanCollectionAndInsertSortedKeysIntoIndex ( opCtx , replState ) ; <nl> - <nl> - uassertStatusOK ( <nl> - _indexBuildsManager . resumeBuildingIndexFromBulkLoadPhase ( opCtx , replState - > buildUUID ) ) ; <nl> + auto collection = _setUpForScanCollectionAndInsertSortedKeysIntoIndex ( opCtx , replState ) ; <nl> + uassertStatusOK ( _indexBuildsManager . resumeBuildingIndexFromBulkLoadPhase ( <nl> + opCtx , collection , replState - > buildUUID ) ) ; <nl> } <nl> <nl> if ( MONGO_unlikely ( hangAfterIndexBuildDumpsInsertsFromBulk . shouldFail ( ) ) ) { <nl> void IndexBuildsCoordinator : : _insertSortedKeysIntoIndexForResume ( <nl> } <nl> } <nl> <nl> - void IndexBuildsCoordinator : : _setUpForScanCollectionAndInsertSortedKeysIntoIndex ( <nl> + const Collection * IndexBuildsCoordinator : : _setUpForScanCollectionAndInsertSortedKeysIntoIndex ( <nl> OperationContext * opCtx , std : : shared_ptr < ReplIndexBuildState > replState ) { <nl> / / Rebuilding system indexes during startup using the IndexBuildsCoordinator is done by all <nl> / / storage engines if they ' re missing . <nl> invariant ( _indexBuildsManager . isBackgroundBuilding ( replState - > buildUUID ) ) ; <nl> <nl> - auto nss = CollectionCatalog : : get ( opCtx ) . lookupNSSByUUID ( opCtx , replState - > collectionUUID ) ; <nl> - invariant ( nss ) ; <nl> + auto collection = <nl> + CollectionCatalog : : get ( opCtx ) . lookupCollectionByUUID ( opCtx , replState - > collectionUUID ) ; <nl> + invariant ( collection ) ; <nl> <nl> / / Set up the thread ' s currentOp information to display createIndexes cmd information . <nl> - updateCurOpOpDescription ( opCtx , * nss , replState - > indexSpecs ) ; <nl> + updateCurOpOpDescription ( opCtx , collection - > ns ( ) , replState - > indexSpecs ) ; <nl> <nl> / / Index builds can safely ignore prepare conflicts and perform writes . On secondaries , <nl> / / prepare operations wait for index builds to complete . <nl> opCtx - > recoveryUnit ( ) - > setPrepareConflictBehavior ( <nl> PrepareConflictBehavior : : kIgnoreConflictsAllowWrites ) ; <nl> + <nl> + return collection ; <nl> } <nl> <nl> / * <nl> IndexBuildsCoordinator : : CommitResult IndexBuildsCoordinator : : _insertKeysFromSide <nl> ! replCoord - > getMemberState ( ) . startup2 ( ) ; <nl> if ( IndexBuildProtocol : : kSinglePhase = = replState - > protocol | | <nl> twoPhaseAndNotInitialSyncing ) { <nl> - uassertStatusOK ( <nl> - _indexBuildsManager . checkIndexConstraintViolations ( opCtx , replState - > buildUUID ) ) ; <nl> + uassertStatusOK ( _indexBuildsManager . checkIndexConstraintViolations ( <nl> + opCtx , collection . get ( ) , replState - > buildUUID ) ) ; <nl> } <nl> } catch ( const ExceptionForCat < ErrorCategory : : ShutdownError > & e ) { <nl> logFailure ( e . toStatus ( ) , collection - > ns ( ) , replState ) ; <nl> StatusWith < std : : pair < long long , long long > > IndexBuildsCoordinator : : _runIndexReb <nl> RecoveryUnit : : ReadSource : : kNoTimestamp , <nl> IndexBuildInterceptor : : DrainYieldPolicy : : kNoYield ) ) ; <nl> <nl> - uassertStatusOK ( <nl> - _indexBuildsManager . checkIndexConstraintViolations ( opCtx , replState - > buildUUID ) ) ; <nl> + uassertStatusOK ( _indexBuildsManager . checkIndexConstraintViolations ( <nl> + opCtx , collection . get ( ) , replState - > buildUUID ) ) ; <nl> <nl> / / Commit the index build . <nl> uassertStatusOK ( _indexBuildsManager . commitIndexBuild ( opCtx , <nl> mmm a / src / mongo / db / index_builds_coordinator . h <nl> ppp b / src / mongo / db / index_builds_coordinator . h <nl> class IndexBuildsCoordinator { <nl> * / <nl> void _insertSortedKeysIntoIndexForResume ( OperationContext * opCtx , <nl> std : : shared_ptr < ReplIndexBuildState > replState ) ; <nl> - void _setUpForScanCollectionAndInsertSortedKeysIntoIndex ( <nl> + const Collection * _setUpForScanCollectionAndInsertSortedKeysIntoIndex ( <nl> OperationContext * opCtx , std : : shared_ptr < ReplIndexBuildState > replState ) ; <nl> <nl> / * * <nl> mmm a / src / mongo / db / repl / collection_bulk_loader_impl . cpp <nl> ppp b / src / mongo / db / repl / collection_bulk_loader_impl . cpp <nl> Status CollectionBulkLoaderImpl : : commit ( ) { <nl> / / Commit before deleting dups , so the dups will be removed from secondary indexes when <nl> / / deleted . <nl> if ( _secondaryIndexesBlock ) { <nl> - auto status = _secondaryIndexesBlock - > dumpInsertsFromBulk ( _opCtx . get ( ) ) ; <nl> + auto status = _secondaryIndexesBlock - > dumpInsertsFromBulk ( _opCtx . get ( ) , <nl> + _collection - > getCollection ( ) ) ; <nl> if ( ! status . isOK ( ) ) { <nl> return status ; <nl> } <nl> <nl> / / This should always return Status : : OK ( ) as secondary index builds ignore duplicate key <nl> / / constraints causing them to not be recorded . <nl> - invariant ( _secondaryIndexesBlock - > checkConstraints ( _opCtx . get ( ) ) ) ; <nl> + invariant ( _secondaryIndexesBlock - > checkConstraints ( _opCtx . get ( ) , <nl> + _collection - > getCollection ( ) ) ) ; <nl> <nl> status = writeConflictRetry ( <nl> _opCtx . get ( ) , " CollectionBulkLoaderImpl : : commit " , _nss . ns ( ) , [ this ] { <nl> Status CollectionBulkLoaderImpl : : commit ( ) { <nl> <nl> if ( _idIndexBlock ) { <nl> / / Do not do inside a WriteUnitOfWork ( required by dumpInsertsFromBulk ) . <nl> - auto status = <nl> - _idIndexBlock - > dumpInsertsFromBulk ( _opCtx . get ( ) , [ & ] ( const RecordId & rid ) { <nl> + auto status = _idIndexBlock - > dumpInsertsFromBulk ( <nl> + _opCtx . get ( ) , _collection - > getCollection ( ) , [ & ] ( const RecordId & rid ) { <nl> return writeConflictRetry ( <nl> _opCtx . get ( ) , " CollectionBulkLoaderImpl : : commit " , _nss . ns ( ) , [ this , & rid ] { <nl> WriteUnitOfWork wunit ( _opCtx . get ( ) ) ; <nl> Status CollectionBulkLoaderImpl : : commit ( ) { <nl> return status ; <nl> } <nl> <nl> - status = _idIndexBlock - > checkConstraints ( _opCtx . get ( ) ) ; <nl> + status = _idIndexBlock - > checkConstraints ( _opCtx . get ( ) , _collection - > getCollection ( ) ) ; <nl> if ( ! status . isOK ( ) ) { <nl> return status ; <nl> } <nl> mmm a / src / mongo / db / startup_recovery . cpp <nl> ppp b / src / mongo / db / startup_recovery . cpp <nl> Status buildMissingIdIndex ( OperationContext * opCtx , Collection * collection ) { <nl> return status ; <nl> } <nl> <nl> - status = indexer . checkConstraints ( opCtx ) ; <nl> + status = indexer . checkConstraints ( opCtx , collection ) ; <nl> if ( ! status . isOK ( ) ) { <nl> return status ; <nl> } <nl> mmm a / src / mongo / dbtests / dbtests . cpp <nl> ppp b / src / mongo / dbtests / dbtests . cpp <nl> Status createIndexFromSpec ( OperationContext * opCtx , StringData ns , const BSONObj <nl> if ( ! status . isOK ( ) ) { <nl> return status ; <nl> } <nl> - status = indexer . checkConstraints ( opCtx ) ; <nl> + status = indexer . checkConstraints ( opCtx , coll ) ; <nl> if ( ! status . isOK ( ) ) { <nl> return status ; <nl> } <nl> mmm a / src / mongo / dbtests / indexupdatetests . cpp <nl> ppp b / src / mongo / dbtests / indexupdatetests . cpp <nl> class InsertBuildIgnoreUnique : public IndexBuildBase { <nl> <nl> ASSERT_OK ( indexer . init ( _opCtx , coll , spec , MultiIndexBlock : : kNoopOnInitFn ) . getStatus ( ) ) ; <nl> ASSERT_OK ( indexer . insertAllDocumentsInCollection ( _opCtx , coll . get ( ) ) ) ; <nl> - ASSERT_OK ( indexer . checkConstraints ( _opCtx ) ) ; <nl> + ASSERT_OK ( indexer . checkConstraints ( _opCtx , coll . get ( ) ) ) ; <nl> <nl> WriteUnitOfWork wunit ( _opCtx ) ; <nl> ASSERT_OK ( indexer . commit ( _opCtx , <nl> class InsertBuildEnforceUnique : public IndexBuildBase { <nl> / / Hybrid index builds check duplicates explicitly . <nl> ASSERT_OK ( indexer . insertAllDocumentsInCollection ( _opCtx , coll . get ( ) ) ) ; <nl> <nl> - auto status = indexer . checkConstraints ( _opCtx ) ; <nl> + auto status = indexer . checkConstraints ( _opCtx , coll . get ( ) ) ; <nl> ASSERT_EQUALS ( status . code ( ) , ErrorCodes : : DuplicateKey ) ; <nl> } <nl> } ; <nl> Status IndexBuildBase : : createIndex ( const BSONObj & indexSpec ) { <nl> if ( ! status . isOK ( ) ) { <nl> return status ; <nl> } <nl> - status = indexer . checkConstraints ( _opCtx ) ; <nl> + status = indexer . checkConstraints ( _opCtx , collection ( ) . get ( ) ) ; <nl> if ( ! status . isOK ( ) ) { <nl> return status ; <nl> } <nl> mmm a / src / mongo / dbtests / querytests . cpp <nl> ppp b / src / mongo / dbtests / querytests . cpp <nl> class Base { <nl> indexer . drainBackgroundWrites ( & _opCtx , <nl> RecoveryUnit : : ReadSource : : kNoTimestamp , <nl> IndexBuildInterceptor : : DrainYieldPolicy : : kNoYield ) ) ; <nl> - uassertStatusOK ( indexer . checkConstraints ( & _opCtx ) ) ; <nl> + uassertStatusOK ( indexer . checkConstraints ( & _opCtx , collection . get ( ) ) ) ; <nl> { <nl> WriteUnitOfWork wunit ( & _opCtx ) ; <nl> uassertStatusOK ( indexer . commit ( & _opCtx , <nl> mmm a / src / mongo / dbtests / storage_timestamp_tests . cpp <nl> ppp b / src / mongo / dbtests / storage_timestamp_tests . cpp <nl> class StorageTimestampTest { <nl> } <nl> <nl> ASSERT_OK ( indexer . insertAllDocumentsInCollection ( _opCtx , coll . get ( ) ) ) ; <nl> - ASSERT_OK ( indexer . checkConstraints ( _opCtx ) ) ; <nl> + ASSERT_OK ( indexer . checkConstraints ( _opCtx , coll . get ( ) ) ) ; <nl> <nl> { <nl> WriteUnitOfWork wuow ( _opCtx ) ; <nl> class TimestampIndexBuilds : public StorageTimestampTest { <nl> / / Inserting all the documents has the side - effect of setting internal state on the index <nl> / / builder that the index is multikey . <nl> ASSERT_OK ( indexer . insertAllDocumentsInCollection ( _opCtx , autoColl . getCollection ( ) ) ) ; <nl> - ASSERT_OK ( indexer . checkConstraints ( _opCtx ) ) ; <nl> + ASSERT_OK ( indexer . checkConstraints ( _opCtx , autoColl . getCollection ( ) ) ) ; <nl> <nl> { <nl> WriteUnitOfWork wuow ( _opCtx ) ; <nl> class TimestampIndexBuildDrain : public StorageTimestampTest { <nl> ASSERT_TRUE ( buildingIndex - > indexBuildInterceptor ( ) - > areAllWritesApplied ( _opCtx ) ) ; <nl> } <nl> <nl> - ASSERT_OK ( indexer . checkConstraints ( _opCtx ) ) ; <nl> + ASSERT_OK ( indexer . checkConstraints ( _opCtx , autoColl . getCollection ( ) ) ) ; <nl> <nl> { <nl> WriteUnitOfWork wuow ( _opCtx ) ; <nl> class IndexBuildsResolveErrorsDuringStateChangeToPrimary : public StorageTimesta <nl> buildingIndex - > indexBuildInterceptor ( ) - > getSkippedRecordTracker ( ) - > areAllRecordsApplied ( <nl> _opCtx ) ) ; <nl> ASSERT_TRUE ( buildingIndex - > indexBuildInterceptor ( ) - > areAllWritesApplied ( _opCtx ) ) ; <nl> - ASSERT_OK ( indexer . checkConstraints ( _opCtx ) ) ; <nl> + ASSERT_OK ( indexer . checkConstraints ( _opCtx , collection . get ( ) ) ) ; <nl> <nl> { <nl> WriteUnitOfWork wuow ( _opCtx ) ; <nl> mmm a / src / mongo / dbtests / wildcard_multikey_persistence_test . cpp <nl> ppp b / src / mongo / dbtests / wildcard_multikey_persistence_test . cpp <nl> class WildcardMultikeyPersistenceTestFixture : public unittest : : Test { <nl> ASSERT_OK ( <nl> indexer . init ( opCtx ( ) , coll , indexSpec , MultiIndexBlock : : kNoopOnInitFn ) . getStatus ( ) ) ; <nl> ASSERT_OK ( indexer . insertAllDocumentsInCollection ( opCtx ( ) , coll . get ( ) ) ) ; <nl> - ASSERT_OK ( indexer . checkConstraints ( opCtx ( ) ) ) ; <nl> + ASSERT_OK ( indexer . checkConstraints ( opCtx ( ) , coll . get ( ) ) ) ; <nl> <nl> WriteUnitOfWork wunit ( opCtx ( ) ) ; <nl> ASSERT_OK ( indexer . commit ( opCtx ( ) , <nl>
SERVER - 50928 Remove IndexCatalog * stored in IndexBuildBlock
mongodb/mongo
a13aa67e179d3400bb8a61a8a995f601d97336be
2020-09-15T18:42:42Z
mmm a / lib / AST / NameLookup . cpp <nl> ppp b / lib / AST / NameLookup . cpp <nl> namespace { <nl> Optional < bool > isCascadingUse ) ; <nl> / / clang - format on <nl> <nl> - / / TODO : Use me more often <nl> - bool updateIsCascadingForOperator ( const DeclContext * const dc , <nl> - Optional < bool > isCascadingUse ) ; <nl> + bool resolveIsCascadingUse ( const DeclContext * const dc , <nl> + Optional < bool > isCascadingUse , <nl> + bool onlyCareAboutFunctionBody ) ; <nl> <nl> / / / Return nullptr if lookup done . <nl> std : : pair < DeclContext * , bool > <nl> UnqualifiedLookupFactory : : operatorScopeForASTScopeLookup ( <nl> / / Operator lookup is always at module scope . <nl> return std : : make_pair ( <nl> & sourceFile . getScope ( ) , <nl> - updateIsCascadingForOperator ( <nl> - lookupScope - > getInnermostEnclosingDeclContext ( ) , isCascadingUse ) ) ; <nl> + resolveIsCascadingUse ( lookupScope - > getInnermostEnclosingDeclContext ( ) , <nl> + isCascadingUse , <nl> + / * onlyCareAboutFunctionBody * / true ) ) ; <nl> } <nl> <nl> std : : pair < const ASTScope * , Optional < bool > > <nl> UnqualifiedLookupFactory : : lookIntoDeclarationContext ( <nl> Optional < bool > isCascadingUse ) { <nl> / / clang - format on <nl> / / If we haven ' t determined whether we have a cascading use , do so now . <nl> - const bool isCascadingUseResult = <nl> - isCascadingUse . hasValue ( ) <nl> - ? isCascadingUse . getValue ( ) <nl> - : dc - > isCascadingContextForLookup ( / * functionsAreNonCascading = * / false ) ; <nl> + const bool isCascadingUseResult = resolveIsCascadingUse ( <nl> + dc , isCascadingUse , / * onlyCareAboutFunctionBody = * / false ) ; <nl> <nl> / / Pattern binding initializers are only interesting insofar as they <nl> / / affect lookup in an enclosing nominal type or extension thereof . <nl> UnqualifiedLookupFactory : : lookIntoDeclarationContext ( <nl> isCascadingUseResult ) ; <nl> } <nl> <nl> - / / TODO : Use me more often <nl> - bool UnqualifiedLookupFactory : : updateIsCascadingForOperator ( <nl> - const DeclContext * const dc , Optional < bool > isCascadingUse ) { <nl> - return isCascadingUse . hasValue ( ) ? isCascadingUse . getValue ( ) <nl> - : dc - > isCascadingContextForLookup ( <nl> - / * functionsAreNonCascading = * / true ) ; <nl> + bool UnqualifiedLookupFactory : : resolveIsCascadingUse ( <nl> + const DeclContext * const dc , Optional < bool > isCascadingUse , <nl> + bool onlyCareAboutFunctionBody ) { <nl> + return isCascadingUse . hasValue ( ) <nl> + ? isCascadingUse . getValue ( ) <nl> + : dc - > isCascadingContextForLookup ( <nl> + / * functionsAreNonCascading = * / onlyCareAboutFunctionBody ) ; <nl> } <nl> <nl> std : : pair < DeclContext * , bool > <nl> UnqualifiedLookupFactory : : operatorLookup ( DeclContext * dc , <nl> Optional < bool > isCascadingUse ) { <nl> auto * msc = dc - > getModuleScopeContext ( ) ; <nl> - return std : : make_pair ( addLocalVariableResults ( msc ) ? nullptr : msc , <nl> - updateIsCascadingForOperator ( dc , isCascadingUse ) ) ; <nl> + return std : : make_pair ( <nl> + addLocalVariableResults ( msc ) ? nullptr : msc , <nl> + resolveIsCascadingUse ( dc , isCascadingUse , <nl> + / * onlyCareAboutFunctionBody * / true ) ) ; <nl> } <nl> <nl> / / TODO : fix this convention w / struct : Return nullptr if done looking up . <nl> UnqualifiedLookupFactory : : lookupInPatternBindingInitializer ( <nl> Consumer . foundDecl ( selfParam , DeclVisibilityKind : : FunctionParameter ) ; <nl> if ( isFinishedWithLookupNowThatIsAboutToLookForOuterResults ( ) ) <nl> / / clang - format off <nl> - return PerScopeLookupState { ScopeLookupResult : : finished , <nl> - PBI , <nl> - None , <nl> - / / TODO : FACTOR THIS LINE <nl> - isCascadingUse . hasValue ( ) <nl> - ? isCascadingUse . getValue ( ) <nl> - : PBI - > isCascadingContextForLookup ( false ) } ; <nl> + return PerScopeLookupState { <nl> + ScopeLookupResult : : finished , <nl> + PBI , <nl> + None , <nl> + resolveIsCascadingUse ( PBI , isCascadingUse , <nl> + / * onlyCareAboutFunctionBody = * / false ) } ; <nl> / / clang - format on <nl> DeclContext * const parent = PBI - > getParent ( ) ; <nl> / / clang - format off <nl> - return PerScopeLookupState { ScopeLookupResult : : next , <nl> - parent , <nl> - PlacesToSearch ( parent , PBI , parent , parent ) , <nl> - isCascadingUse . hasValue ( ) <nl> - ? isCascadingUse . getValue ( ) <nl> - : PBI - > isCascadingContextForLookup ( false ) } ; <nl> + return PerScopeLookupState { <nl> + ScopeLookupResult : : next , <nl> + parent , <nl> + PlacesToSearch ( parent , PBI , parent , parent ) , <nl> + resolveIsCascadingUse ( PBI , isCascadingUse , <nl> + / * onlyCareAboutFunctionBody = * / false ) } ; <nl> / / clang - format no <nl> } <nl> / / Initializers for stored properties of types perform static <nl> UnqualifiedLookupFactory : : lookupInPatternBindingInitializer ( <nl> surroundingContext , <nl> PlacesToSearch ( surroundingContext , surroundingContext , <nl> surroundingContext , surroundingContext ) , <nl> - surroundingContext - > isCascadingContextForLookup ( false ) } ; <nl> + resolveIsCascadingUse ( surroundingContext , <nl> + None , <nl> + / * onlyCareAboutFunctionBody = * / false ) } ; <nl> / / clang - format on <nl> } <nl> / / Otherwise , we have an initializer for a global or local property . <nl> / / There ' s not much to find here , we ' ll keep going up to a parent <nl> / / context . <nl> / / clang - format off <nl> - return PerScopeLookupState { ScopeLookupResult : : next , <nl> - PBI , <nl> - None , <nl> - isCascadingUse . hasValue ( ) <nl> - ? isCascadingUse . getValue ( ) <nl> - : PBI - > isCascadingContextForLookup ( false ) } ; <nl> + return PerScopeLookupState { <nl> + ScopeLookupResult : : next , <nl> + PBI , <nl> + None , <nl> + resolveIsCascadingUse ( PBI , isCascadingUse , <nl> + / * onlyCareAboutFunctionBody = * / false ) } ; <nl> / / clang - format on <nl> } <nl> <nl> UnqualifiedLookupFactory : : lookupInClosure ( AbstractClosureExpr * ACE , <nl> } <nl> } <nl> / / clang - format off <nl> - return PerScopeLookupState { ScopeLookupResult : : next , <nl> - ACE , <nl> - None , <nl> - isCascadingUse . hasValue ( ) <nl> - ? isCascadingUse . getValue ( ) <nl> - : ACE - > isCascadingContextForLookup ( false ) } ; <nl> + return PerScopeLookupState { <nl> + ScopeLookupResult : : next , <nl> + ACE , <nl> + None , <nl> + resolveIsCascadingUse ( ACE , isCascadingUse , <nl> + / * onlyCareAboutFunctionBody = * / false ) } ; <nl> / / clang - format on <nl> } <nl> <nl> UnqualifiedLookupFactory : : lookupInExtension ( ExtensionDecl * ED , <nl> shouldLookupMembers ( ED , Loc ) <nl> ? Optional < PlacesToSearch > ( PlacesToSearch ( ED , ED , ED , ED ) ) <nl> : None , <nl> - isCascadingUse . hasValue ( ) ? isCascadingUse . getValue ( ) <nl> - : ED - > isCascadingContextForLookup ( false ) } ; <nl> + resolveIsCascadingUse ( ED , isCascadingUse , <nl> + / * onlyCareAboutFunctionBody = * / false ) } ; <nl> / / clang - format on <nl> } <nl> <nl> UnqualifiedLookupFactory : : lookupInNominalType ( NominalTypeDecl * ND , <nl> shouldLookupMembers ( ND , Loc ) <nl> ? Optional < PlacesToSearch > ( PlacesToSearch ( ND , ND , ND , ND ) ) <nl> : None , <nl> - isCascadingUse . hasValue ( ) ? isCascadingUse . getValue ( ) <nl> - : ND - > isCascadingContextForLookup ( false ) } ; <nl> + resolveIsCascadingUse ( ND , isCascadingUse , <nl> + / * onlyCareAboutFunctionBody = * / false ) } ; <nl> + <nl> / / clang - format on <nl> } <nl> <nl> UnqualifiedLookupFactory : : lookupInMiscContext ( DeclContext * dc , <nl> isa < Initializer > ( dc ) | | <nl> isa < TypeAliasDecl > ( dc ) | | <nl> isa < SubscriptDecl > ( dc ) ) ; <nl> - return PerScopeLookupState { ScopeLookupResult : : next , <nl> - dc , <nl> - None , <nl> - isCascadingUse . hasValue ( ) <nl> - ? isCascadingUse . getValue ( ) <nl> - : dc - > isCascadingContextForLookup ( false ) } ; <nl> + return PerScopeLookupState { <nl> + ScopeLookupResult : : next , <nl> + dc , <nl> + None , <nl> + resolveIsCascadingUse ( DC , isCascadingUse , <nl> + / * onlyCareAboutFunctionBody = * / false ) } ; <nl> / / clang - format on <nl> } <nl> <nl>
Factor isCascadingUse resolution .
apple/swift
b52b85b884f101fe8b8c25eca77f2f487927ec2e
2019-02-18T06:07:01Z
mmm a / drivers / python / rethinkdb / _export . py <nl> ppp b / drivers / python / rethinkdb / _export . py <nl> <nl> from multiprocessing import SimpleQueue <nl> except ImportError : <nl> from multiprocessing . queues import SimpleQueue <nl> - <nl> + <nl> <nl> info = " ' rethinkdb export ` exports data from a RethinkDB cluster into a directory " <nl> usage = " \ <nl> rethinkdb export [ - c HOST : PORT ] [ - a AUTH_KEY ] [ - d DIR ] [ - e ( DB | DB . TABLE ) ] . . . \ n \ <nl> - [ - - format ( csv | json ) ] [ - - fields FIELD , FIELD . . . ] [ - - delimiter CHARACTER ] \ n \ <nl> + [ - - format ( csv | json | nsj ) ] [ - - fields FIELD , FIELD . . . ] [ - - delimiter CHARACTER ] \ n \ <nl> [ - - clients NUM ] " <nl> <nl> def print_export_help ( ) : <nl> def print_export_help ( ) : <nl> print ( " - a [ - - auth ] AUTH_KEY authorization key for rethinkdb clients " ) <nl> print ( " - d [ - - directory ] DIR directory to output to ( defaults to " ) <nl> print ( " rethinkdb_export_DATE_TIME ) " ) <nl> - print ( " - - format ( csv | json ) format to write ( defaults to json ) " ) <nl> + print ( " - - format ( csv | json | nsj ) format to write ( defaults to json ) " ) <nl> print ( " - - fields FIELD , FIELD . . . limit the exported fields to those specified " ) <nl> print ( " ( required for CSV format ) " ) <nl> print ( " - e [ - - export ] ( DB | DB . TABLE ) limit dump to the given database or table ( may " ) <nl> def parse_options ( ) : <nl> parser = OptionParser ( add_help_option = False , usage = usage ) <nl> parser . add_option ( " - c " , " - - connect " , dest = " host " , metavar = " HOST : PORT " , default = " localhost : 28015 " , type = " string " ) <nl> parser . add_option ( " - a " , " - - auth " , dest = " auth_key " , metavar = " AUTHKEY " , default = " " , type = " string " ) <nl> - parser . add_option ( " - - format " , dest = " format " , metavar = " json | csv " , default = " json " , type = " string " ) <nl> + parser . add_option ( " - - format " , dest = " format " , metavar = " json | csv | nsj " , default = " json " , type = " string " ) <nl> parser . add_option ( " - d " , " - - directory " , dest = " directory " , metavar = " DIRECTORY " , default = None , type = " string " ) <nl> parser . add_option ( " - e " , " - - export " , dest = " tables " , metavar = " DB | DB . TABLE " , default = [ ] , action = " append " , type = " string " ) <nl> parser . add_option ( " - - fields " , dest = " fields " , metavar = " < FIELD > , < FIELD > . . . " , default = None , type = " string " ) <nl> def parse_options ( ) : <nl> ( res [ " host " ] , res [ " port " ] ) = parse_connect_option ( options . host ) <nl> <nl> # Verify valid - - format option <nl> - if options . format not in [ " csv " , " json " ] : <nl> - raise RuntimeError ( " Error : Unknown format ' % s ' , valid options are ' csv ' and ' json ' " % options . format ) <nl> + if options . format not in [ " csv " , " json " , " nsj " ] : <nl> + raise RuntimeError ( " Error : Unknown format ' % s ' , valid options are ' csv ' , ' json ' , and ' nsj ' " % options . format ) <nl> res [ " format " ] = options . format <nl> <nl> # Verify valid directory option <nl> def read_table_into_queue ( progress , conn , db , table , pkey , task_queue , progress_ <nl> # Export is done - since we used estimates earlier , update the actual table size <nl> progress_info [ 1 ] . value = progress_info [ 0 ] . value <nl> <nl> - def json_writer ( filename , fields , task_queue , error_queue ) : <nl> + def json_writer ( filename , fields , task_queue , error_queue , format ) : <nl> try : <nl> with open ( filename , " w " ) as out : <nl> first = True <nl> - out . write ( " [ " ) <nl> + if format ! = " nsj " : <nl> + out . write ( " [ " ) <nl> item = task_queue . get ( ) <nl> while not isinstance ( item , StopIteration ) : <nl> row = item [ 0 ] <nl> def json_writer ( filename , fields , task_queue , error_queue ) : <nl> for item in list ( row . keys ( ) ) : <nl> if item not in fields : <nl> del row [ item ] <nl> - if first : <nl> + if first or format = = " nsj " : <nl> first = False <nl> out . write ( " \ n " + json . dumps ( row ) ) <nl> else : <nl> out . write ( " , \ n " + json . dumps ( row ) ) <nl> <nl> item = task_queue . get ( ) <nl> - out . write ( " \ n ] \ n " ) <nl> + if format ! = " nsj " : <nl> + out . write ( " \ n ] \ n " ) <nl> except : <nl> ex_type , ex_class , tb = sys . exc_info ( ) <nl> error_queue . put ( ( ex_type , ex_class , traceback . extract_tb ( tb ) ) ) <nl> def launch_writer ( format , directory , db , table , fields , delimiter , task_queue , e <nl> filename = directory + " / % s / % s . csv " % ( db , table ) <nl> return multiprocessing . Process ( target = csv_writer , <nl> args = ( filename , fields , delimiter , task_queue , error_queue ) ) <nl> + <nl> + elif format = = " nsj " : <nl> + filename = directory + " / % s / % s . json " % ( db , table ) <nl> + return multiprocessing . Process ( target = json_writer , <nl> + args = ( filename , fields , task_queue , error_queue , format ) ) <nl> + <nl> else : <nl> raise RuntimeError ( " unknown format type : % s " % format ) <nl> <nl>
add export support for new - line separated json
rethinkdb/rethinkdb
2e11fb0b6599fc89ab050141e2f4134a1bcd9b39
2015-11-15T21:24:07Z
mmm a / tools / test . py <nl> ppp b / tools / test . py <nl> def RunProcess ( context , timeout , args , * * rest ) : <nl> popen_args = args <nl> prev_error_mode = SEM_INVALID_VALUE <nl> if utils . IsWindows ( ) : <nl> - popen_args = ' " ' + subprocess . list2cmdline ( args ) + ' " ' <nl> + popen_args = subprocess . list2cmdline ( args ) <nl> if context . suppress_dialogs : <nl> # Try to change the error mode to avoid dialogs on fatal errors . Don ' t <nl> # touch any existing error mode flags by merging the existing error mode . <nl>
Fix test . py for Python 2 . 7 .
v8/v8
26659b13c8e841126252b73bd78e98c3cc4e47c4
2012-03-13T17:19:24Z
mmm a / test / core / bad_client / bad_client . c <nl> ppp b / test / core / bad_client / bad_client . c <nl> void grpc_run_bad_client_test ( <nl> grpc_exec_ctx exec_ctx = GRPC_EXEC_CTX_INIT ; <nl> grpc_completion_queue * shutdown_cq ; <nl> <nl> - hex = gpr_dump ( client_payload , client_payload_length , <nl> - GPR_DUMP_HEX | GPR_DUMP_ASCII ) ; <nl> + if ( client_payload_length < 4 * 1024 ) { <nl> + hex = gpr_dump ( client_payload , client_payload_length , <nl> + GPR_DUMP_HEX | GPR_DUMP_ASCII ) ; <nl> <nl> - / * Add a debug log * / <nl> - gpr_log ( GPR_INFO , " TEST : % s " , hex ) ; <nl> + / * Add a debug log * / <nl> + gpr_log ( GPR_INFO , " TEST : % s " , hex ) ; <nl> <nl> - gpr_free ( hex ) ; <nl> + gpr_free ( hex ) ; <nl> + } else { <nl> + gpr_log ( GPR_INFO , " TEST : ( % " PRIdPTR " byte long string ) " , <nl> + client_payload_length ) ; <nl> + } <nl> <nl> / * Init grpc * / <nl> grpc_init ( ) ; <nl> mmm a / test / core / bad_client / tests / window_overflow . c <nl> ppp b / test / core / bad_client / tests / window_overflow . c <nl> int main ( int argc , char * * argv ) { <nl> # define MAX_FRAME_SIZE 16384 <nl> # define MESSAGES_PER_FRAME ( MAX_FRAME_SIZE / 5 ) <nl> # define FRAME_SIZE ( MESSAGES_PER_FRAME * 5 ) <nl> - # define SEND_SIZE ( 100 * 1024 ) <nl> + # define SEND_SIZE ( 6 * 1024 * 1024 ) <nl> # define NUM_FRAMES ( SEND_SIZE / FRAME_SIZE + 1 ) <nl> grpc_test_init ( argc , argv ) ; <nl> <nl>
Update window overflow test
grpc/grpc
a42a22b2bec661c5c46c8f884a98f7c004cd5b3a
2017-09-20T23:08:25Z
mmm a / . cicd / generate - pipeline . sh <nl> ppp b / . cicd / generate - pipeline . sh <nl> for FILE in $ ( ls $ CICD_DIR / platforms ) ; do <nl> } ] ' ) <nl> done <nl> # Triggered LRT <nl> - if [ [ $ { BUILDKITE_PIPELINE_SLUG } = = " eosio - lrt " ] ] ; then <nl> - if [ [ - z $ { BUILDKITE_TRIGGERED_FROM_BUILD_ID } ] ] ; then <nl> - export BUILD_SOURCE = " - - build \ $ BUILDKITE_BUILD_ID " <nl> - fi <nl> - export BUILD_SOURCE = $ { BUILD_SOURCE : mmmbuild \ $ BUILDKITE_TRIGGERED_FROM_BUILD_ID } <nl> + if [ [ - z $ { BUILDKITE_TRIGGERED_FROM_BUILD_ID } ] ] ; then <nl> + export BUILD_SOURCE = " - - build \ $ BUILDKITE_BUILD_ID " <nl> fi <nl> + export BUILD_SOURCE = $ { BUILD_SOURCE : mmmbuild \ $ BUILDKITE_TRIGGERED_FROM_BUILD_ID } <nl> oIFS = " $ IFS " <nl> IFS = $ ' ' <nl> nIFS = $ IFS # fix array splitting ( \ n won ' t work ) <nl>
Remove slug check in favor of only using trigger check .
EOSIO/eos
04970a494fec2ae67f0a006103bbdbdc7211d755
2019-09-13T13:59:05Z
mmm a / modules / features2d / src / sift . cpp <nl> ppp b / modules / features2d / src / sift . cpp <nl> static float calcOrientationHist ( const Mat & img , Point pt , int radius , <nl> <nl> float expf_scale = - 1 . f / ( 2 . f * sigma * sigma ) ; <nl> AutoBuffer < float > buf ( len * 4 + n + 4 ) ; <nl> - float * X = buf , * Y = X + len , * Mag = X , * Ori = Y + len , * W = Ori + len ; <nl> + float * X = buf . data ( ) , * Y = X + len , * Mag = X , * Ori = Y + len , * W = Ori + len ; <nl> float * temphist = W + len + 2 ; <nl> <nl> for ( i = 0 ; i < n ; i + + ) <nl> static void calcSIFTDescriptor ( const Mat & img , Point2f ptf , float ori , float sc <nl> int rows = img . rows , cols = img . cols ; <nl> <nl> AutoBuffer < float > buf ( len * 6 + histlen ) ; <nl> - float * X = buf , * Y = X + len , * Mag = Y , * Ori = Mag + len , * W = Ori + len ; <nl> + float * X = buf . data ( ) , * Y = X + len , * Mag = Y , * Ori = Mag + len , * W = Ori + len ; <nl> float * RBin = W + len , * CBin = RBin + len , * hist = CBin + len ; <nl> <nl> for ( i = 0 ; i < d + 2 ; i + + ) <nl>
[ move sift . cpp ] opencv : use cv : : AutoBuffer < > : : data ( )
opencv/opencv
fd46684bf874f659e5f516f5fc4a651cc887f8a2
2018-06-13T19:11:18Z
mmm a / src / python / src / grpc / _adapter / _low_test . py <nl> ppp b / src / python / src / grpc / _adapter / _low_test . py <nl> <nl> bytes ( bytearray ( ( row + column ) % 256 for column in range ( row ) ) ) <nl> for row in range ( _STREAM_LENGTH ) ) <nl> <nl> - " " " <nl> class LonelyClientTest ( unittest . TestCase ) : <nl> <nl> def testLonelyClient ( self ) : <nl> def testManyOneByteEchoes ( self ) : <nl> <nl> def testManyManyByteEchoes ( self ) : <nl> self . _perform_echo_test ( _BYTE_SEQUENCE_SEQUENCE ) <nl> - " " " <nl> <nl> class CancellationTest ( unittest . TestCase ) : <nl> <nl> def testCancellation ( self ) : <nl> self . assertSequenceEqual ( test_data , client_data ) <nl> <nl> <nl> - " " " <nl> class ExpirationTest ( unittest . TestCase ) : <nl> <nl> @ unittest . skip ( ' TODO ( nathaniel ) : Expiration test ! ' ) <nl> def testExpiration ( self ) : <nl> pass <nl> - " " " <nl> <nl> <nl> if __name__ = = ' __main__ ' : <nl>
Uncomment accidentally commented stuff
grpc/grpc
62bc1846b7a2d83cbdd9e31ac3921f76df570098
2015-04-20T16:58:06Z
mmm a / cocos / scripting / lua - bindings / manual / LuaScriptHandlerMgr . cpp <nl> ppp b / cocos / scripting / lua - bindings / manual / LuaScriptHandlerMgr . cpp <nl> void ScriptHandlerMgr : : addCustomHandler ( void * object , int handler , CustomType ty <nl> auto iter = _mapObjectHandlers . find ( object ) ; <nl> VecHandlerPairs vecHandlers ; <nl> vecHandlers . clear ( ) ; <nl> - HandlerType handlerType = HandlerType : : EVENT_CONSOLE_START ; <nl> + HandlerType handlerType = HandlerType : : EVENT_CONSOLE_BEGINNING ; <nl> switch ( type ) <nl> { <nl> case CustomType : : CONSOLE : <nl> { <nl> - handlerType = HandlerType : : EVENT_CONSOLE_START ; <nl> + handlerType = HandlerType : : EVENT_CONSOLE_BEGINNING ; <nl> if ( _mapObjectHandlers . end ( ) ! = iter ) <nl> { <nl> vecHandlers = iter - > second ; <nl> handlerType = static_cast < HandlerType > ( ( int ) vecHandlers . back ( ) . first + 1 ) ; <nl> } <nl> - assert ( handlerType < = HandlerType : : EVENT_CONSOLE_END ) ; <nl> + assert ( handlerType < = HandlerType : : EVENT_CONSOLE_ENDED ) ; <nl> } <nl> break ; <nl> default : <nl> mmm a / cocos / scripting / lua - bindings / manual / LuaScriptHandlerMgr . h <nl> ppp b / cocos / scripting / lua - bindings / manual / LuaScriptHandlerMgr . h <nl> class ScriptHandlerMgr <nl> EVENT_PHYSICS_CONTACT_POSTSOLVE , <nl> EVENT_PHYSICS_CONTACT_SEPERATE , <nl> <nl> - EVENT_CONSOLE_START = 10000 , <nl> - EVENT_CONSOLE_END = 11000 , <nl> + EVENT_CONSOLE_BEGINNING = 10000 , <nl> + EVENT_CONSOLE_ENDED = 11000 , <nl> } ; <nl> <nl> enum class CustomType : int <nl>
close : Add ` addCustomHandler ` in the ScriptHandlerMgr for Console auto test .
cocos2d/cocos2d-x
0026fc2b2a0884209cd7fab62888d027b6784a17
2014-03-20T01:54:38Z
mmm a / brightray / browser / media / media_stream_devices_controller . cc <nl> ppp b / brightray / browser / media / media_stream_devices_controller . cc <nl> void MediaStreamDevicesController : : Accept ( ) { <nl> void MediaStreamDevicesController : : Deny ( ) { <nl> content : : MediaResponseCallback cb = callback_ ; <nl> callback_ . Reset ( ) ; <nl> - cb . Run ( content : : MediaStreamDevices ( ) , content : : MEDIA_DEVICE_PERMISSION_DENIED , scoped_ptr < content : : MediaStreamUI > ( ) ) ; <nl> + cb . Run ( content : : MediaStreamDevices ( ) , <nl> + content : : MEDIA_DEVICE_PERMISSION_DENIED , <nl> + scoped_ptr < content : : MediaStreamUI > ( ) ) ; <nl> } <nl> <nl> } / / namespace brightray <nl>
Fix long line
electron/electron
918f38e13fe6d2b6b21646acf2ab614b26e99270
2014-06-27T15:59:01Z
mmm a / fdbserver / DataDistribution . actor . cpp <nl> ppp b / fdbserver / DataDistribution . actor . cpp <nl> struct DDTeamCollection : ReferenceCounted < DDTeamCollection > { <nl> ASSERT ( ! tcMachineInfo - > serversOnMachine . empty ( ) ) ; <nl> LocalityEntry process = tcMachineInfo - > localityEntry ; <nl> forcedAttributes . push_back ( process ) ; <nl> + } else { <nl> + / / when leastUsedMachine is empty , we will never find a team later , so we can simply return . <nl> + return addedMachineTeams ; <nl> } <nl> - / / TODO : If leastUsedServers is empty , you can simply return because you will never succeed . <nl> <nl> / / Step 4 : Reuse Policy ' s selectReplicas ( ) to create team for the representative process . <nl> std : : vector < UID * > bestTeam ; <nl> struct DDTeamCollection : ReferenceCounted < DDTeamCollection > { <nl> int healthyMachineTeamCount = 0 ; <nl> int totalMachineTeamCount = 0 ; <nl> for ( auto mt = machineTeams . begin ( ) ; mt ! = machineTeams . end ( ) ; + + mt ) { <nl> - if ( ( * mt ) - > machines . size ( ) = = configuration . storageTeamSize ) { / / TODO : Remove this if if SevError never happens <nl> - if ( isMachineTeamHealthy ( * mt ) ) { <nl> - + + healthyMachineTeamCount ; <nl> - } <nl> - + + totalMachineTeamCount ; <nl> - } else { <nl> - TraceEvent ( SevError , " MachineTeamHasIncorrectSize " ) <nl> - . detail ( " Observation " , " WeMustCheckMachineTeamSize " ) ; <nl> + ASSERT ( ( * mt ) - > machines . size ( ) = = configuration . storageTeamSize ) ; <nl> + <nl> + if ( isMachineTeamHealthy ( * mt ) ) { <nl> + + + healthyMachineTeamCount ; <nl> } <nl> + + + totalMachineTeamCount ; <nl> } <nl> <nl> int totalHealthyMachineCount = 0 ; <nl>
TeamCollection : Improve code efficiency
apple/foundationdb
54a4d6b3089f1923ba1fc1a47d59d2f8718910ed
2018-12-02T01:10:50Z
mmm a / include / internal / catch_tostring . h <nl> ppp b / include / internal / catch_tostring . h <nl> namespace Catch { <nl> template < typename T > <nl> std : : string toString ( T const & value ) ; <nl> <nl> + / / Built in overloads <nl> + <nl> + std : : string toString ( std : : string const & value ) ; <nl> + std : : string toString ( std : : wstring const & value ) ; <nl> + std : : string toString ( const char * const value ) ; <nl> + std : : string toString ( char * const value ) ; <nl> + std : : string toString ( const wchar_t * const value ) ; <nl> + std : : string toString ( wchar_t * const value ) ; <nl> + std : : string toString ( int value ) ; <nl> + std : : string toString ( unsigned long value ) ; <nl> + std : : string toString ( unsigned int value ) ; <nl> + std : : string toString ( const double value ) ; <nl> + std : : string toString ( const float value ) ; <nl> + std : : string toString ( bool value ) ; <nl> + std : : string toString ( char value ) ; <nl> + std : : string toString ( signed char value ) ; <nl> + std : : string toString ( unsigned char value ) ; <nl> + <nl> + # ifdef CATCH_CONFIG_CPP11_NULLPTR <nl> + std : : string toString ( std : : nullptr_t ) ; <nl> + # endif <nl> + <nl> + # ifdef __OBJC__ <nl> + std : : string toString ( NSString const * const & nsstring ) ; <nl> + std : : string toString ( NSString * CATCH_ARC_STRONG const & nsstring ) ; <nl> + std : : string toString ( NSObject * const & nsObject ) ; <nl> + # endif <nl> + <nl> + <nl> namespace Detail { <nl> <nl> / / SFINAE is currently disabled by default for all compilers . <nl> std : : string toString ( T const & value ) { <nl> return StringMaker < T > : : convert ( value ) ; <nl> } <nl> <nl> - / / Built in overloads <nl> - <nl> - std : : string toString ( std : : string const & value ) ; <nl> - std : : string toString ( std : : wstring const & value ) ; <nl> - std : : string toString ( const char * const value ) ; <nl> - std : : string toString ( char * const value ) ; <nl> - std : : string toString ( const wchar_t * const value ) ; <nl> - std : : string toString ( wchar_t * const value ) ; <nl> - std : : string toString ( int value ) ; <nl> - std : : string toString ( unsigned long value ) ; <nl> - std : : string toString ( unsigned int value ) ; <nl> - std : : string toString ( const double value ) ; <nl> - std : : string toString ( const float value ) ; <nl> - std : : string toString ( bool value ) ; <nl> - std : : string toString ( char value ) ; <nl> - std : : string toString ( signed char value ) ; <nl> - std : : string toString ( unsigned char value ) ; <nl> - <nl> - # ifdef CATCH_CONFIG_CPP11_NULLPTR <nl> - std : : string toString ( std : : nullptr_t ) ; <nl> - # endif <nl> - <nl> - # ifdef __OBJC__ <nl> - std : : string toString ( NSString const * const & nsstring ) ; <nl> - std : : string toString ( NSString * CATCH_ARC_STRONG const & nsstring ) ; <nl> - std : : string toString ( NSObject * const & nsObject ) ; <nl> - # endif <nl> <nl> namespace Detail { <nl> template < typename InputIterator > <nl>
catch_tostring : Move toString overload declarations
catchorg/Catch2
95956444b75c5a806dfbf1caaf5664a697ba31e3
2014-09-03T23:12:25Z
mmm a / lib / SILGen / SILGenApply . cpp <nl> ppp b / lib / SILGen / SILGenApply . cpp <nl> class Callee { <nl> return result ; <nl> } <nl> <nl> - std : : tuple < ManagedValue , CalleeTypeInfo > <nl> - getAtUncurryLevel ( SILGenFunction & SGF , unsigned level ) const & { <nl> - ManagedValue mv ; <nl> - Optional < SILDeclRef > constant = None ; <nl> - <nl> - if ( ! Constant ) { <nl> - assert ( level = = 0 & & " can ' t curry indirect function " ) ; <nl> - } else { <nl> - unsigned uncurryLevel = Constant . getUncurryLevel ( ) ; <nl> - assert ( level < = uncurryLevel <nl> - & & " uncurrying past natural uncurry level of standalone function " ) ; <nl> - if ( level < uncurryLevel ) { <nl> - assert ( level = = 0 ) ; <nl> - constant = Constant . asCurried ( ) ; <nl> - } else { <nl> - constant = Constant ; <nl> - } <nl> - } <nl> - <nl> - switch ( kind ) { <nl> - case Kind : : IndirectValue : <nl> - mv = IndirectValue ; <nl> - assert ( Substitutions . empty ( ) ) ; <nl> - return std : : make_tuple ( mv , <nl> - createCalleeTypeInfo ( SGF , constant , mv . getType ( ) ) ) ; <nl> - <nl> - case Kind : : StandaloneFunction : { <nl> - / / If we ' re currying a direct reference to a class - dispatched method , <nl> - / / make sure we emit the right set of thunks . <nl> - if ( constant - > isCurried & & Constant . hasDecl ( ) ) <nl> - if ( auto func = Constant . getAbstractFunctionDecl ( ) ) <nl> - if ( getMethodDispatch ( func ) = = MethodDispatch : : Class ) <nl> - constant = constant - > asDirectReference ( true ) ; <nl> - <nl> - auto constantInfo = SGF . getConstantInfo ( * constant ) ; <nl> - SILValue ref = SGF . emitGlobalFunctionRef ( Loc , * constant , constantInfo ) ; <nl> - mv = ManagedValue : : forUnmanaged ( ref ) ; <nl> - return std : : make_tuple ( mv , <nl> - createCalleeTypeInfo ( SGF , constant , mv . getType ( ) ) ) ; <nl> - } <nl> - case Kind : : EnumElement : { <nl> - auto constantInfo = SGF . getConstantInfo ( * constant ) ; <nl> - <nl> - / / We should not end up here if the enum constructor call is fully <nl> - / / applied . <nl> - assert ( constant - > isCurried ) ; <nl> - <nl> - SILValue ref = SGF . emitGlobalFunctionRef ( Loc , * constant , constantInfo ) ; <nl> - mv = ManagedValue : : forUnmanaged ( ref ) ; <nl> - return std : : make_tuple ( mv , <nl> - createCalleeTypeInfo ( SGF , constant , mv . getType ( ) ) ) ; <nl> - } <nl> - case Kind : : ClassMethod : { <nl> - auto constantInfo = SGF . getConstantInfo ( * constant ) ; <nl> - <nl> - / / If the call is curried , emit a direct call to the curry thunk . <nl> - if ( constant - > isCurried ) { <nl> - SILValue ref = SGF . emitGlobalFunctionRef ( Loc , * constant , constantInfo ) ; <nl> - mv = ManagedValue : : forUnmanaged ( ref ) ; <nl> - return std : : make_tuple ( <nl> - mv , createCalleeTypeInfo ( SGF , constant , mv . getType ( ) ) ) ; <nl> - } <nl> - <nl> - / / Otherwise , do the dynamic dispatch inline . <nl> - Scope S ( SGF , Loc ) ; <nl> - ManagedValue borrowedSelf = <nl> - SelfValue . getValue ( ) . borrow ( SGF ) . getAsSingleValue ( SGF ) ; <nl> - SILValue methodVal = <nl> - SGF . B . createClassMethod ( Loc , borrowedSelf . getValue ( ) , * constant , <nl> - / * volatile * / <nl> - constant - > isForeign ) ; <nl> - mv = ManagedValue : : forUnmanaged ( methodVal ) ; <nl> - return std : : make_tuple ( mv , <nl> - createCalleeTypeInfo ( SGF , constant , mv . getType ( ) ) ) ; <nl> - } <nl> - case Kind : : SuperMethod : { <nl> - assert ( ! constant - > isCurried ) ; <nl> - <nl> - Scope S ( SGF , Loc ) ; <nl> - ManagedValue self = <nl> - SelfValue . getValue ( ) . borrow ( SGF ) . getAsSingleValue ( SGF ) ; <nl> - ManagedValue castValue = borrowedCastToOriginalSelfType ( SGF , Loc , self ) ; <nl> - <nl> - auto base = SGF . SGM . Types . getOverriddenVTableEntry ( * constant ) ; <nl> - auto constantInfo = SGF . SGM . Types . getConstantOverrideInfo ( * constant , base ) ; <nl> - mv = SGF . B . createSuperMethod ( Loc , castValue , * constant , <nl> - constantInfo . getSILType ( ) , <nl> - / * volatile * / <nl> - constant - > isForeign ) ; <nl> - return std : : make_tuple ( mv , <nl> - createCalleeTypeInfo ( SGF , constant , mv . getType ( ) ) ) ; <nl> - } <nl> - case Kind : : WitnessMethod : { <nl> - auto constantInfo = SGF . getConstantInfo ( * constant ) ; <nl> - <nl> - / / If the call is curried , emit a direct call to the curry thunk . <nl> - if ( constant - > isCurried ) { <nl> - SILValue ref = SGF . emitGlobalFunctionRef ( Loc , * constant , constantInfo ) ; <nl> - mv = ManagedValue : : forUnmanaged ( ref ) ; <nl> - return std : : make_tuple ( <nl> - mv , createCalleeTypeInfo ( SGF , constant , mv . getType ( ) ) ) ; <nl> - } <nl> - <nl> - auto proto = Constant . getDecl ( ) - > getDeclContext ( ) <nl> - - > getAsProtocolOrProtocolExtensionContext ( ) ; <nl> - auto lookupType = getSubstFormalType ( ) . getInput ( ) <nl> - - > getRValueInstanceType ( ) - > getCanonicalType ( ) ; <nl> - <nl> - SILValue fn = SGF . B . createWitnessMethod ( Loc , <nl> - lookupType , <nl> - ProtocolConformanceRef ( proto ) , <nl> - * constant , <nl> - constantInfo . getSILType ( ) , <nl> - constant - > isForeign ) ; <nl> - mv = ManagedValue : : forUnmanaged ( fn ) ; <nl> - return std : : make_tuple ( mv , <nl> - createCalleeTypeInfo ( SGF , constant , mv . getType ( ) ) ) ; <nl> - } <nl> - case Kind : : DynamicMethod : { <nl> - assert ( ! constant - > isCurried ) ; <nl> - <nl> - / / Lower the substituted type from the AST , which should have any generic <nl> - / / parameters in the original signature erased to their upper bounds . <nl> - auto substFormalType = getSubstFormalType ( ) ; <nl> - auto objcFormalType = substFormalType . withExtInfo ( <nl> - substFormalType - > getExtInfo ( ) <nl> - . withSILRepresentation ( SILFunctionTypeRepresentation : : ObjCMethod ) ) ; <nl> - auto fnType = SGF . SGM . M . Types <nl> - . getUncachedSILFunctionTypeForConstant ( * constant , objcFormalType ) ; <nl> - <nl> - auto closureType = replaceSelfTypeForDynamicLookup ( <nl> - SGF . getASTContext ( ) , fnType , <nl> - SelfValue . getValue ( ) . getSILSubstType ( SGF ) . getSwiftRValueType ( ) , <nl> - Constant ) ; <nl> - <nl> - Scope S ( SGF , Loc ) ; <nl> - ManagedValue self = <nl> - SelfValue . getValue ( ) . borrow ( SGF ) . getAsSingleValue ( SGF ) ; <nl> - SILValue fn = SGF . B . createDynamicMethod ( <nl> - Loc , self . getValue ( ) , * constant , <nl> - SILType : : getPrimitiveObjectType ( closureType ) , <nl> - / * volatile * / Constant . isForeign ) ; <nl> - mv = ManagedValue : : forUnmanaged ( fn ) ; <nl> - return std : : make_tuple ( mv , <nl> - createCalleeTypeInfo ( SGF , constant , mv . getType ( ) ) ) ; <nl> - } <nl> - } <nl> - } <nl> - <nl> ManagedValue getFnValueAtUncurryLevel ( SILGenFunction & SGF , <nl> unsigned level ) const & { <nl> Optional < SILDeclRef > constant = None ; <nl>
Merge remote - tracking branch ' origin / master ' into master - next
apple/swift
ce7df7dea4c47db7268ebad2f30051f6d3e9ae26
2017-08-28T06:30:18Z
mmm a / xbmc / utils / SeekHandler . cpp <nl> ppp b / xbmc / utils / SeekHandler . cpp <nl> <nl> # include < stdlib . h > <nl> <nl> # include " Application . h " <nl> + # include " cores / DataCacheCore . h " <nl> # include " FileItem . h " <nl> # include " guilib / GraphicContext . h " <nl> # include " guilib / LocalizeStrings . h " <nl> + # include " ServiceBroker . h " <nl> # include " settings / AdvancedSettings . h " <nl> # include " settings / lib / Setting . h " <nl> # include " settings / Settings . h " <nl> int CSeekHandler : : GetSeekSize ( ) const <nl> <nl> bool CSeekHandler : : InProgress ( ) const <nl> { <nl> - return m_requireSeek ; <nl> + return m_requireSeek | | CServiceBroker : : GetDataCacheCore ( ) . IsSeeking ( ) ; <nl> } <nl> <nl> void CSeekHandler : : Process ( ) <nl>
SeekHandler : fix state InProgress
xbmc/xbmc
b894c9655c443d26774f30fb5e0adadc3d90fff9
2016-10-15T06:27:42Z
mmm a / etc / evergreen . yml <nl> ppp b / etc / evergreen . yml <nl> functions : <nl> if [ $ { run_multiple_jobs | false } = true ] ; then <nl> processor_architecture = $ ( uname - m ) <nl> num_jobs_available = $ { num_jobs_available | 1 } <nl> - # Reduce the number of available jobs by half when running any sharding * or replicasets * <nl> - # task on Windows and ARM to avoid overwhelming test hosts . <nl> + # Reduce the number of available jobs by half when running any sharding * , replicasets * <nl> + # and select jsCore_small_oplog tasks on Windows and ARM to avoid overwhelming test hosts . <nl> if [ " Windows_NT " = " $ OS " ] | | [ " aarch64 " = $ processor_architecture ] ; then <nl> case " $ { task_name } " in <nl> - sharding * | replicasets * ) <nl> + jsCore_small_oplog_rs_initsync \ <nl> + | jsCore_small_oplog_rs_initsync_static \ <nl> + | jsCore_small_oplog_rs_resync_static \ <nl> + | replicasets * \ <nl> + | sharding * \ <nl> + ) <nl> num_jobs_available = $ ( ( $ { num_jobs_available | 2 } / 2 ) ) <nl> echo " Reducing jobs from $ { num_jobs_available | 1 } to $ num_jobs_available " <nl> ; ; <nl>
SERVER - 27605 Reduce concurrency for some small_oplog suites on ARM and Windows
mongodb/mongo
fa212777cd387ec267fe56329615b52c81142d46
2017-01-13T00:06:31Z
mmm a / spec / api - browser - window - spec . js <nl> ppp b / spec / api - browser - window - spec . js <nl> const { app , ipcMain , BrowserWindow , protocol , webContents } = remote <nl> const isCI = remote . getGlobal ( ' isCi ' ) <nl> const nativeModulesEnabled = remote . getGlobal ( ' nativeModulesEnabled ' ) <nl> <nl> - describe ( ' BrowserWindow module ' , function ( ) { <nl> - var fixtures = path . resolve ( __dirname , ' fixtures ' ) <nl> - var w = null <nl> - var ws = null <nl> - var server , postData <nl> - <nl> - before ( function ( done ) { <nl> + describe ( ' BrowserWindow module ' , ( ) = > { <nl> + const fixtures = path . resolve ( __dirname , ' fixtures ' ) <nl> + let w = null <nl> + let ws = null <nl> + let server <nl> + let postData <nl> + <nl> + before ( ( done ) = > { <nl> const filePath = path . join ( fixtures , ' pages ' , ' a . html ' ) <nl> const fileStats = fs . statSync ( filePath ) <nl> postData = [ <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> modificationTime : fileStats . mtime . getTime ( ) / 1000 <nl> } <nl> ] <nl> - server = http . createServer ( function ( req , res ) { <nl> + server = http . createServer ( ( req , res ) = > { <nl> function respond ( ) { <nl> if ( req . method = = = ' POST ' ) { <nl> let body = ' ' <nl> req . on ( ' data ' , ( data ) = > { <nl> - if ( data ) { <nl> - body + = data <nl> - } <nl> + if ( data ) body + = data <nl> } ) <nl> req . on ( ' end ' , ( ) = > { <nl> let parsedData = qs . parse ( body ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } <nl> setTimeout ( respond , req . url . includes ( ' slow ' ) ? 200 : 0 ) <nl> } ) <nl> - server . listen ( 0 , ' 127 . 0 . 0 . 1 ' , function ( ) { <nl> - server . url = ' http : / / 127 . 0 . 0 . 1 : ' + server . address ( ) . port <nl> + server . listen ( 0 , ' 127 . 0 . 0 . 1 ' , ( ) = > { <nl> + server . url = ` http : / / 127 . 0 . 0 . 1 : $ { server . address ( ) . port } ` <nl> done ( ) <nl> } ) <nl> } ) <nl> <nl> - after ( function ( ) { <nl> + after ( ( ) = > { <nl> server . close ( ) <nl> server = null <nl> } ) <nl> <nl> - beforeEach ( function ( ) { <nl> + beforeEach ( ( ) = > { <nl> w = new BrowserWindow ( { <nl> show : false , <nl> width : 400 , <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> } ) <nl> <nl> - afterEach ( function ( ) { <nl> - return closeWindow ( w ) . then ( function ( ) { w = null } ) <nl> + afterEach ( ( ) = > { <nl> + return closeWindow ( w ) . then ( ( ) = > { w = null } ) <nl> } ) <nl> <nl> - describe ( ' BrowserWindow . close ( ) ' , function ( ) { <nl> + describe ( ' BrowserWindow . close ( ) ' , ( ) = > { <nl> let server <nl> <nl> - before ( function ( done ) { <nl> + before ( ( done ) = > { <nl> server = http . createServer ( ( request , response ) = > { <nl> switch ( request . url ) { <nl> case ' / 404 ' : <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> } ) <nl> <nl> - after ( function ( ) { <nl> + after ( ( ) = > { <nl> server . close ( ) <nl> server = null <nl> } ) <nl> <nl> - it ( ' should emit unload handler ' , function ( done ) { <nl> - w . webContents . on ( ' did - finish - load ' , function ( ) { <nl> - w . close ( ) <nl> - } ) <nl> - w . once ( ' closed ' , function ( ) { <nl> - var test = path . join ( fixtures , ' api ' , ' unload ' ) <nl> - var content = fs . readFileSync ( test ) <nl> + it ( ' should emit unload handler ' , ( done ) = > { <nl> + w . webContents . on ( ' did - finish - load ' , ( ) = > { w . close ( ) } ) <nl> + w . once ( ' closed ' , ( ) = > { <nl> + const test = path . join ( fixtures , ' api ' , ' unload ' ) <nl> + const content = fs . readFileSync ( test ) <nl> fs . unlinkSync ( test ) <nl> assert . equal ( String ( content ) , ' unload ' ) <nl> done ( ) <nl> } ) <nl> w . loadURL ( ' file : / / ' + path . join ( fixtures , ' api ' , ' unload . html ' ) ) <nl> } ) <nl> - <nl> - it ( ' should emit beforeunload handler ' , function ( done ) { <nl> - w . once ( ' onbeforeunload ' , function ( ) { <nl> - done ( ) <nl> - } ) <nl> - w . webContents . on ( ' did - finish - load ' , function ( ) { <nl> - w . close ( ) <nl> - } ) <nl> - w . loadURL ( ' file : / / ' + path . join ( fixtures , ' api ' , ' beforeunload - false . html ' ) ) <nl> + it ( ' should emit beforeunload handler ' , ( done ) = > { <nl> + w . once ( ' onbeforeunload ' , ( ) = > { done ( ) } ) <nl> + w . webContents . on ( ' did - finish - load ' , ( ) = > { w . close ( ) } ) <nl> + w . loadURL ( ` file : / / $ { path . join ( fixtures , ' api ' , ' beforeunload - false . html ' ) } ` ) <nl> } ) <nl> - <nl> - it ( ' should not crash when invoked synchronously inside navigation observer ' , function ( done ) { <nl> + it ( ' should not crash when invoked synchronously inside navigation observer ' , ( done ) = > { <nl> const events = [ <nl> { name : ' did - start - loading ' , url : ` $ { server . url } / 200 ` } , <nl> { name : ' did - get - redirect - request ' , url : ` $ { server . url } / 301 ` } , <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } <nl> <nl> let gen = genNavigationEvent ( ) <nl> - ipcRenderer . on ( responseEvent , function ( ) { <nl> + ipcRenderer . on ( responseEvent , ( ) = > { <nl> if ( ! gen . next ( ) . value ) done ( ) <nl> } ) <nl> gen . next ( ) <nl> } ) <nl> } ) <nl> <nl> - describe ( ' window . close ( ) ' , function ( ) { <nl> - it ( ' should emit unload handler ' , function ( done ) { <nl> - w . once ( ' closed ' , function ( ) { <nl> - var test = path . join ( fixtures , ' api ' , ' close ' ) <nl> - var content = fs . readFileSync ( test ) <nl> + describe ( ' window . close ( ) ' , ( ) = > { <nl> + it ( ' should emit unload handler ' , ( done ) = > { <nl> + w . once ( ' closed ' , ( ) = > { <nl> + const test = path . join ( fixtures , ' api ' , ' close ' ) <nl> + const content = fs . readFileSync ( test ) <nl> fs . unlinkSync ( test ) <nl> assert . equal ( String ( content ) , ' close ' ) <nl> done ( ) <nl> } ) <nl> - w . loadURL ( ' file : / / ' + path . join ( fixtures , ' api ' , ' close . html ' ) ) <nl> + w . loadURL ( ` file : / / $ { path . join ( fixtures , ' api ' , ' close . html ' ) } ` ) <nl> } ) <nl> - <nl> - it ( ' should emit beforeunload handler ' , function ( done ) { <nl> - w . once ( ' onbeforeunload ' , function ( ) { <nl> - done ( ) <nl> - } ) <nl> - w . loadURL ( ' file : / / ' + path . join ( fixtures , ' api ' , ' close - beforeunload - false . html ' ) ) <nl> + it ( ' should emit beforeunload handler ' , ( done ) = > { <nl> + w . once ( ' onbeforeunload ' , ( ) = > { done ( ) } ) <nl> + w . loadURL ( ` file : / / $ { path . join ( fixtures , ' api ' , ' close - beforeunload - false . html ' ) } ` ) <nl> } ) <nl> } ) <nl> <nl> - describe ( ' BrowserWindow . destroy ( ) ' , function ( ) { <nl> - it ( ' prevents users to access methods of webContents ' , function ( ) { <nl> + describe ( ' BrowserWindow . destroy ( ) ' , ( ) = > { <nl> + it ( ' prevents users to access methods of webContents ' , ( ) = > { <nl> const contents = w . webContents <nl> w . destroy ( ) <nl> - assert . throws ( function ( ) { <nl> + assert . throws ( ( ) = > { <nl> contents . getId ( ) <nl> } , / Object has been destroyed / ) <nl> } ) <nl> } ) <nl> <nl> - describe ( ' BrowserWindow . loadURL ( url ) ' , function ( ) { <nl> - it ( ' should emit did - start - loading event ' , function ( done ) { <nl> - w . webContents . on ( ' did - start - loading ' , function ( ) { <nl> - done ( ) <nl> - } ) <nl> + describe ( ' BrowserWindow . loadURL ( url ) ' , ( ) = > { <nl> + it ( ' should emit did - start - loading event ' , ( done ) = > { <nl> + w . webContents . on ( ' did - start - loading ' , ( ) = > { done ( ) } ) <nl> w . loadURL ( ' about : blank ' ) <nl> } ) <nl> - <nl> - it ( ' should emit ready - to - show event ' , function ( done ) { <nl> - w . on ( ' ready - to - show ' , function ( ) { <nl> - done ( ) <nl> - } ) <nl> + it ( ' should emit ready - to - show event ' , ( done ) = > { <nl> + w . on ( ' ready - to - show ' , ( ) = > { done ( ) } ) <nl> w . loadURL ( ' about : blank ' ) <nl> } ) <nl> - <nl> - it ( ' should emit did - get - response - details event ' , function ( done ) { <nl> + it ( ' should emit did - get - response - details event ' , ( done ) = > { <nl> / / expected { fileName : resourceType } pairs <nl> - var expectedResources = { <nl> + const expectedResources = { <nl> ' did - get - response - details . html ' : ' mainFrame ' , <nl> ' logo . png ' : ' image ' <nl> } <nl> - var responses = 0 <nl> - w . webContents . on ( ' did - get - response - details ' , function ( event , status , newUrl , oldUrl , responseCode , method , referrer , headers , resourceType ) { <nl> - responses + + <nl> - var fileName = newUrl . slice ( newUrl . lastIndexOf ( ' / ' ) + 1 ) <nl> - var expectedType = expectedResources [ fileName ] <nl> + let responses = 0 <nl> + w . webContents . on ( ' did - get - response - details ' , ( event , status , newUrl , oldUrl , responseCode , method , referrer , headers , resourceType ) = > { <nl> + responses + = 1 <nl> + const fileName = newUrl . slice ( newUrl . lastIndexOf ( ' / ' ) + 1 ) <nl> + const expectedType = expectedResources [ fileName ] <nl> assert ( ! ! expectedType , ` Unexpected response details for $ { newUrl } ` ) <nl> assert ( typeof status = = = ' boolean ' , ' status should be boolean ' ) <nl> assert . equal ( responseCode , 200 ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> assert ( ! ! headers , ' headers should be present ' ) <nl> assert ( typeof headers = = = ' object ' , ' headers should be object ' ) <nl> assert . equal ( resourceType , expectedType , ' Incorrect resourceType ' ) <nl> - if ( responses = = = Object . keys ( expectedResources ) . length ) { <nl> - done ( ) <nl> - } <nl> + if ( responses = = = Object . keys ( expectedResources ) . length ) done ( ) <nl> } ) <nl> - w . loadURL ( ' file : / / ' + path . join ( fixtures , ' pages ' , ' did - get - response - details . html ' ) ) <nl> + w . loadURL ( ` file : / / $ { path . join ( fixtures , ' pages ' , ' did - get - response - details . html ' ) } ` ) <nl> } ) <nl> - <nl> - it ( ' should emit did - fail - load event for files that do not exist ' , function ( done ) { <nl> - w . webContents . on ( ' did - fail - load ' , function ( event , code , desc , url , isMainFrame ) { <nl> + it ( ' should emit did - fail - load event for files that do not exist ' , ( done ) = > { <nl> + w . webContents . on ( ' did - fail - load ' , ( event , code , desc , url , isMainFrame ) = > { <nl> assert . equal ( code , - 6 ) <nl> assert . equal ( desc , ' ERR_FILE_NOT_FOUND ' ) <nl> assert . equal ( isMainFrame , true ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> w . loadURL ( ' file : / / a . txt ' ) <nl> } ) <nl> - <nl> - it ( ' should emit did - fail - load event for invalid URL ' , function ( done ) { <nl> - w . webContents . on ( ' did - fail - load ' , function ( event , code , desc , url , isMainFrame ) { <nl> + it ( ' should emit did - fail - load event for invalid URL ' , ( done ) = > { <nl> + w . webContents . on ( ' did - fail - load ' , ( event , code , desc , url , isMainFrame ) = > { <nl> assert . equal ( desc , ' ERR_INVALID_URL ' ) <nl> assert . equal ( code , - 300 ) <nl> assert . equal ( isMainFrame , true ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> w . loadURL ( ' http : / / example : port ' ) <nl> } ) <nl> - <nl> - it ( ' should set ` mainFrame = false ` on did - fail - load events in iframes ' , function ( done ) { <nl> - w . webContents . on ( ' did - fail - load ' , function ( event , code , desc , url , isMainFrame ) { <nl> + it ( ' should set ` mainFrame = false ` on did - fail - load events in iframes ' , ( done ) = > { <nl> + w . webContents . on ( ' did - fail - load ' , ( event , code , desc , url , isMainFrame ) = > { <nl> assert . equal ( isMainFrame , false ) <nl> done ( ) <nl> } ) <nl> - w . loadURL ( ' file : / / ' + path . join ( fixtures , ' api ' , ' did - fail - load - iframe . html ' ) ) <nl> + w . loadURL ( ` file : / / $ { path . join ( fixtures , ' api ' , ' did - fail - load - iframe . html ' ) } ` ) <nl> } ) <nl> - <nl> - it ( ' does not crash in did - fail - provisional - load handler ' , function ( done ) { <nl> - w . webContents . once ( ' did - fail - provisional - load ' , function ( ) { <nl> + it ( ' does not crash in did - fail - provisional - load handler ' , ( done ) = > { <nl> + w . webContents . once ( ' did - fail - provisional - load ' , ( ) = > { <nl> w . loadURL ( ' http : / / 127 . 0 . 0 . 1 : 11111 ' ) <nl> done ( ) <nl> } ) <nl> w . loadURL ( ' http : / / 127 . 0 . 0 . 1 : 11111 ' ) <nl> } ) <nl> - <nl> - it ( ' should emit did - fail - load event for URL exceeding character limit ' , function ( done ) { <nl> - w . webContents . on ( ' did - fail - load ' , function ( event , code , desc , url , isMainFrame ) { <nl> + it ( ' should emit did - fail - load event for URL exceeding character limit ' , ( done ) = > { <nl> + w . webContents . on ( ' did - fail - load ' , ( event , code , desc , url , isMainFrame ) = > { <nl> assert . equal ( desc , ' ERR_INVALID_URL ' ) <nl> assert . equal ( code , - 300 ) <nl> assert . equal ( isMainFrame , true ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> w . loadURL ( ` data : image / png ; base64 , $ { data } ` ) <nl> } ) <nl> <nl> - describe ( ' POST navigations ' , function ( ) { <nl> - afterEach ( ( ) = > { <nl> - w . webContents . session . webRequest . onBeforeSendHeaders ( null ) <nl> - } ) <nl> + describe ( ' POST navigations ' , ( ) = > { <nl> + afterEach ( ( ) = > { w . webContents . session . webRequest . onBeforeSendHeaders ( null ) } ) <nl> <nl> - it ( ' supports specifying POST data ' , function ( done ) { <nl> + it ( ' supports specifying POST data ' , ( done ) = > { <nl> w . webContents . on ( ' did - finish - load ' , ( ) = > done ( ) ) <nl> w . loadURL ( server . url , { postData : postData } ) <nl> } ) <nl> - <nl> - it ( ' sets the content type header on URL encoded forms ' , function ( done ) { <nl> + it ( ' sets the content type header on URL encoded forms ' , ( done ) = > { <nl> w . webContents . on ( ' did - finish - load ' , ( ) = > { <nl> w . webContents . session . webRequest . onBeforeSendHeaders ( ( details , callback ) = > { <nl> assert . equal ( details . requestHeaders [ ' content - type ' ] , ' application / x - www - form - urlencoded ' ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> w . loadURL ( server . url ) <nl> } ) <nl> - <nl> - it ( ' sets the content type header on multi part forms ' , function ( done ) { <nl> + it ( ' sets the content type header on multi part forms ' , ( done ) = > { <nl> w . webContents . on ( ' did - finish - load ' , ( ) = > { <nl> w . webContents . session . webRequest . onBeforeSendHeaders ( ( details , callback ) = > { <nl> assert ( details . requestHeaders [ ' content - type ' ] . startsWith ( ' multipart / form - data ; boundary = mmm - WebKitFormBoundary ' ) ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> <nl> it ( ' should support support base url for data urls ' , ( done ) = > { <nl> - ipcMain . once ( ' answer ' , function ( event , test ) { <nl> + ipcMain . once ( ' answer ' , ( event , test ) = > { <nl> assert . equal ( test , ' test ' ) <nl> done ( ) <nl> } ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> } ) <nl> <nl> - describe ( ' will - navigate event ' , function ( ) { <nl> + describe ( ' will - navigate event ' , ( ) = > { <nl> it ( ' allows the window to be closed from the event listener ' , ( done ) = > { <nl> ipcRenderer . send ( ' close - on - will - navigate ' , w . id ) <nl> - ipcRenderer . once ( ' closed - on - will - navigate ' , ( ) = > { <nl> - done ( ) <nl> - } ) <nl> - w . loadURL ( ' file : / / ' + fixtures + ' / pages / will - navigate . html ' ) <nl> + ipcRenderer . once ( ' closed - on - will - navigate ' , ( ) = > { done ( ) } ) <nl> + w . loadURL ( ` file : / / $ { fixtures } / pages / will - navigate . html ` ) <nl> } ) <nl> } ) <nl> <nl> - describe ( ' BrowserWindow . show ( ) ' , function ( ) { <nl> - if ( isCI ) { <nl> - return <nl> - } <nl> + describe ( ' BrowserWindow . show ( ) ' , ( ) = > { <nl> + if ( isCI ) return <nl> <nl> - it ( ' should focus on window ' , function ( ) { <nl> + it ( ' should focus on window ' , ( ) = > { <nl> w . show ( ) <nl> assert ( w . isFocused ( ) ) <nl> } ) <nl> - <nl> - it ( ' should make the window visible ' , function ( ) { <nl> + it ( ' should make the window visible ' , ( ) = > { <nl> w . show ( ) <nl> assert ( w . isVisible ( ) ) <nl> } ) <nl> - <nl> - it ( ' emits when window is shown ' , function ( done ) { <nl> - w . once ( ' show ' , function ( ) { <nl> + it ( ' emits when window is shown ' , ( done ) = > { <nl> + w . once ( ' show ' , ( ) = > { <nl> assert . equal ( w . isVisible ( ) , true ) <nl> done ( ) <nl> } ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> } ) <nl> <nl> - describe ( ' BrowserWindow . hide ( ) ' , function ( ) { <nl> - if ( isCI ) { <nl> - return <nl> - } <nl> + describe ( ' BrowserWindow . hide ( ) ' , ( ) = > { <nl> + if ( isCI ) return <nl> <nl> - it ( ' should defocus on window ' , function ( ) { <nl> + it ( ' should defocus on window ' , ( ) = > { <nl> w . hide ( ) <nl> assert ( ! w . isFocused ( ) ) <nl> } ) <nl> - <nl> - it ( ' should make the window not visible ' , function ( ) { <nl> + it ( ' should make the window not visible ' , ( ) = > { <nl> w . show ( ) <nl> w . hide ( ) <nl> assert ( ! w . isVisible ( ) ) <nl> } ) <nl> - <nl> - it ( ' emits when window is hidden ' , function ( done ) { <nl> + it ( ' emits when window is hidden ' , ( done ) = > { <nl> w . show ( ) <nl> - w . once ( ' hide ' , function ( ) { <nl> + w . once ( ' hide ' , ( ) = > { <nl> assert . equal ( w . isVisible ( ) , false ) <nl> done ( ) <nl> } ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> } ) <nl> <nl> - describe ( ' BrowserWindow . showInactive ( ) ' , function ( ) { <nl> - it ( ' should not focus on window ' , function ( ) { <nl> + describe ( ' BrowserWindow . showInactive ( ) ' , ( ) = > { <nl> + it ( ' should not focus on window ' , ( ) = > { <nl> w . showInactive ( ) <nl> assert ( ! w . isFocused ( ) ) <nl> } ) <nl> } ) <nl> <nl> - describe ( ' BrowserWindow . focus ( ) ' , function ( ) { <nl> - it ( ' does not make the window become visible ' , function ( ) { <nl> + describe ( ' BrowserWindow . focus ( ) ' , ( ) = > { <nl> + it ( ' does not make the window become visible ' , ( ) = > { <nl> assert . equal ( w . isVisible ( ) , false ) <nl> w . focus ( ) <nl> assert . equal ( w . isVisible ( ) , false ) <nl> } ) <nl> } ) <nl> <nl> - describe ( ' BrowserWindow . blur ( ) ' , function ( ) { <nl> - it ( ' removes focus from window ' , function ( ) { <nl> + describe ( ' BrowserWindow . blur ( ) ' , ( ) = > { <nl> + it ( ' removes focus from window ' , ( ) = > { <nl> w . blur ( ) <nl> assert ( ! w . isFocused ( ) ) <nl> } ) <nl> } ) <nl> <nl> - describe ( ' BrowserWindow . capturePage ( rect , callback ) ' , function ( ) { <nl> - it ( ' calls the callback with a Buffer ' , function ( done ) { <nl> + describe ( ' BrowserWindow . capturePage ( rect , callback ) ' , ( ) = > { <nl> + it ( ' calls the callback with a Buffer ' , ( done ) = > { <nl> w . capturePage ( { <nl> x : 0 , <nl> y : 0 , <nl> width : 100 , <nl> height : 100 <nl> - } , function ( image ) { <nl> + } , ( image ) = > { <nl> assert . equal ( image . isEmpty ( ) , true ) <nl> done ( ) <nl> } ) <nl> } ) <nl> } ) <nl> <nl> - describe ( ' BrowserWindow . setSize ( width , height ) ' , function ( ) { <nl> - it ( ' sets the window size ' , function ( done ) { <nl> - var size = [ 300 , 400 ] <nl> - w . once ( ' resize ' , function ( ) { <nl> + describe ( ' BrowserWindow . setSize ( width , height ) ' , ( ) = > { <nl> + it ( ' sets the window size ' , ( done ) = > { <nl> + const size = [ 300 , 400 ] <nl> + w . once ( ' resize ' , ( ) = > { <nl> assertBoundsEqual ( w . getSize ( ) , size ) <nl> done ( ) <nl> } ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> } ) <nl> <nl> - describe ( ' BrowserWindow . setMinimum / MaximumSize ( width , height ) ' , function ( ) { <nl> - it ( ' sets the maximum and minimum size of the window ' , function ( ) { <nl> + describe ( ' BrowserWindow . setMinimum / MaximumSize ( width , height ) ' , ( ) = > { <nl> + it ( ' sets the maximum and minimum size of the window ' , ( ) = > { <nl> assert . deepEqual ( w . getMinimumSize ( ) , [ 0 , 0 ] ) <nl> assert . deepEqual ( w . getMaximumSize ( ) , [ 0 , 0 ] ) <nl> <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> } ) <nl> <nl> - describe ( ' BrowserWindow . setAspectRatio ( ratio ) ' , function ( ) { <nl> - it ( ' resets the behaviour when passing in 0 ' , function ( done ) { <nl> - var size = [ 300 , 400 ] <nl> + describe ( ' BrowserWindow . setAspectRatio ( ratio ) ' , ( ) = > { <nl> + it ( ' resets the behaviour when passing in 0 ' , ( done ) = > { <nl> + const size = [ 300 , 400 ] <nl> w . setAspectRatio ( 1 / 2 ) <nl> w . setAspectRatio ( 0 ) <nl> - w . once ( ' resize ' , function ( ) { <nl> + w . once ( ' resize ' , ( ) = > { <nl> assertBoundsEqual ( w . getSize ( ) , size ) <nl> done ( ) <nl> } ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> } ) <nl> <nl> - describe ( ' BrowserWindow . setPosition ( x , y ) ' , function ( ) { <nl> - it ( ' sets the window position ' , function ( done ) { <nl> - var pos = [ 10 , 10 ] <nl> - w . once ( ' move ' , function ( ) { <nl> - var newPos = w . getPosition ( ) <nl> + describe ( ' BrowserWindow . setPosition ( x , y ) ' , ( ) = > { <nl> + it ( ' sets the window position ' , ( done ) = > { <nl> + const pos = [ 10 , 10 ] <nl> + w . once ( ' move ' , ( ) = > { <nl> + const newPos = w . getPosition ( ) <nl> assert . equal ( newPos [ 0 ] , pos [ 0 ] ) <nl> assert . equal ( newPos [ 1 ] , pos [ 1 ] ) <nl> done ( ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> } ) <nl> <nl> - describe ( ' BrowserWindow . setContentSize ( width , height ) ' , function ( ) { <nl> - it ( ' sets the content size ' , function ( ) { <nl> - var size = [ 400 , 400 ] <nl> + describe ( ' BrowserWindow . setContentSize ( width , height ) ' , ( ) = > { <nl> + it ( ' sets the content size ' , ( ) = > { <nl> + const size = [ 400 , 400 ] <nl> w . setContentSize ( size [ 0 ] , size [ 1 ] ) <nl> var after = w . getContentSize ( ) <nl> assert . equal ( after [ 0 ] , size [ 0 ] ) <nl> assert . equal ( after [ 1 ] , size [ 1 ] ) <nl> } ) <nl> - <nl> - it ( ' works for a frameless window ' , function ( ) { <nl> + it ( ' works for a frameless window ' , ( ) = > { <nl> w . destroy ( ) <nl> w = new BrowserWindow ( { <nl> show : false , <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> width : 400 , <nl> height : 400 <nl> } ) <nl> - var size = [ 400 , 400 ] <nl> + const size = [ 400 , 400 ] <nl> w . setContentSize ( size [ 0 ] , size [ 1 ] ) <nl> - var after = w . getContentSize ( ) <nl> + const after = w . getContentSize ( ) <nl> assert . equal ( after [ 0 ] , size [ 0 ] ) <nl> assert . equal ( after [ 1 ] , size [ 1 ] ) <nl> } ) <nl> } ) <nl> <nl> - describe ( ' BrowserWindow . setContentBounds ( bounds ) ' , function ( ) { <nl> - it ( ' sets the content size and position ' , function ( done ) { <nl> - var bounds = { x : 10 , y : 10 , width : 250 , height : 250 } <nl> - w . once ( ' resize ' , function ( ) { <nl> + describe ( ' BrowserWindow . setContentBounds ( bounds ) ' , ( ) = > { <nl> + it ( ' sets the content size and position ' , ( done ) = > { <nl> + const bounds = { x : 10 , y : 10 , width : 250 , height : 250 } <nl> + w . once ( ' resize ' , ( ) = > { <nl> assertBoundsEqual ( w . getContentBounds ( ) , bounds ) <nl> done ( ) <nl> } ) <nl> w . setContentBounds ( bounds ) <nl> } ) <nl> - <nl> - it ( ' works for a frameless window ' , function ( done ) { <nl> + it ( ' works for a frameless window ' , ( done ) = > { <nl> w . destroy ( ) <nl> w = new BrowserWindow ( { <nl> show : false , <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> width : 300 , <nl> height : 300 <nl> } ) <nl> - var bounds = { x : 10 , y : 10 , width : 250 , height : 250 } <nl> - w . once ( ' resize ' , function ( ) { <nl> + const bounds = { x : 10 , y : 10 , width : 250 , height : 250 } <nl> + w . once ( ' resize ' , ( ) = > { <nl> assert . deepEqual ( w . getContentBounds ( ) , bounds ) <nl> done ( ) <nl> } ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> } ) <nl> <nl> - describe ( ' BrowserWindow . setProgressBar ( progress ) ' , function ( ) { <nl> - it ( ' sets the progress ' , function ( ) { <nl> - assert . doesNotThrow ( function ( ) { <nl> + describe ( ' BrowserWindow . setProgressBar ( progress ) ' , ( ) = > { <nl> + it ( ' sets the progress ' , ( ) = > { <nl> + assert . doesNotThrow ( ( ) = > { <nl> if ( process . platform = = = ' darwin ' ) { <nl> app . dock . setIcon ( path . join ( fixtures , ' assets ' , ' logo . png ' ) ) <nl> } <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> w . setProgressBar ( - 1 ) <nl> } ) <nl> } ) <nl> - <nl> - it ( ' sets the progress using " paused " mode ' , function ( ) { <nl> - assert . doesNotThrow ( function ( ) { <nl> + it ( ' sets the progress using " paused " mode ' , ( ) = > { <nl> + assert . doesNotThrow ( ( ) = > { <nl> w . setProgressBar ( 0 . 5 , { mode : ' paused ' } ) <nl> } ) <nl> } ) <nl> - <nl> - it ( ' sets the progress using " error " mode ' , function ( ) { <nl> - assert . doesNotThrow ( function ( ) { <nl> + it ( ' sets the progress using " error " mode ' , ( ) = > { <nl> + assert . doesNotThrow ( ( ) = > { <nl> w . setProgressBar ( 0 . 5 , { mode : ' error ' } ) <nl> } ) <nl> } ) <nl> - <nl> - it ( ' sets the progress using " normal " mode ' , function ( ) { <nl> - assert . doesNotThrow ( function ( ) { <nl> + it ( ' sets the progress using " normal " mode ' , ( ) = > { <nl> + assert . doesNotThrow ( ( ) = > { <nl> w . setProgressBar ( 0 . 5 , { mode : ' normal ' } ) <nl> } ) <nl> } ) <nl> } ) <nl> <nl> - describe ( ' BrowserWindow . setAlwaysOnTop ( flag , level ) ' , function ( ) { <nl> - it ( ' sets the window as always on top ' , function ( ) { <nl> + describe ( ' BrowserWindow . setAlwaysOnTop ( flag , level ) ' , ( ) = > { <nl> + it ( ' sets the window as always on top ' , ( ) = > { <nl> assert . equal ( w . isAlwaysOnTop ( ) , false ) <nl> w . setAlwaysOnTop ( true , ' screen - saver ' ) <nl> assert . equal ( w . isAlwaysOnTop ( ) , true ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> w . setAlwaysOnTop ( true ) <nl> assert . equal ( w . isAlwaysOnTop ( ) , true ) <nl> } ) <nl> - <nl> - it ( ' raises an error when relativeLevel is out of bounds ' , function ( ) { <nl> + it ( ' raises an error when relativeLevel is out of bounds ' , ( ) = > { <nl> if ( process . platform ! = = ' darwin ' ) return <nl> <nl> - assert . throws ( function ( ) { <nl> + assert . throws ( ( ) = > { <nl> w . setAlwaysOnTop ( true , ' ' , - 2147483644 ) <nl> } ) <nl> <nl> - assert . throws ( function ( ) { <nl> + assert . throws ( ( ) = > { <nl> w . setAlwaysOnTop ( true , ' ' , 2147483632 ) <nl> } ) <nl> } ) <nl> } ) <nl> <nl> - describe ( ' BrowserWindow . alwaysOnTop ( ) resets level on minimize ' , function ( ) { <nl> - if ( process . platform ! = = ' darwin ' ) { <nl> - return <nl> - } <nl> + describe ( ' BrowserWindow . alwaysOnTop ( ) resets level on minimize ' , ( ) = > { <nl> + if ( process . platform ! = = ' darwin ' ) return <nl> <nl> - it ( ' resets the windows level on minimize ' , function ( ) { <nl> + it ( ' resets the windows level on minimize ' , ( ) = > { <nl> assert . equal ( w . isAlwaysOnTop ( ) , false ) <nl> w . setAlwaysOnTop ( true , ' screen - saver ' ) <nl> assert . equal ( w . isAlwaysOnTop ( ) , true ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> it ( ' is not available on non - macOS platforms ' , ( ) = > { <nl> assert . ok ( ! w . setAutoHideCursor ) <nl> } ) <nl> - <nl> return <nl> } <nl> - <nl> it ( ' allows changing cursor auto - hiding ' , ( ) = > { <nl> assert . doesNotThrow ( ( ) = > { <nl> w . setAutoHideCursor ( false ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> <nl> describe ( ' BrowserWindow . selectPreviousTab ( ) ' , ( ) = > { <nl> it ( ' does not throw ' , ( ) = > { <nl> - if ( process . platform ! = = ' darwin ' ) { <nl> - return <nl> - } <nl> + if ( process . platform ! = = ' darwin ' ) return <nl> <nl> assert . doesNotThrow ( ( ) = > { <nl> w . selectPreviousTab ( ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> <nl> describe ( ' BrowserWindow . selectNextTab ( ) ' , ( ) = > { <nl> it ( ' does not throw ' , ( ) = > { <nl> - if ( process . platform ! = = ' darwin ' ) { <nl> - return <nl> - } <nl> + if ( process . platform ! = = ' darwin ' ) return <nl> <nl> assert . doesNotThrow ( ( ) = > { <nl> w . selectNextTab ( ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> <nl> describe ( ' BrowserWindow . mergeAllWindows ( ) ' , ( ) = > { <nl> it ( ' does not throw ' , ( ) = > { <nl> - if ( process . platform ! = = ' darwin ' ) { <nl> - return <nl> - } <nl> + if ( process . platform ! = = ' darwin ' ) return <nl> <nl> assert . doesNotThrow ( ( ) = > { <nl> w . mergeAllWindows ( ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> <nl> describe ( ' BrowserWindow . moveTabToNewWindow ( ) ' , ( ) = > { <nl> it ( ' does not throw ' , ( ) = > { <nl> - if ( process . platform ! = = ' darwin ' ) { <nl> - return <nl> - } <nl> + if ( process . platform ! = = ' darwin ' ) return <nl> <nl> assert . doesNotThrow ( ( ) = > { <nl> w . moveTabToNewWindow ( ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> <nl> describe ( ' BrowserWindow . toggleTabBar ( ) ' , ( ) = > { <nl> it ( ' does not throw ' , ( ) = > { <nl> - if ( process . platform ! = = ' darwin ' ) { <nl> - return <nl> - } <nl> + if ( process . platform ! = = ' darwin ' ) return <nl> <nl> assert . doesNotThrow ( ( ) = > { <nl> w . toggleTabBar ( ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> } ) <nl> <nl> - describe ( ' BrowserWindow . addTabbedWindow ( ) ' , function ( done ) { <nl> - it ( ' does not throw ' , function ( ) { <nl> - if ( process . platform ! = = ' darwin ' ) { <nl> - return <nl> - } <nl> + describe ( ' BrowserWindow . addTabbedWindow ( ) ' , ( done ) = > { <nl> + it ( ' does not throw ' , ( ) = > { <nl> + if ( process . platform ! = = ' darwin ' ) return <nl> + <nl> const tabbedWindow = new BrowserWindow ( { } ) <nl> assert . doesNotThrow ( ( ) = > { <nl> w . addTabbedWindow ( tabbedWindow ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> } ) <nl> <nl> - describe ( ' BrowserWindow . setVibrancy ( type ) ' , function ( ) { <nl> - it ( ' allows setting , changing , and removing the vibrancy ' , function ( ) { <nl> - assert . doesNotThrow ( function ( ) { <nl> + describe ( ' BrowserWindow . setVibrancy ( type ) ' , ( ) = > { <nl> + it ( ' allows setting , changing , and removing the vibrancy ' , ( ) = > { <nl> + assert . doesNotThrow ( ( ) = > { <nl> w . setVibrancy ( ' light ' ) <nl> w . setVibrancy ( ' dark ' ) <nl> w . setVibrancy ( null ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> } ) <nl> <nl> - describe ( ' BrowserWindow . setAppDetails ( options ) ' , function ( ) { <nl> - it ( ' supports setting the app details ' , function ( ) { <nl> + describe ( ' BrowserWindow . setAppDetails ( options ) ' , ( ) = > { <nl> + it ( ' supports setting the app details ' , ( ) = > { <nl> if ( process . platform ! = = ' win32 ' ) return <nl> <nl> const iconPath = path . join ( fixtures , ' assets ' , ' icon . ico ' ) <nl> <nl> - assert . doesNotThrow ( function ( ) { <nl> + assert . doesNotThrow ( ( ) = > { <nl> w . setAppDetails ( { appId : ' my . app . id ' } ) <nl> w . setAppDetails ( { appIconPath : iconPath , appIconIndex : 0 } ) <nl> w . setAppDetails ( { appIconPath : iconPath } ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> w . setAppDetails ( { } ) <nl> } ) <nl> <nl> - assert . throws ( function ( ) { <nl> + assert . throws ( ( ) = > { <nl> w . setAppDetails ( ) <nl> } , / Insufficient number of arguments \ . / ) <nl> } ) <nl> } ) <nl> <nl> - describe ( ' BrowserWindow . fromId ( id ) ' , function ( ) { <nl> - it ( ' returns the window with id ' , function ( ) { <nl> + describe ( ' BrowserWindow . fromId ( id ) ' , ( ) = > { <nl> + it ( ' returns the window with id ' , ( ) = > { <nl> assert . equal ( w . id , BrowserWindow . fromId ( w . id ) . id ) <nl> } ) <nl> } ) <nl> <nl> - describe ( ' BrowserWindow . fromWebContents ( webContents ) ' , function ( ) { <nl> + describe ( ' BrowserWindow . fromWebContents ( webContents ) ' , ( ) = > { <nl> let contents = null <nl> <nl> - beforeEach ( function ( ) { <nl> - contents = webContents . create ( { } ) <nl> - } ) <nl> + beforeEach ( ( ) = > { contents = webContents . create ( { } ) } ) <nl> <nl> - afterEach ( function ( ) { <nl> - contents . destroy ( ) <nl> - } ) <nl> + afterEach ( ( ) = > { contents . destroy ( ) } ) <nl> <nl> - it ( ' returns the window with the webContents ' , function ( ) { <nl> + it ( ' returns the window with the webContents ' , ( ) = > { <nl> assert . equal ( BrowserWindow . fromWebContents ( w . webContents ) . id , w . id ) <nl> assert . equal ( BrowserWindow . fromWebContents ( contents ) , undefined ) <nl> } ) <nl> } ) <nl> <nl> - describe ( ' BrowserWindow . fromDevToolsWebContents ( webContents ) ' , function ( ) { <nl> + describe ( ' BrowserWindow . fromDevToolsWebContents ( webContents ) ' , ( ) = > { <nl> let contents = null <nl> <nl> - beforeEach ( function ( ) { <nl> - contents = webContents . create ( { } ) <nl> - } ) <nl> + beforeEach ( ( ) = > { contents = webContents . create ( { } ) } ) <nl> <nl> - afterEach ( function ( ) { <nl> - contents . destroy ( ) <nl> - } ) <nl> + afterEach ( ( ) = > { contents . destroy ( ) } ) <nl> <nl> - it ( ' returns the window with the webContents ' , function ( done ) { <nl> + it ( ' returns the window with the webContents ' , ( done ) = > { <nl> w . webContents . once ( ' devtools - opened ' , ( ) = > { <nl> assert . equal ( BrowserWindow . fromDevToolsWebContents ( w . devToolsWebContents ) . id , w . id ) <nl> assert . equal ( BrowserWindow . fromDevToolsWebContents ( w . webContents ) , undefined ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> } ) <nl> <nl> - describe ( ' BrowserWindow . setOpacity ( opacity ) ' , function ( ) { <nl> - it ( ' make window with initial opacity ' , function ( ) { <nl> + describe ( ' BrowserWindow . setOpacity ( opacity ) ' , ( ) = > { <nl> + it ( ' make window with initial opacity ' , ( ) = > { <nl> w . destroy ( ) <nl> w = new BrowserWindow ( { <nl> show : false , <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> assert . equal ( w . getOpacity ( ) , 0 . 5 ) <nl> } ) <nl> - <nl> - it ( ' allows setting the opacity ' , function ( ) { <nl> - assert . doesNotThrow ( function ( ) { <nl> + it ( ' allows setting the opacity ' , ( ) = > { <nl> + assert . doesNotThrow ( ( ) = > { <nl> w . setOpacity ( 0 . 0 ) <nl> assert . equal ( w . getOpacity ( ) , 0 . 0 ) <nl> w . setOpacity ( 0 . 5 ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> } ) <nl> <nl> - describe ( ' " useContentSize " option ' , function ( ) { <nl> - it ( ' make window created with content size when used ' , function ( ) { <nl> + describe ( ' " useContentSize " option ' , ( ) = > { <nl> + it ( ' make window created with content size when used ' , ( ) = > { <nl> w . destroy ( ) <nl> w = new BrowserWindow ( { <nl> show : false , <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> height : 400 , <nl> useContentSize : true <nl> } ) <nl> - var contentSize = w . getContentSize ( ) <nl> + const contentSize = w . getContentSize ( ) <nl> assert . equal ( contentSize [ 0 ] , 400 ) <nl> assert . equal ( contentSize [ 1 ] , 400 ) <nl> } ) <nl> - <nl> - it ( ' make window created with window size when not used ' , function ( ) { <nl> - var size = w . getSize ( ) <nl> + it ( ' make window created with window size when not used ' , ( ) = > { <nl> + const size = w . getSize ( ) <nl> assert . equal ( size [ 0 ] , 400 ) <nl> assert . equal ( size [ 1 ] , 400 ) <nl> } ) <nl> - <nl> - it ( ' works for a frameless window ' , function ( ) { <nl> + it ( ' works for a frameless window ' , ( ) = > { <nl> w . destroy ( ) <nl> w = new BrowserWindow ( { <nl> show : false , <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> height : 400 , <nl> useContentSize : true <nl> } ) <nl> - var contentSize = w . getContentSize ( ) <nl> + const contentSize = w . getContentSize ( ) <nl> assert . equal ( contentSize [ 0 ] , 400 ) <nl> assert . equal ( contentSize [ 1 ] , 400 ) <nl> - var size = w . getSize ( ) <nl> + const size = w . getSize ( ) <nl> assert . equal ( size [ 0 ] , 400 ) <nl> assert . equal ( size [ 1 ] , 400 ) <nl> } ) <nl> } ) <nl> <nl> - describe ( ' " titleBarStyle " option ' , function ( ) { <nl> - if ( process . platform ! = = ' darwin ' ) { <nl> - return <nl> - } <nl> - if ( parseInt ( os . release ( ) . split ( ' . ' ) [ 0 ] ) < 14 ) { <nl> - return <nl> - } <nl> + describe ( ' " titleBarStyle " option ' , ( ) = > { <nl> + if ( process . platform ! = = ' darwin ' ) return <nl> + if ( parseInt ( os . release ( ) . split ( ' . ' ) [ 0 ] ) < 14 ) return <nl> <nl> - it ( ' creates browser window with hidden title bar ' , function ( ) { <nl> + it ( ' creates browser window with hidden title bar ' , ( ) = > { <nl> w . destroy ( ) <nl> w = new BrowserWindow ( { <nl> show : false , <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> height : 400 , <nl> titleBarStyle : ' hidden ' <nl> } ) <nl> - var contentSize = w . getContentSize ( ) <nl> + const contentSize = w . getContentSize ( ) <nl> assert . equal ( contentSize [ 1 ] , 400 ) <nl> } ) <nl> - <nl> - it ( ' creates browser window with hidden inset title bar ' , function ( ) { <nl> + it ( ' creates browser window with hidden inset title bar ' , ( ) = > { <nl> w . destroy ( ) <nl> w = new BrowserWindow ( { <nl> show : false , <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> height : 400 , <nl> titleBarStyle : ' hidden - inset ' <nl> } ) <nl> - var contentSize = w . getContentSize ( ) <nl> + const contentSize = w . getContentSize ( ) <nl> assert . equal ( contentSize [ 1 ] , 400 ) <nl> } ) <nl> } ) <nl> <nl> - describe ( ' enableLargerThanScreen " option ' , function ( ) { <nl> - if ( process . platform = = = ' linux ' ) { <nl> - return <nl> - } <nl> + describe ( ' enableLargerThanScreen " option ' , ( ) = > { <nl> + if ( process . platform = = = ' linux ' ) return <nl> <nl> - beforeEach ( function ( ) { <nl> + beforeEach ( ( ) = > { <nl> w . destroy ( ) <nl> w = new BrowserWindow ( { <nl> show : true , <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> } ) <nl> <nl> - it ( ' can move the window out of screen ' , function ( ) { <nl> + it ( ' can move the window out of screen ' , ( ) = > { <nl> w . setPosition ( - 10 , - 10 ) <nl> - var after = w . getPosition ( ) <nl> + const after = w . getPosition ( ) <nl> assert . equal ( after [ 0 ] , - 10 ) <nl> assert . equal ( after [ 1 ] , - 10 ) <nl> } ) <nl> - <nl> - it ( ' can set the window larger than screen ' , function ( ) { <nl> - var size = screen . getPrimaryDisplay ( ) . size <nl> + it ( ' can set the window larger than screen ' , ( ) = > { <nl> + const size = screen . getPrimaryDisplay ( ) . size <nl> size . width + = 100 <nl> size . height + = 100 <nl> w . setSize ( size . width , size . height ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> } ) <nl> <nl> - describe ( ' " zoomToPageWidth " option ' , function ( ) { <nl> - it ( ' sets the window width to the page width when used ' , function ( ) { <nl> + describe ( ' " zoomToPageWidth " option ' , ( ) = > { <nl> + it ( ' sets the window width to the page width when used ' , ( ) = > { <nl> if ( process . platform ! = = ' darwin ' ) return <nl> <nl> w . destroy ( ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> } ) <nl> <nl> - describe ( ' " tabbingIdentifier " option ' , function ( ) { <nl> - it ( ' can be set on a window ' , function ( ) { <nl> + describe ( ' " tabbingIdentifier " option ' , ( ) = > { <nl> + it ( ' can be set on a window ' , ( ) = > { <nl> w . destroy ( ) <nl> w = new BrowserWindow ( { <nl> tabbingIdentifier : ' group1 ' <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> } ) <nl> <nl> - describe ( ' " webPreferences " option ' , function ( ) { <nl> - afterEach ( function ( ) { <nl> - ipcMain . removeAllListeners ( ' answer ' ) <nl> - } ) <nl> + describe ( ' " webPreferences " option ' , ( ) = > { <nl> + afterEach ( ( ) = > { ipcMain . removeAllListeners ( ' answer ' ) } ) <nl> <nl> - describe ( ' " preload " option ' , function ( ) { <nl> - it ( ' loads the script before other scripts in window ' , function ( done ) { <nl> - var preload = path . join ( fixtures , ' module ' , ' set - global . js ' ) <nl> - ipcMain . once ( ' answer ' , function ( event , test ) { <nl> + describe ( ' " preload " option ' , ( ) = > { <nl> + it ( ' loads the script before other scripts in window ' , ( done ) = > { <nl> + const preload = path . join ( fixtures , ' module ' , ' set - global . js ' ) <nl> + ipcMain . once ( ' answer ' , ( event , test ) = > { <nl> assert . equal ( test , ' preload ' ) <nl> done ( ) <nl> } ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> preload : preload <nl> } <nl> } ) <nl> - w . loadURL ( ' file : / / ' + path . join ( fixtures , ' api ' , ' preload . html ' ) ) <nl> + w . loadURL ( ` file : / / $ { path . join ( fixtures , ' api ' , ' preload . html ' ) } ` ) <nl> } ) <nl> - <nl> - it ( ' can successfully delete the Buffer global ' , function ( done ) { <nl> - var preload = path . join ( fixtures , ' module ' , ' delete - buffer . js ' ) <nl> - ipcMain . once ( ' answer ' , function ( event , test ) { <nl> + it ( ' can successfully delete the Buffer global ' , ( done ) = > { <nl> + const preload = path . join ( fixtures , ' module ' , ' delete - buffer . js ' ) <nl> + ipcMain . once ( ' answer ' , ( event , test ) = > { <nl> assert . equal ( test . toString ( ) , ' buffer ' ) <nl> done ( ) <nl> } ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> preload : preload <nl> } <nl> } ) <nl> - w . loadURL ( ' file : / / ' + path . join ( fixtures , ' api ' , ' preload . html ' ) ) <nl> + w . loadURL ( ` file : / / $ { path . join ( fixtures , ' api ' , ' preload . html ' ) } ` ) <nl> } ) <nl> } ) <nl> <nl> - describe ( ' " node - integration " option ' , function ( ) { <nl> - it ( ' disables node integration when specified to false ' , function ( done ) { <nl> - var preload = path . join ( fixtures , ' module ' , ' send - later . js ' ) <nl> - ipcMain . once ( ' answer ' , function ( event , typeofProcess , typeofBuffer ) { <nl> + describe ( ' " node - integration " option ' , ( ) = > { <nl> + it ( ' disables node integration when specified to false ' , ( done ) = > { <nl> + const preload = path . join ( fixtures , ' module ' , ' send - later . js ' ) <nl> + ipcMain . once ( ' answer ' , ( event , typeofProcess , typeofBuffer ) = > { <nl> assert . equal ( typeofProcess , ' undefined ' ) <nl> assert . equal ( typeofBuffer , ' undefined ' ) <nl> done ( ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> nodeIntegration : false <nl> } <nl> } ) <nl> - w . loadURL ( ' file : / / ' + path . join ( fixtures , ' api ' , ' blank . html ' ) ) <nl> + w . loadURL ( ` file : / / $ { path . join ( fixtures , ' api ' , ' blank . html ' ) } ` ) <nl> } ) <nl> } ) <nl> <nl> - describe ( ' " sandbox " option ' , function ( ) { <nl> + describe ( ' " sandbox " option ' , ( ) = > { <nl> function waitForEvents ( emitter , events , callback ) { <nl> let count = events . length <nl> for ( let event of events ) { <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> } <nl> <nl> - before ( function ( done ) { <nl> - protocol . interceptStringProtocol ( ' http ' , crossDomainHandler , function ( ) { <nl> + before ( ( done ) = > { <nl> + protocol . interceptStringProtocol ( ' http ' , crossDomainHandler , ( ) = > { <nl> done ( ) <nl> } ) <nl> } ) <nl> <nl> - after ( function ( done ) { <nl> - protocol . uninterceptProtocol ( ' http ' , function ( ) { <nl> + after ( ( done ) = > { <nl> + protocol . uninterceptProtocol ( ' http ' , ( ) = > { <nl> done ( ) <nl> } ) <nl> } ) <nl> <nl> - it ( ' exposes ipcRenderer to preload script ' , function ( done ) { <nl> + it ( ' exposes ipcRenderer to preload script ' , ( done ) = > { <nl> ipcMain . once ( ' answer ' , function ( event , test ) { <nl> assert . equal ( test , ' preload ' ) <nl> done ( ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> w . loadURL ( ' file : / / ' + path . join ( fixtures , ' api ' , ' preload . html ' ) ) <nl> } ) <nl> <nl> - it ( ' exposes " exit " event to preload script ' , function ( done ) { <nl> + it ( ' exposes " exit " event to preload script ' , ( done ) = > { <nl> w . destroy ( ) <nl> w = new BrowserWindow ( { <nl> show : false , <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> } ) <nl> <nl> - it ( ' should open windows in same domain with cross - scripting enabled ' , function ( done ) { <nl> + it ( ' should open windows in same domain with cross - scripting enabled ' , ( done ) = > { <nl> w . destroy ( ) <nl> w = new BrowserWindow ( { <nl> show : false , <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> } ) <nl> <nl> - it ( ' should open windows in another domain with cross - scripting disabled ' , function ( done ) { <nl> + it ( ' should open windows in another domain with cross - scripting disabled ' , ( done ) = > { <nl> w . destroy ( ) <nl> w = new BrowserWindow ( { <nl> show : false , <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> } ) <nl> <nl> - it ( ' should inherit the sandbox setting in opened windows ' , function ( done ) { <nl> + it ( ' should inherit the sandbox setting in opened windows ' , ( done ) = > { <nl> w . destroy ( ) <nl> w = new BrowserWindow ( { <nl> show : false , <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> w . loadURL ( ` file : / / $ { path . join ( fixtures , ' api ' , ' new - window . html ' ) } ` ) <nl> } ) <nl> <nl> - it ( ' should open windows with the options configured via new - window event listeners ' , function ( done ) { <nl> + it ( ' should open windows with the options configured via new - window event listeners ' , ( done ) = > { <nl> w . destroy ( ) <nl> w = new BrowserWindow ( { <nl> show : false , <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> w . loadURL ( ` file : / / $ { path . join ( fixtures , ' api ' , ' new - window . html ' ) } ` ) <nl> } ) <nl> <nl> - it ( ' should set ipc event sender correctly ' , function ( done ) { <nl> + it ( ' should set ipc event sender correctly ' , ( done ) = > { <nl> w . destroy ( ) <nl> w = new BrowserWindow ( { <nl> show : false , <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> } ) <nl> <nl> - describe ( ' event handling ' , function ( ) { <nl> - it ( ' works for window events ' , function ( done ) { <nl> + describe ( ' event handling ' , ( ) = > { <nl> + it ( ' works for window events ' , ( done ) = > { <nl> waitForEvents ( w , [ <nl> ' page - title - updated ' <nl> ] , done ) <nl> w . loadURL ( ' file : / / ' + path . join ( fixtures , ' api ' , ' sandbox . html ? window - events ' ) ) <nl> } ) <nl> <nl> - it ( ' works for stop events ' , function ( done ) { <nl> + it ( ' works for stop events ' , ( done ) = > { <nl> waitForEvents ( w . webContents , [ <nl> ' did - navigate ' , <nl> ' did - fail - load ' , <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> w . loadURL ( ' file : / / ' + path . join ( fixtures , ' api ' , ' sandbox . html ? webcontents - stop ' ) ) <nl> } ) <nl> <nl> - it ( ' works for web contents events ' , function ( done ) { <nl> + it ( ' works for web contents events ' , ( done ) = > { <nl> waitForEvents ( w . webContents , [ <nl> ' did - finish - load ' , <nl> ' did - frame - finish - load ' , <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> } ) <nl> <nl> - it ( ' can get printer list ' , function ( done ) { <nl> + it ( ' can get printer list ' , ( done ) = > { <nl> w . destroy ( ) <nl> w = new BrowserWindow ( { <nl> show : false , <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } <nl> } ) <nl> w . loadURL ( ' data : text / html , % 3Ch1 % 3EHello % 2C % 20World ! % 3C % 2Fh1 % 3E ' ) <nl> - w . webContents . once ( ' did - finish - load ' , function ( ) { <nl> + w . webContents . once ( ' did - finish - load ' , ( ) = > { <nl> const printers = w . webContents . getPrinters ( ) <nl> assert . equal ( Array . isArray ( printers ) , true ) <nl> done ( ) <nl> } ) <nl> } ) <nl> <nl> - it ( ' can print to PDF ' , function ( done ) { <nl> + it ( ' can print to PDF ' , ( done ) = > { <nl> w . destroy ( ) <nl> w = new BrowserWindow ( { <nl> show : false , <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } <nl> } ) <nl> w . loadURL ( ' data : text / html , % 3Ch1 % 3EHello % 2C % 20World ! % 3C % 2Fh1 % 3E ' ) <nl> - w . webContents . once ( ' did - finish - load ' , function ( ) { <nl> + w . webContents . once ( ' did - finish - load ' , ( ) = > { <nl> w . webContents . printToPDF ( { } , function ( error , data ) { <nl> assert . equal ( error , null ) <nl> assert . equal ( data instanceof Buffer , true ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> assert . equal ( content , ' Hello ' ) <nl> done ( ) <nl> } ) <nl> - w . loadURL ( ' file : / / ' + path . join ( fixtures , ' api ' , ' native - window - open - blank . html ' ) ) <nl> + w . loadURL ( ` file : / / $ { path . join ( fixtures , ' api ' , ' native - window - open - blank . html ' ) } ` ) <nl> } ) <nl> - <nl> it ( ' opens window of same domain with cross - scripting enabled ' , ( done ) = > { <nl> ipcMain . once ( ' answer ' , ( event , content ) = > { <nl> assert . equal ( content , ' Hello ' ) <nl> done ( ) <nl> } ) <nl> - w . loadURL ( ' file : / / ' + path . join ( fixtures , ' api ' , ' native - window - open - file . html ' ) ) <nl> + w . loadURL ( ` file : / / $ { path . join ( fixtures , ' api ' , ' native - window - open - file . html ' ) } ` ) <nl> } ) <nl> - <nl> it ( ' blocks accessing cross - origin frames ' , ( done ) = > { <nl> ipcMain . once ( ' answer ' , ( event , content ) = > { <nl> assert . equal ( content , ' Blocked a frame with origin " file : / / " from accessing a cross - origin frame . ' ) <nl> done ( ) <nl> } ) <nl> - w . loadURL ( ' file : / / ' + path . join ( fixtures , ' api ' , ' native - window - open - cross - origin . html ' ) ) <nl> + w . loadURL ( ` file : / / $ { path . join ( fixtures , ' api ' , ' native - window - open - cross - origin . html ' ) } ` ) <nl> } ) <nl> - <nl> it ( ' opens window from < iframe > tags ' , ( done ) = > { <nl> ipcMain . once ( ' answer ' , ( event , content ) = > { <nl> assert . equal ( content , ' Hello ' ) <nl> done ( ) <nl> } ) <nl> - w . loadURL ( ' file : / / ' + path . join ( fixtures , ' api ' , ' native - window - open - iframe . html ' ) ) <nl> + w . loadURL ( ` file : / / $ { path . join ( fixtures , ' api ' , ' native - window - open - iframe . html ' ) } ` ) <nl> } ) <nl> - <nl> it ( ' loads native addons correctly after reload ' , ( done ) = > { <nl> if ( ! nativeModulesEnabled ) return done ( ) <nl> <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> w . reload ( ) <nl> } ) <nl> - w . loadURL ( ' file : / / ' + path . join ( fixtures , ' api ' , ' native - window - open - native - addon . html ' ) ) <nl> + w . loadURL ( ` file : / / $ { path . join ( fixtures , ' api ' , ' native - window - open - native - addon . html ' ) } ` ) <nl> } ) <nl> - <nl> - it ( ' should inherit the nativeWindowOpen setting in opened windows ' , function ( done ) { <nl> + it ( ' should inherit the nativeWindowOpen setting in opened windows ' , ( done ) = > { <nl> w . destroy ( ) <nl> w = new BrowserWindow ( { <nl> show : false , <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> w . loadURL ( ` file : / / $ { path . join ( fixtures , ' api ' , ' new - window . html ' ) } ` ) <nl> } ) <nl> - <nl> - it ( ' should open windows with the options configured via new - window event listeners ' , function ( done ) { <nl> + it ( ' should open windows with the options configured via new - window event listeners ' , ( done ) = > { <nl> w . destroy ( ) <nl> w = new BrowserWindow ( { <nl> show : false , <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> w . loadURL ( ` file : / / $ { path . join ( fixtures , ' api ' , ' new - window . html ' ) } ` ) <nl> } ) <nl> - <nl> - it ( ' retains the original web preferences when window . location is changed to a new origin ' , async function ( ) { <nl> + it ( ' retains the original web preferences when window . location is changed to a new origin ' , async ( ) = > { <nl> await serveFileFromProtocol ( ' foo ' , path . join ( fixtures , ' api ' , ' window - open - location - change . html ' ) ) <nl> await serveFileFromProtocol ( ' bar ' , path . join ( fixtures , ' api ' , ' window - open - location - final . html ' ) ) <nl> <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> assert . equal ( content , ' Hello ' ) <nl> done ( ) <nl> } ) <nl> - w . loadURL ( ' file : / / ' + path . join ( fixtures , ' api ' , ' native - window - open - isolated . html ' ) ) <nl> + w . loadURL ( ` file : / / $ { path . join ( fixtures , ' api ' , ' native - window - open - isolated . html ' ) } ` ) <nl> } ) <nl> } ) <nl> <nl> - describe ( ' beforeunload handler ' , function ( ) { <nl> - it ( ' returning undefined would not prevent close ' , function ( done ) { <nl> - w . once ( ' closed ' , function ( ) { <nl> - done ( ) <nl> - } ) <nl> + describe ( ' beforeunload handler ' , ( ) = > { <nl> + it ( ' returning undefined would not prevent close ' , ( done ) = > { <nl> + w . once ( ' closed ' , ( ) = > { done ( ) } ) <nl> w . loadURL ( ' file : / / ' + path . join ( fixtures , ' api ' , ' close - beforeunload - undefined . html ' ) ) <nl> } ) <nl> - <nl> - it ( ' returning false would prevent close ' , function ( done ) { <nl> - w . once ( ' onbeforeunload ' , function ( ) { <nl> - done ( ) <nl> - } ) <nl> - w . loadURL ( ' file : / / ' + path . join ( fixtures , ' api ' , ' close - beforeunload - false . html ' ) ) <nl> + it ( ' returning false would prevent close ' , ( done ) = > { <nl> + w . once ( ' onbeforeunload ' , ( ) = > { done ( ) } ) <nl> + w . loadURL ( ` file : / / $ { path . join ( fixtures , ' api ' , ' close - beforeunload - false . html ' ) } ` ) <nl> } ) <nl> - <nl> - it ( ' returning empty string would prevent close ' , function ( done ) { <nl> - w . once ( ' onbeforeunload ' , function ( ) { <nl> - done ( ) <nl> - } ) <nl> - w . loadURL ( ' file : / / ' + path . join ( fixtures , ' api ' , ' close - beforeunload - empty - string . html ' ) ) <nl> + it ( ' returning empty string would prevent close ' , ( done ) = > { <nl> + w . once ( ' onbeforeunload ' , ( ) = > { done ( ) } ) <nl> + w . loadURL ( ` file : / / $ { path . join ( fixtures , ' api ' , ' close - beforeunload - empty - string . html ' ) } ` ) <nl> } ) <nl> - <nl> - it ( ' emits for each close attempt ' , function ( done ) { <nl> - var beforeUnloadCount = 0 <nl> - w . on ( ' onbeforeunload ' , function ( ) { <nl> - beforeUnloadCount + + <nl> + it ( ' emits for each close attempt ' , ( done ) = > { <nl> + let beforeUnloadCount = 0 <nl> + w . on ( ' onbeforeunload ' , ( ) = > { <nl> + beforeUnloadCount + = 1 <nl> if ( beforeUnloadCount < 3 ) { <nl> w . close ( ) <nl> } else if ( beforeUnloadCount = = = 3 ) { <nl> done ( ) <nl> } <nl> } ) <nl> - w . webContents . once ( ' did - finish - load ' , function ( ) { <nl> - w . close ( ) <nl> - } ) <nl> - w . loadURL ( ' file : / / ' + path . join ( fixtures , ' api ' , ' beforeunload - false - prevent3 . html ' ) ) <nl> + w . webContents . once ( ' did - finish - load ' , ( ) = > { w . close ( ) } ) <nl> + w . loadURL ( ` file : / / $ { path . join ( fixtures , ' api ' , ' beforeunload - false - prevent3 . html ' ) } ` ) <nl> } ) <nl> - <nl> - it ( ' emits for each reload attempt ' , function ( done ) { <nl> - var beforeUnloadCount = 0 <nl> - w . on ( ' onbeforeunload ' , function ( ) { <nl> - beforeUnloadCount + + <nl> + it ( ' emits for each reload attempt ' , ( done ) = > { <nl> + let beforeUnloadCount = 0 <nl> + w . on ( ' onbeforeunload ' , ( ) = > { <nl> + beforeUnloadCount + = 1 <nl> if ( beforeUnloadCount < 3 ) { <nl> w . reload ( ) <nl> } else if ( beforeUnloadCount = = = 3 ) { <nl> done ( ) <nl> } <nl> } ) <nl> - w . webContents . once ( ' did - finish - load ' , function ( ) { <nl> - w . webContents . once ( ' did - finish - load ' , function ( ) { <nl> + w . webContents . once ( ' did - finish - load ' , ( ) = > { <nl> + w . webContents . once ( ' did - finish - load ' , ( ) = > { <nl> assert . fail ( ' Reload was not prevented ' ) <nl> } ) <nl> w . reload ( ) <nl> } ) <nl> - w . loadURL ( ' file : / / ' + path . join ( fixtures , ' api ' , ' beforeunload - false - prevent3 . html ' ) ) <nl> + w . loadURL ( ` file : / / $ { path . join ( fixtures , ' api ' , ' beforeunload - false - prevent3 . html ' ) } ` ) <nl> } ) <nl> - <nl> - it ( ' emits for each navigation attempt ' , function ( done ) { <nl> - var beforeUnloadCount = 0 <nl> - w . on ( ' onbeforeunload ' , function ( ) { <nl> - beforeUnloadCount + + <nl> + it ( ' emits for each navigation attempt ' , ( done ) = > { <nl> + let beforeUnloadCount = 0 <nl> + w . on ( ' onbeforeunload ' , ( ) = > { <nl> + beforeUnloadCount + = 1 <nl> if ( beforeUnloadCount < 3 ) { <nl> w . loadURL ( ' about : blank ' ) <nl> } else if ( beforeUnloadCount = = = 3 ) { <nl> done ( ) <nl> } <nl> } ) <nl> - w . webContents . once ( ' did - finish - load ' , function ( ) { <nl> - w . webContents . once ( ' did - finish - load ' , function ( ) { <nl> + w . webContents . once ( ' did - finish - load ' , ( ) = > { <nl> + w . webContents . once ( ' did - finish - load ' , ( ) = > { <nl> assert . fail ( ' Navigation was not prevented ' ) <nl> } ) <nl> w . loadURL ( ' about : blank ' ) <nl> } ) <nl> - w . loadURL ( ' file : / / ' + path . join ( fixtures , ' api ' , ' beforeunload - false - prevent3 . html ' ) ) <nl> + w . loadURL ( ` file : / / $ { path . join ( fixtures , ' api ' , ' beforeunload - false - prevent3 . html ' ) } ` ) <nl> } ) <nl> } ) <nl> <nl> - describe ( ' document . visibilityState / hidden ' , function ( ) { <nl> - beforeEach ( function ( ) { <nl> - w . destroy ( ) <nl> - } ) <nl> + describe ( ' document . visibilityState / hidden ' , ( ) = > { <nl> + beforeEach ( ( ) = > { w . destroy ( ) } ) <nl> <nl> function onVisibilityChange ( callback ) { <nl> - ipcMain . on ( ' pong ' , function ( event , visibilityState , hidden ) { <nl> + ipcMain . on ( ' pong ' , ( event , visibilityState , hidden ) = > { <nl> if ( event . sender . id = = = w . webContents . id ) { <nl> callback ( visibilityState , hidden ) <nl> } <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } <nl> <nl> function onNextVisibilityChange ( callback ) { <nl> - ipcMain . once ( ' pong ' , function ( event , visibilityState , hidden ) { <nl> + ipcMain . once ( ' pong ' , ( event , visibilityState , hidden ) = > { <nl> if ( event . sender . id = = = w . webContents . id ) { <nl> callback ( visibilityState , hidden ) <nl> } <nl> } ) <nl> } <nl> <nl> - afterEach ( function ( ) { <nl> - ipcMain . removeAllListeners ( ' pong ' ) <nl> - } ) <nl> + afterEach ( ( ) = > { ipcMain . removeAllListeners ( ' pong ' ) } ) <nl> <nl> - it ( ' visibilityState is initially visible despite window being hidden ' , function ( done ) { <nl> + it ( ' visibilityState is initially visible despite window being hidden ' , ( done ) = > { <nl> w = new BrowserWindow ( { show : false , width : 100 , height : 100 } ) <nl> <nl> let readyToShow = false <nl> - w . once ( ' ready - to - show ' , function ( ) { <nl> + w . once ( ' ready - to - show ' , ( ) = > { <nl> readyToShow = true <nl> } ) <nl> <nl> - onNextVisibilityChange ( function ( visibilityState , hidden ) { <nl> + onNextVisibilityChange ( ( visibilityState , hidden ) = > { <nl> assert . equal ( readyToShow , false ) <nl> assert . equal ( visibilityState , ' visible ' ) <nl> assert . equal ( hidden , false ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> done ( ) <nl> } ) <nl> <nl> - w . loadURL ( ' file : / / ' + path . join ( fixtures , ' pages ' , ' visibilitychange . html ' ) ) <nl> + w . loadURL ( ` file : / / $ { path . join ( fixtures , ' pages ' , ' visibilitychange . html ' ) } ` ) <nl> } ) <nl> - <nl> - it ( ' visibilityState changes when window is hidden ' , function ( done ) { <nl> + it ( ' visibilityState changes when window is hidden ' , ( done ) = > { <nl> w = new BrowserWindow ( { width : 100 , height : 100 } ) <nl> <nl> - onNextVisibilityChange ( function ( visibilityState , hidden ) { <nl> + onNextVisibilityChange ( ( visibilityState , hidden ) = > { <nl> assert . equal ( visibilityState , ' visible ' ) <nl> assert . equal ( hidden , false ) <nl> <nl> - onNextVisibilityChange ( function ( visibilityState , hidden ) { <nl> + onNextVisibilityChange ( ( visibilityState , hidden ) = > { <nl> assert . equal ( visibilityState , ' hidden ' ) <nl> assert . equal ( hidden , true ) <nl> - <nl> done ( ) <nl> } ) <nl> <nl> w . hide ( ) <nl> } ) <nl> <nl> - w . loadURL ( ' file : / / ' + path . join ( fixtures , ' pages ' , ' visibilitychange . html ' ) ) <nl> + w . loadURL ( ` file : / / $ { path . join ( fixtures , ' pages ' , ' visibilitychange . html ' ) } ` ) <nl> } ) <nl> - <nl> - it ( ' visibilityState changes when window is shown ' , function ( done ) { <nl> + it ( ' visibilityState changes when window is shown ' , ( done ) = > { <nl> w = new BrowserWindow ( { width : 100 , height : 100 } ) <nl> <nl> - onNextVisibilityChange ( function ( visibilityState , hidden ) { <nl> - onVisibilityChange ( function ( visibilityState , hidden ) { <nl> + onNextVisibilityChange ( ( visibilityState , hidden ) = > { <nl> + onVisibilityChange ( ( visibilityState , hidden ) = > { <nl> if ( ! hidden ) { <nl> assert . equal ( visibilityState , ' visible ' ) <nl> done ( ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> w . show ( ) <nl> } ) <nl> <nl> - w . loadURL ( ' file : / / ' + path . join ( fixtures , ' pages ' , ' visibilitychange . html ' ) ) <nl> + w . loadURL ( ` file : / / $ { path . join ( fixtures , ' pages ' , ' visibilitychange . html ' ) } ` ) <nl> } ) <nl> - <nl> - it ( ' visibilityState changes when window is shown inactive ' , function ( done ) { <nl> + it ( ' visibilityState changes when window is shown inactive ' , ( done ) = > { <nl> if ( isCI & & process . platform = = = ' win32 ' ) return done ( ) <nl> <nl> w = new BrowserWindow ( { width : 100 , height : 100 } ) <nl> <nl> - onNextVisibilityChange ( function ( visibilityState , hidden ) { <nl> - onVisibilityChange ( function ( visibilityState , hidden ) { <nl> + onNextVisibilityChange ( ( visibilityState , hidden ) = > { <nl> + onVisibilityChange ( ( visibilityState , hidden ) = > { <nl> if ( ! hidden ) { <nl> assert . equal ( visibilityState , ' visible ' ) <nl> done ( ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> w . showInactive ( ) <nl> } ) <nl> <nl> - w . loadURL ( ' file : / / ' + path . join ( fixtures , ' pages ' , ' visibilitychange . html ' ) ) <nl> + w . loadURL ( ` file : / / $ { path . join ( fixtures , ' pages ' , ' visibilitychange . html ' ) } ` ) <nl> } ) <nl> - <nl> - it ( ' visibilityState changes when window is minimized ' , function ( done ) { <nl> + it ( ' visibilityState changes when window is minimized ' , ( done ) = > { <nl> if ( isCI & & process . platform = = = ' linux ' ) return done ( ) <nl> <nl> w = new BrowserWindow ( { width : 100 , height : 100 } ) <nl> <nl> - onNextVisibilityChange ( function ( visibilityState , hidden ) { <nl> + onNextVisibilityChange ( ( visibilityState , hidden ) = > { <nl> assert . equal ( visibilityState , ' visible ' ) <nl> assert . equal ( hidden , false ) <nl> <nl> - onNextVisibilityChange ( function ( visibilityState , hidden ) { <nl> + onNextVisibilityChange ( ( visibilityState , hidden ) = > { <nl> assert . equal ( visibilityState , ' hidden ' ) <nl> assert . equal ( hidden , true ) <nl> - <nl> done ( ) <nl> } ) <nl> <nl> w . minimize ( ) <nl> } ) <nl> <nl> - w . loadURL ( ' file : / / ' + path . join ( fixtures , ' pages ' , ' visibilitychange . html ' ) ) <nl> + w . loadURL ( ` file : / / $ { path . join ( fixtures , ' pages ' , ' visibilitychange . html ' ) } ` ) <nl> } ) <nl> - <nl> - it ( ' visibilityState remains visible if backgroundThrottling is disabled ' , function ( done ) { <nl> + it ( ' visibilityState remains visible if backgroundThrottling is disabled ' , ( done ) = > { <nl> w = new BrowserWindow ( { <nl> show : false , <nl> width : 100 , <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } <nl> } ) <nl> <nl> - onNextVisibilityChange ( function ( visibilityState , hidden ) { <nl> + onNextVisibilityChange ( ( visibilityState , hidden ) = > { <nl> assert . equal ( visibilityState , ' visible ' ) <nl> assert . equal ( hidden , false ) <nl> <nl> - onNextVisibilityChange ( function ( visibilityState , hidden ) { <nl> + onNextVisibilityChange ( ( visibilityState , hidden ) = > { <nl> done ( new Error ( ` Unexpected visibility change event . visibilityState : $ { visibilityState } hidden : $ { hidden } ` ) ) <nl> } ) <nl> } ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> w . show ( ) <nl> <nl> - w . loadURL ( ' file : / / ' + path . join ( fixtures , ' pages ' , ' visibilitychange . html ' ) ) <nl> + w . loadURL ( ` file : / / $ { path . join ( fixtures , ' pages ' , ' visibilitychange . html ' ) } ` ) <nl> } ) <nl> } ) <nl> <nl> - describe ( ' new - window event ' , function ( ) { <nl> - if ( isCI & & process . platform = = = ' darwin ' ) { <nl> - return <nl> - } <nl> + describe ( ' new - window event ' , ( ) = > { <nl> + if ( isCI & & process . platform = = = ' darwin ' ) return <nl> <nl> - it ( ' emits when window . open is called ' , function ( done ) { <nl> - w . webContents . once ( ' new - window ' , function ( e , url , frameName , disposition , options , additionalFeatures ) { <nl> + it ( ' emits when window . open is called ' , ( done ) = > { <nl> + w . webContents . once ( ' new - window ' , ( e , url , frameName , disposition , options , additionalFeatures ) = > { <nl> e . preventDefault ( ) <nl> assert . equal ( url , ' http : / / host / ' ) <nl> assert . equal ( frameName , ' host ' ) <nl> assert . equal ( additionalFeatures [ 0 ] , ' this - is - not - a - standard - feature ' ) <nl> done ( ) <nl> } ) <nl> - w . loadURL ( ' file : / / ' + fixtures + ' / pages / window - open . html ' ) <nl> + w . loadURL ( ` file : / / $ { fixtures } / pages / window - open . html ` ) <nl> } ) <nl> - <nl> - it ( ' emits when window . open is called with no webPreferences ' , function ( done ) { <nl> + it ( ' emits when window . open is called with no webPreferences ' , ( done ) = > { <nl> w . destroy ( ) <nl> w = new BrowserWindow ( { show : false } ) <nl> w . webContents . once ( ' new - window ' , function ( e , url , frameName , disposition , options , additionalFeatures ) { <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> assert . equal ( additionalFeatures [ 0 ] , ' this - is - not - a - standard - feature ' ) <nl> done ( ) <nl> } ) <nl> - w . loadURL ( ' file : / / ' + fixtures + ' / pages / window - open . html ' ) <nl> + w . loadURL ( ` file : / / $ { fixtures } / pages / window - open . html ` ) <nl> } ) <nl> - <nl> - it ( ' emits when link with target is called ' , function ( done ) { <nl> - w . webContents . once ( ' new - window ' , function ( e , url , frameName ) { <nl> + it ( ' emits when link with target is called ' , ( done ) = > { <nl> + w . webContents . once ( ' new - window ' , ( e , url , frameName ) = > { <nl> e . preventDefault ( ) <nl> assert . equal ( url , ' http : / / host / ' ) <nl> assert . equal ( frameName , ' target ' ) <nl> done ( ) <nl> } ) <nl> - w . loadURL ( ' file : / / ' + fixtures + ' / pages / target - name . html ' ) <nl> + w . loadURL ( ` file : / / $ { fixtures } / pages / target - name . html ` ) <nl> } ) <nl> } ) <nl> <nl> - describe ( ' maximize event ' , function ( ) { <nl> - if ( isCI ) { <nl> - return <nl> - } <nl> + describe ( ' maximize event ' , ( ) = > { <nl> + if ( isCI ) return <nl> <nl> - it ( ' emits when window is maximized ' , function ( done ) { <nl> - w . once ( ' maximize ' , function ( ) { <nl> - done ( ) <nl> - } ) <nl> + it ( ' emits when window is maximized ' , ( done ) = > { <nl> + w . once ( ' maximize ' , ( ) = > { done ( ) } ) <nl> w . show ( ) <nl> w . maximize ( ) <nl> } ) <nl> } ) <nl> <nl> - describe ( ' unmaximize event ' , function ( ) { <nl> - if ( isCI ) { <nl> - return <nl> - } <nl> + describe ( ' unmaximize event ' , ( ) = > { <nl> + if ( isCI ) return <nl> <nl> - it ( ' emits when window is unmaximized ' , function ( done ) { <nl> - w . once ( ' unmaximize ' , function ( ) { <nl> - done ( ) <nl> - } ) <nl> + it ( ' emits when window is unmaximized ' , ( done ) = > { <nl> + w . once ( ' unmaximize ' , ( ) = > { done ( ) } ) <nl> w . show ( ) <nl> w . maximize ( ) <nl> w . unmaximize ( ) <nl> } ) <nl> } ) <nl> <nl> - describe ( ' minimize event ' , function ( ) { <nl> - if ( isCI ) { <nl> - return <nl> - } <nl> + describe ( ' minimize event ' , ( ) = > { <nl> + if ( isCI ) return <nl> <nl> - it ( ' emits when window is minimized ' , function ( done ) { <nl> - w . once ( ' minimize ' , function ( ) { <nl> - done ( ) <nl> - } ) <nl> + it ( ' emits when window is minimized ' , ( done ) = > { <nl> + w . once ( ' minimize ' , ( ) = > { done ( ) } ) <nl> w . show ( ) <nl> w . minimize ( ) <nl> } ) <nl> } ) <nl> <nl> - describe ( ' sheet - begin event ' , function ( ) { <nl> - if ( process . platform ! = = ' darwin ' ) { <nl> - return <nl> - } <nl> + describe ( ' sheet - begin event ' , ( ) = > { <nl> + if ( process . platform ! = = ' darwin ' ) return <nl> <nl> let sheet = null <nl> <nl> - afterEach ( function ( ) { <nl> - return closeWindow ( sheet , { assertSingleWindow : false } ) . then ( function ( ) { sheet = null } ) <nl> + afterEach ( ( ) = > { <nl> + return closeWindow ( sheet , { assertSingleWindow : false } ) . then ( ( ) = > { sheet = null } ) <nl> } ) <nl> <nl> - it ( ' emits when window opens a sheet ' , function ( done ) { <nl> + it ( ' emits when window opens a sheet ' , ( done ) = > { <nl> w . show ( ) <nl> - w . once ( ' sheet - begin ' , function ( ) { <nl> + w . once ( ' sheet - begin ' , ( ) = > { <nl> sheet . close ( ) <nl> done ( ) <nl> } ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> } ) <nl> <nl> - describe ( ' sheet - end event ' , function ( ) { <nl> - if ( process . platform ! = = ' darwin ' ) { <nl> - return <nl> - } <nl> + describe ( ' sheet - end event ' , ( ) = > { <nl> + if ( process . platform ! = = ' darwin ' ) return <nl> <nl> let sheet = null <nl> <nl> - afterEach ( function ( ) { <nl> - return closeWindow ( sheet , { assertSingleWindow : false } ) . then ( function ( ) { sheet = null } ) <nl> + afterEach ( ( ) = > { <nl> + return closeWindow ( sheet , { assertSingleWindow : false } ) . then ( ( ) = > { sheet = null } ) <nl> } ) <nl> <nl> - it ( ' emits when window has closed a sheet ' , function ( done ) { <nl> + it ( ' emits when window has closed a sheet ' , ( done ) = > { <nl> w . show ( ) <nl> sheet = new BrowserWindow ( { <nl> modal : true , <nl> parent : w <nl> } ) <nl> - w . once ( ' sheet - end ' , function ( ) { <nl> - done ( ) <nl> - } ) <nl> + w . once ( ' sheet - end ' , ( ) = > { done ( ) } ) <nl> sheet . close ( ) <nl> } ) <nl> } ) <nl> <nl> - describe ( ' beginFrameSubscription method ' , function ( ) { <nl> + describe ( ' beginFrameSubscription method ' , ( ) = > { <nl> / / This test is too slow , only test it on CI . <nl> if ( ! isCI ) return <nl> <nl> / / FIXME These specs crash on Linux when run in a docker container <nl> if ( isCI & & process . platform = = = ' linux ' ) return <nl> <nl> - it ( ' subscribes to frame updates ' , function ( done ) { <nl> + it ( ' subscribes to frame updates ' , ( done ) = > { <nl> let called = false <nl> - w . loadURL ( ' file : / / ' + fixtures + ' / api / frame - subscriber . html ' ) <nl> - w . webContents . on ( ' dom - ready ' , function ( ) { <nl> + w . loadURL ( ` file : / / $ { fixtures } / api / frame - subscriber . html ` ) <nl> + w . webContents . on ( ' dom - ready ' , ( ) = > { <nl> w . webContents . beginFrameSubscription ( function ( data ) { <nl> / / This callback might be called twice . <nl> if ( called ) return <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> } ) <nl> } ) <nl> - <nl> - it ( ' subscribes to frame updates ( only dirty rectangle ) ' , function ( done ) { <nl> + it ( ' subscribes to frame updates ( only dirty rectangle ) ' , ( done ) = > { <nl> let called = false <nl> - w . loadURL ( ' file : / / ' + fixtures + ' / api / frame - subscriber . html ' ) <nl> - w . webContents . on ( ' dom - ready ' , function ( ) { <nl> - w . webContents . beginFrameSubscription ( true , function ( data ) { <nl> + w . loadURL ( ` file : / / $ { fixtures } / api / frame - subscriber . html ` ) <nl> + w . webContents . on ( ' dom - ready ' , ( ) = > { <nl> + w . webContents . beginFrameSubscription ( true , ( data ) = > { <nl> / / This callback might be called twice . <nl> if ( called ) return <nl> called = true <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> } ) <nl> } ) <nl> - <nl> - it ( ' throws error when subscriber is not well defined ' , function ( done ) { <nl> - w . loadURL ( ' file : / / ' + fixtures + ' / api / frame - subscriber . html ' ) <nl> + it ( ' throws error when subscriber is not well defined ' , ( done ) = > { <nl> + w . loadURL ( ` file : / / $ { fixtures } ' / api / frame - subscriber . html ` ) <nl> try { <nl> w . webContents . beginFrameSubscription ( true , true ) <nl> } catch ( e ) { <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> } ) <nl> <nl> - describe ( ' savePage method ' , function ( ) { <nl> + describe ( ' savePage method ' , ( ) = > { <nl> const savePageDir = path . join ( fixtures , ' save_page ' ) <nl> const savePageHtmlPath = path . join ( savePageDir , ' save_page . html ' ) <nl> const savePageJsPath = path . join ( savePageDir , ' save_page_files ' , ' test . js ' ) <nl> const savePageCssPath = path . join ( savePageDir , ' save_page_files ' , ' test . css ' ) <nl> <nl> - after ( function ( ) { <nl> + after ( ( ) = > { <nl> try { <nl> fs . unlinkSync ( savePageCssPath ) <nl> fs . unlinkSync ( savePageJsPath ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } <nl> } ) <nl> <nl> - it ( ' should save page to disk ' , function ( done ) { <nl> - w . webContents . on ( ' did - finish - load ' , function ( ) { <nl> + it ( ' should save page to disk ' , ( done ) = > { <nl> + w . webContents . on ( ' did - finish - load ' , ( ) = > { <nl> w . webContents . savePage ( savePageHtmlPath , ' HTMLComplete ' , function ( error ) { <nl> assert . equal ( error , null ) <nl> assert ( fs . existsSync ( savePageHtmlPath ) ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> } ) <nl> <nl> - describe ( ' BrowserWindow options argument is optional ' , function ( ) { <nl> - it ( ' should create a window with default size ( 800x600 ) ' , function ( ) { <nl> + describe ( ' BrowserWindow options argument is optional ' , ( ) = > { <nl> + it ( ' should create a window with default size ( 800x600 ) ' , ( ) = > { <nl> w . destroy ( ) <nl> w = new BrowserWindow ( ) <nl> - var size = w . getSize ( ) <nl> + const size = w . getSize ( ) <nl> assert . equal ( size [ 0 ] , 800 ) <nl> assert . equal ( size [ 1 ] , 600 ) <nl> } ) <nl> } ) <nl> <nl> - describe ( ' window states ' , function ( ) { <nl> - it ( ' does not resize frameless windows when states change ' , function ( ) { <nl> + describe ( ' window states ' , ( ) = > { <nl> + it ( ' does not resize frameless windows when states change ' , ( ) = > { <nl> w . destroy ( ) <nl> w = new BrowserWindow ( { <nl> frame : false , <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> assert . deepEqual ( w . getSize ( ) , [ 300 , 200 ] ) <nl> } ) <nl> <nl> - describe ( ' resizable state ' , function ( ) { <nl> - it ( ' can be changed with resizable option ' , function ( ) { <nl> + describe ( ' resizable state ' , ( ) = > { <nl> + it ( ' can be changed with resizable option ' , ( ) = > { <nl> w . destroy ( ) <nl> w = new BrowserWindow ( { show : false , resizable : false } ) <nl> assert . equal ( w . isResizable ( ) , false ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } <nl> } ) <nl> <nl> - it ( ' can be changed with setResizable method ' , function ( ) { <nl> + it ( ' can be changed with setResizable method ' , ( ) = > { <nl> assert . equal ( w . isResizable ( ) , true ) <nl> w . setResizable ( false ) <nl> assert . equal ( w . isResizable ( ) , false ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> } ) <nl> <nl> - describe ( ' loading main frame state ' , function ( ) { <nl> - it ( ' is true when the main frame is loading ' , function ( done ) { <nl> - w . webContents . on ( ' did - start - loading ' , function ( ) { <nl> + describe ( ' loading main frame state ' , ( ) = > { <nl> + it ( ' is true when the main frame is loading ' , ( done ) = > { <nl> + w . webContents . on ( ' did - start - loading ' , ( ) = > { <nl> assert . equal ( w . webContents . isLoadingMainFrame ( ) , true ) <nl> done ( ) <nl> } ) <nl> w . webContents . loadURL ( server . url ) <nl> } ) <nl> - <nl> - it ( ' is false when only a subframe is loading ' , function ( done ) { <nl> - w . webContents . once ( ' did - finish - load ' , function ( ) { <nl> + it ( ' is false when only a subframe is loading ' , ( done ) = > { <nl> + w . webContents . once ( ' did - finish - load ' , ( ) = > { <nl> assert . equal ( w . webContents . isLoadingMainFrame ( ) , false ) <nl> - w . webContents . on ( ' did - start - loading ' , function ( ) { <nl> + w . webContents . on ( ' did - start - loading ' , ( ) = > { <nl> assert . equal ( w . webContents . isLoadingMainFrame ( ) , false ) <nl> done ( ) <nl> } ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> w . webContents . loadURL ( server . url ) <nl> } ) <nl> - <nl> - it ( ' is true when navigating to pages from the same origin ' , function ( done ) { <nl> - w . webContents . once ( ' did - finish - load ' , function ( ) { <nl> + it ( ' is true when navigating to pages from the same origin ' , ( done ) = > { <nl> + w . webContents . once ( ' did - finish - load ' , ( ) = > { <nl> assert . equal ( w . webContents . isLoadingMainFrame ( ) , false ) <nl> - w . webContents . on ( ' did - start - loading ' , function ( ) { <nl> + w . webContents . on ( ' did - start - loading ' , ( ) = > { <nl> assert . equal ( w . webContents . isLoadingMainFrame ( ) , true ) <nl> done ( ) <nl> } ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> } ) <nl> <nl> - describe ( ' window states ( excluding Linux ) ' , function ( ) { <nl> + describe ( ' window states ( excluding Linux ) ' , ( ) = > { <nl> / / Not implemented on Linux . <nl> if ( process . platform = = = ' linux ' ) return <nl> <nl> - describe ( ' movable state ' , function ( ) { <nl> - it ( ' can be changed with movable option ' , function ( ) { <nl> + describe ( ' movable state ' , ( ) = > { <nl> + it ( ' can be changed with movable option ' , ( ) = > { <nl> w . destroy ( ) <nl> w = new BrowserWindow ( { show : false , movable : false } ) <nl> assert . equal ( w . isMovable ( ) , false ) <nl> } ) <nl> - <nl> - it ( ' can be changed with setMovable method ' , function ( ) { <nl> + it ( ' can be changed with setMovable method ' , ( ) = > { <nl> assert . equal ( w . isMovable ( ) , true ) <nl> w . setMovable ( false ) <nl> assert . equal ( w . isMovable ( ) , false ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> } ) <nl> <nl> - describe ( ' minimizable state ' , function ( ) { <nl> - it ( ' can be changed with minimizable option ' , function ( ) { <nl> + describe ( ' minimizable state ' , ( ) = > { <nl> + it ( ' can be changed with minimizable option ' , ( ) = > { <nl> w . destroy ( ) <nl> w = new BrowserWindow ( { show : false , minimizable : false } ) <nl> assert . equal ( w . isMinimizable ( ) , false ) <nl> } ) <nl> <nl> - it ( ' can be changed with setMinimizable method ' , function ( ) { <nl> + it ( ' can be changed with setMinimizable method ' , ( ) = > { <nl> assert . equal ( w . isMinimizable ( ) , true ) <nl> w . setMinimizable ( false ) <nl> assert . equal ( w . isMinimizable ( ) , false ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> } ) <nl> <nl> - describe ( ' maximizable state ' , function ( ) { <nl> - it ( ' can be changed with maximizable option ' , function ( ) { <nl> + describe ( ' maximizable state ' , ( ) = > { <nl> + it ( ' can be changed with maximizable option ' , ( ) = > { <nl> w . destroy ( ) <nl> w = new BrowserWindow ( { show : false , maximizable : false } ) <nl> assert . equal ( w . isMaximizable ( ) , false ) <nl> } ) <nl> <nl> - it ( ' can be changed with setMaximizable method ' , function ( ) { <nl> + it ( ' can be changed with setMaximizable method ' , ( ) = > { <nl> assert . equal ( w . isMaximizable ( ) , true ) <nl> w . setMaximizable ( false ) <nl> assert . equal ( w . isMaximizable ( ) , false ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> assert . equal ( w . isMaximizable ( ) , true ) <nl> } ) <nl> <nl> - it ( ' is not affected when changing other states ' , function ( ) { <nl> + it ( ' is not affected when changing other states ' , ( ) = > { <nl> w . setMaximizable ( false ) <nl> assert . equal ( w . isMaximizable ( ) , false ) <nl> w . setMinimizable ( false ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> } ) <nl> <nl> - describe ( ' fullscreenable state ' , function ( ) { <nl> + describe ( ' fullscreenable state ' , ( ) = > { <nl> / / Only implemented on macOS . <nl> if ( process . platform ! = = ' darwin ' ) return <nl> <nl> - it ( ' can be changed with fullscreenable option ' , function ( ) { <nl> + it ( ' can be changed with fullscreenable option ' , ( ) = > { <nl> w . destroy ( ) <nl> w = new BrowserWindow ( { show : false , fullscreenable : false } ) <nl> assert . equal ( w . isFullScreenable ( ) , false ) <nl> } ) <nl> <nl> - it ( ' can be changed with setFullScreenable method ' , function ( ) { <nl> + it ( ' can be changed with setFullScreenable method ' , ( ) = > { <nl> assert . equal ( w . isFullScreenable ( ) , true ) <nl> w . setFullScreenable ( false ) <nl> assert . equal ( w . isFullScreenable ( ) , false ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> } ) <nl> <nl> - describe ( ' kiosk state ' , function ( ) { <nl> + describe ( ' kiosk state ' , ( ) = > { <nl> / / Only implemented on macOS . <nl> if ( process . platform ! = = ' darwin ' ) return <nl> <nl> - it ( ' can be changed with setKiosk method ' , function ( done ) { <nl> + it ( ' can be changed with setKiosk method ' , ( done ) = > { <nl> w . destroy ( ) <nl> w = new BrowserWindow ( ) <nl> w . setKiosk ( true ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> } ) <nl> <nl> - describe ( ' fullscreen state with resizable set ' , function ( ) { <nl> + describe ( ' fullscreen state with resizable set ' , ( ) = > { <nl> / / Only implemented on macOS . <nl> if ( process . platform ! = = ' darwin ' ) return <nl> <nl> - it ( ' resizable flag should be set to true and restored ' , function ( done ) { <nl> + it ( ' resizable flag should be set to true and restored ' , ( done ) = > { <nl> w . destroy ( ) <nl> w = new BrowserWindow ( { resizable : false } ) <nl> w . once ( ' enter - full - screen ' , ( ) = > { <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> } ) <nl> <nl> - describe ( ' fullscreen state ' , function ( ) { <nl> + describe ( ' fullscreen state ' , ( ) = > { <nl> / / Only implemented on macOS . <nl> if ( process . platform ! = = ' darwin ' ) return <nl> <nl> - it ( ' can be changed with setFullScreen method ' , function ( done ) { <nl> + it ( ' can be changed with setFullScreen method ' , ( done ) = > { <nl> w . destroy ( ) <nl> w = new BrowserWindow ( ) <nl> w . once ( ' enter - full - screen ' , ( ) = > { <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> w . setFullScreen ( true ) <nl> } ) <nl> <nl> - it ( ' should not be changed by setKiosk method ' , function ( done ) { <nl> + it ( ' should not be changed by setKiosk method ' , ( done ) = > { <nl> w . destroy ( ) <nl> w = new BrowserWindow ( ) <nl> w . once ( ' enter - full - screen ' , ( ) = > { <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> } ) <nl> <nl> - describe ( ' closable state ' , function ( ) { <nl> - it ( ' can be changed with closable option ' , function ( ) { <nl> + describe ( ' closable state ' , ( ) = > { <nl> + it ( ' can be changed with closable option ' , ( ) = > { <nl> w . destroy ( ) <nl> w = new BrowserWindow ( { show : false , closable : false } ) <nl> assert . equal ( w . isClosable ( ) , false ) <nl> } ) <nl> <nl> - it ( ' can be changed with setClosable method ' , function ( ) { <nl> + it ( ' can be changed with setClosable method ' , ( ) = > { <nl> assert . equal ( w . isClosable ( ) , true ) <nl> w . setClosable ( false ) <nl> assert . equal ( w . isClosable ( ) , false ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> } ) <nl> <nl> - describe ( ' hasShadow state ' , function ( ) { <nl> + describe ( ' hasShadow state ' , ( ) = > { <nl> / / On Window there is no shadow by default and it can not be changed <nl> / / dynamically . <nl> - it ( ' can be changed with hasShadow option ' , function ( ) { <nl> + it ( ' can be changed with hasShadow option ' , ( ) = > { <nl> w . destroy ( ) <nl> let hasShadow = process . platform ! = = ' darwin ' <nl> w = new BrowserWindow ( { show : false , hasShadow : hasShadow } ) <nl> assert . equal ( w . hasShadow ( ) , hasShadow ) <nl> } ) <nl> <nl> - it ( ' can be changed with setHasShadow method ' , function ( ) { <nl> + it ( ' can be changed with setHasShadow method ' , ( ) = > { <nl> if ( process . platform ! = = ' darwin ' ) return <nl> <nl> assert . equal ( w . hasShadow ( ) , true ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> } ) <nl> <nl> - describe ( ' BrowserWindow . restore ( ) ' , function ( ) { <nl> - it ( ' should restore the previous window size ' , function ( ) { <nl> + describe ( ' BrowserWindow . restore ( ) ' , ( ) = > { <nl> + it ( ' should restore the previous window size ' , ( ) = > { <nl> if ( w ! = null ) w . destroy ( ) <nl> <nl> w = new BrowserWindow ( { <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> } ) <nl> <nl> - describe ( ' BrowserWindow . unmaximize ( ) ' , function ( ) { <nl> - it ( ' should restore the previous window position ' , function ( ) { <nl> + describe ( ' BrowserWindow . unmaximize ( ) ' , ( ) = > { <nl> + it ( ' should restore the previous window position ' , ( ) = > { <nl> if ( w ! = null ) w . destroy ( ) <nl> w = new BrowserWindow ( ) <nl> <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> } ) <nl> <nl> - describe ( ' BrowserWindow . setFullScreen ( false ) ' , function ( ) { <nl> + describe ( ' BrowserWindow . setFullScreen ( false ) ' , ( ) = > { <nl> / / only applicable to windows : https : / / github . com / electron / electron / issues / 6036 <nl> if ( process . platform ! = = ' win32 ' ) return <nl> <nl> - it ( ' should restore a normal visible window from a fullscreen startup state ' , function ( done ) { <nl> - w . webContents . once ( ' did - finish - load ' , function ( ) { <nl> + it ( ' should restore a normal visible window from a fullscreen startup state ' , ( done ) = > { <nl> + w . webContents . once ( ' did - finish - load ' , ( ) = > { <nl> / / start fullscreen and hidden <nl> w . setFullScreen ( true ) <nl> - w . once ( ' show ' , function ( ) { <nl> - / / restore window to normal state <nl> - w . setFullScreen ( false ) <nl> - } ) <nl> - w . once ( ' leave - full - screen ' , function ( ) { <nl> + w . once ( ' show ' , ( ) = > { w . setFullScreen ( false ) } ) <nl> + w . once ( ' leave - full - screen ' , ( ) = > { <nl> assert . equal ( w . isVisible ( ) , true ) <nl> assert . equal ( w . isFullScreen ( ) , false ) <nl> done ( ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> w . loadURL ( ' about : blank ' ) <nl> } ) <nl> - <nl> - it ( ' should keep window hidden if already in hidden state ' , function ( done ) { <nl> - w . webContents . once ( ' did - finish - load ' , function ( ) { <nl> + it ( ' should keep window hidden if already in hidden state ' , ( done ) = > { <nl> + w . webContents . once ( ' did - finish - load ' , ( ) = > { <nl> w . once ( ' leave - full - screen ' , ( ) = > { <nl> assert . equal ( w . isVisible ( ) , false ) <nl> assert . equal ( w . isFullScreen ( ) , false ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> } ) <nl> <nl> - describe ( ' parent window ' , function ( ) { <nl> + describe ( ' parent window ' , ( ) = > { <nl> let c = null <nl> <nl> - beforeEach ( function ( ) { <nl> + beforeEach ( ( ) = > { <nl> if ( c ! = null ) c . destroy ( ) <nl> c = new BrowserWindow ( { show : false , parent : w } ) <nl> } ) <nl> <nl> - afterEach ( function ( ) { <nl> + afterEach ( ( ) = > { <nl> if ( c ! = null ) c . destroy ( ) <nl> c = null <nl> } ) <nl> <nl> - describe ( ' parent option ' , function ( ) { <nl> - it ( ' sets parent window ' , function ( ) { <nl> + describe ( ' parent option ' , ( ) = > { <nl> + it ( ' sets parent window ' , ( ) = > { <nl> assert . equal ( c . getParentWindow ( ) , w ) <nl> } ) <nl> - <nl> - it ( ' adds window to child windows of parent ' , function ( ) { <nl> + it ( ' adds window to child windows of parent ' , ( ) = > { <nl> assert . deepEqual ( w . getChildWindows ( ) , [ c ] ) <nl> } ) <nl> - <nl> - it ( ' removes from child windows of parent when window is closed ' , function ( done ) { <nl> + it ( ' removes from child windows of parent when window is closed ' , ( done ) = > { <nl> c . once ( ' closed ' , ( ) = > { <nl> assert . deepEqual ( w . getChildWindows ( ) , [ ] ) <nl> done ( ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> c . close ( ) <nl> } ) <nl> <nl> - it ( ' should not affect the show option ' , function ( ) { <nl> + it ( ' should not affect the show option ' , ( ) = > { <nl> assert . equal ( c . isVisible ( ) , false ) <nl> assert . equal ( c . getParentWindow ( ) . isVisible ( ) , false ) <nl> } ) <nl> } ) <nl> <nl> - describe ( ' win . setParentWindow ( parent ) ' , function ( ) { <nl> + describe ( ' win . setParentWindow ( parent ) ' , ( ) = > { <nl> if ( process . platform = = = ' win32 ' ) return <nl> <nl> - beforeEach ( function ( ) { <nl> + beforeEach ( ( ) = > { <nl> if ( c ! = null ) c . destroy ( ) <nl> c = new BrowserWindow ( { show : false } ) <nl> } ) <nl> <nl> - it ( ' sets parent window ' , function ( ) { <nl> + it ( ' sets parent window ' , ( ) = > { <nl> assert . equal ( w . getParentWindow ( ) , null ) <nl> assert . equal ( c . getParentWindow ( ) , null ) <nl> c . setParentWindow ( w ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> c . setParentWindow ( null ) <nl> assert . equal ( c . getParentWindow ( ) , null ) <nl> } ) <nl> - <nl> - it ( ' adds window to child windows of parent ' , function ( ) { <nl> + it ( ' adds window to child windows of parent ' , ( ) = > { <nl> assert . deepEqual ( w . getChildWindows ( ) , [ ] ) <nl> c . setParentWindow ( w ) <nl> assert . deepEqual ( w . getChildWindows ( ) , [ c ] ) <nl> c . setParentWindow ( null ) <nl> assert . deepEqual ( w . getChildWindows ( ) , [ ] ) <nl> } ) <nl> - <nl> - it ( ' removes from child windows of parent when window is closed ' , function ( done ) { <nl> + it ( ' removes from child windows of parent when window is closed ' , ( done ) = > { <nl> c . once ( ' closed ' , ( ) = > { <nl> assert . deepEqual ( w . getChildWindows ( ) , [ ] ) <nl> done ( ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> } ) <nl> <nl> - describe ( ' modal option ' , function ( ) { <nl> + describe ( ' modal option ' , ( ) = > { <nl> / / The isEnabled API is not reliable on macOS . <nl> if ( process . platform = = = ' darwin ' ) return <nl> <nl> - beforeEach ( function ( ) { <nl> + beforeEach ( ( ) = > { <nl> if ( c ! = null ) c . destroy ( ) <nl> c = new BrowserWindow ( { show : false , parent : w , modal : true } ) <nl> } ) <nl> <nl> - it ( ' disables parent window ' , function ( ) { <nl> + it ( ' disables parent window ' , ( ) = > { <nl> assert . equal ( w . isEnabled ( ) , true ) <nl> c . show ( ) <nl> assert . equal ( w . isEnabled ( ) , false ) <nl> } ) <nl> - <nl> - it ( ' enables parent window when closed ' , function ( done ) { <nl> + it ( ' enables parent window when closed ' , ( done ) = > { <nl> c . once ( ' closed ' , ( ) = > { <nl> assert . equal ( w . isEnabled ( ) , true ) <nl> done ( ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> c . show ( ) <nl> c . close ( ) <nl> } ) <nl> - <nl> - it ( ' disables parent window recursively ' , function ( ) { <nl> + it ( ' disables parent window recursively ' , ( ) = > { <nl> let c2 = new BrowserWindow ( { show : false , parent : w , modal : true } ) <nl> c . show ( ) <nl> assert . equal ( w . isEnabled ( ) , false ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> } ) <nl> <nl> - describe ( ' window . webContents . send ( channel , args . . . ) ' , function ( ) { <nl> - it ( ' throws an error when the channel is missing ' , function ( ) { <nl> - assert . throws ( function ( ) { <nl> + describe ( ' window . webContents . send ( channel , args . . . ) ' , ( ) = > { <nl> + it ( ' throws an error when the channel is missing ' , ( ) = > { <nl> + assert . throws ( ( ) = > { <nl> w . webContents . send ( ) <nl> } , ' Missing required channel argument ' ) <nl> <nl> - assert . throws ( function ( ) { <nl> + assert . throws ( ( ) = > { <nl> w . webContents . send ( null ) <nl> } , ' Missing required channel argument ' ) <nl> } ) <nl> } ) <nl> <nl> - describe ( ' extensions and dev tools extensions ' , function ( ) { <nl> + describe ( ' extensions and dev tools extensions ' , ( ) = > { <nl> let showPanelTimeoutId <nl> <nl> const showLastDevToolsPanel = ( ) = > { <nl> - w . webContents . once ( ' devtools - opened ' , function ( ) { <nl> - const show = function ( ) { <nl> - if ( w = = null | | w . isDestroyed ( ) ) { <nl> - return <nl> - } <nl> + w . webContents . once ( ' devtools - opened ' , ( ) = > { <nl> + const show = ( ) = > { <nl> + if ( w = = null | | w . isDestroyed ( ) ) return <nl> const { devToolsWebContents } = w <nl> if ( devToolsWebContents = = null | | devToolsWebContents . isDestroyed ( ) ) { <nl> return <nl> } <nl> <nl> - const showLastPanel = function ( ) { <nl> + const showLastPanel = ( ) = > { <nl> const lastPanelId = UI . inspectorView . _tabbedPane . _tabs . peekLast ( ) . id <nl> UI . inspectorView . showPanel ( lastPanelId ) <nl> } <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> } <nl> <nl> - afterEach ( function ( ) { <nl> + afterEach ( ( ) = > { <nl> clearTimeout ( showPanelTimeoutId ) <nl> } ) <nl> <nl> - describe ( ' BrowserWindow . addDevToolsExtension ' , function ( ) { <nl> - beforeEach ( function ( ) { <nl> + describe ( ' BrowserWindow . addDevToolsExtension ' , ( ) = > { <nl> + beforeEach ( ( ) = > { <nl> BrowserWindow . removeDevToolsExtension ( ' foo ' ) <nl> assert . equal ( BrowserWindow . getDevToolsExtensions ( ) . hasOwnProperty ( ' foo ' ) , false ) <nl> <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> w . loadURL ( ' about : blank ' ) <nl> } ) <nl> <nl> - it ( ' throws errors for missing manifest . json files ' , function ( ) { <nl> - assert . throws ( function ( ) { <nl> + it ( ' throws errors for missing manifest . json files ' , ( ) = > { <nl> + assert . throws ( ( ) = > { <nl> BrowserWindow . addDevToolsExtension ( path . join ( __dirname , ' does - not - exist ' ) ) <nl> } , / ENOENT : no such file or directory / ) <nl> } ) <nl> <nl> - it ( ' throws errors for invalid manifest . json files ' , function ( ) { <nl> - assert . throws ( function ( ) { <nl> + it ( ' throws errors for invalid manifest . json files ' , ( ) = > { <nl> + assert . throws ( ( ) = > { <nl> BrowserWindow . addDevToolsExtension ( path . join ( __dirname , ' fixtures ' , ' devtools - extensions ' , ' bad - manifest ' ) ) <nl> } , / Unexpected token } / ) <nl> } ) <nl> <nl> - describe ( ' when the devtools is docked ' , function ( ) { <nl> - it ( ' creates the extension ' , function ( done ) { <nl> + describe ( ' when the devtools is docked ' , ( ) = > { <nl> + it ( ' creates the extension ' , ( done ) = > { <nl> w . webContents . openDevTools ( { mode : ' bottom ' } ) <nl> <nl> ipcMain . once ( ' answer ' , function ( event , message ) { <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> } ) <nl> <nl> - describe ( ' when the devtools is undocked ' , function ( ) { <nl> - it ( ' creates the extension ' , function ( done ) { <nl> + describe ( ' when the devtools is undocked ' , ( ) = > { <nl> + it ( ' creates the extension ' , ( done ) = > { <nl> w . webContents . openDevTools ( { mode : ' undocked ' } ) <nl> <nl> ipcMain . once ( ' answer ' , function ( event , message , extensionId ) { <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> } ) <nl> <nl> - it ( ' works when used with partitions ' , function ( done ) { <nl> + it ( ' works when used with partitions ' , ( done ) = > { <nl> if ( w ! = null ) { <nl> w . destroy ( ) <nl> } <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> } ) <nl> <nl> - it ( ' serializes the registered extensions on quit ' , function ( ) { <nl> + it ( ' serializes the registered extensions on quit ' , ( ) = > { <nl> var extensionName = ' foo ' <nl> var extensionPath = path . join ( __dirname , ' fixtures ' , ' devtools - extensions ' , extensionName ) <nl> var serializedPath = path . join ( app . getPath ( ' userData ' ) , ' DevTools Extensions ' ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> assert . equal ( fs . existsSync ( serializedPath ) , false ) <nl> } ) <nl> <nl> - describe ( ' BrowserWindow . addExtension ' , function ( ) { <nl> - beforeEach ( function ( ) { <nl> + describe ( ' BrowserWindow . addExtension ' , ( ) = > { <nl> + beforeEach ( ( ) = > { <nl> BrowserWindow . removeExtension ( ' foo ' ) <nl> assert . equal ( BrowserWindow . getExtensions ( ) . hasOwnProperty ( ' foo ' ) , false ) <nl> <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> w . loadURL ( ' about : blank ' ) <nl> } ) <nl> <nl> - it ( ' throws errors for missing manifest . json files ' , function ( ) { <nl> - assert . throws ( function ( ) { <nl> + it ( ' throws errors for missing manifest . json files ' , ( ) = > { <nl> + assert . throws ( ( ) = > { <nl> BrowserWindow . addExtension ( path . join ( __dirname , ' does - not - exist ' ) ) <nl> } , / ENOENT : no such file or directory / ) <nl> } ) <nl> <nl> - it ( ' throws errors for invalid manifest . json files ' , function ( ) { <nl> - assert . throws ( function ( ) { <nl> + it ( ' throws errors for invalid manifest . json files ' , ( ) = > { <nl> + assert . throws ( ( ) = > { <nl> BrowserWindow . addExtension ( path . join ( __dirname , ' fixtures ' , ' devtools - extensions ' , ' bad - manifest ' ) ) <nl> } , / Unexpected token } / ) <nl> } ) <nl> } ) <nl> } ) <nl> <nl> - describe ( ' window . webContents . executeJavaScript ' , function ( ) { <nl> - var expected = ' hello , world ! ' <nl> - var expectedErrorMsg = ' woops ! ' <nl> - var code = ` ( ( ) = > " $ { expected } " ) ( ) ` <nl> - var asyncCode = ` ( ( ) = > new Promise ( r = > setTimeout ( ( ) = > r ( " $ { expected } " ) , 500 ) ) ) ( ) ` <nl> - var badAsyncCode = ` ( ( ) = > new Promise ( ( r , e ) = > setTimeout ( ( ) = > e ( " $ { expectedErrorMsg } " ) , 500 ) ) ) ( ) ` <nl> + describe ( ' window . webContents . executeJavaScript ' , ( ) = > { <nl> + const expected = ' hello , world ! ' <nl> + const expectedErrorMsg = ' woops ! ' <nl> + const code = ` ( ( ) = > " $ { expected } " ) ( ) ` <nl> + const asyncCode = ` ( ( ) = > new Promise ( r = > setTimeout ( ( ) = > r ( " $ { expected } " ) , 500 ) ) ) ( ) ` <nl> + const badAsyncCode = ` ( ( ) = > new Promise ( ( r , e ) = > setTimeout ( ( ) = > e ( " $ { expectedErrorMsg } " ) , 500 ) ) ) ( ) ` <nl> <nl> - it ( ' doesnt throw when no calback is provided ' , function ( ) { <nl> + it ( ' doesnt throw when no calback is provided ' , ( ) = > { <nl> const result = ipcRenderer . sendSync ( ' executeJavaScript ' , code , false ) <nl> assert . equal ( result , ' success ' ) <nl> } ) <nl> - <nl> - it ( ' returns result when calback is provided ' , function ( done ) { <nl> + it ( ' returns result when calback is provided ' , ( done ) = > { <nl> ipcRenderer . send ( ' executeJavaScript ' , code , true ) <nl> ipcRenderer . once ( ' executeJavaScript - response ' , function ( event , result ) { <nl> assert . equal ( result , expected ) <nl> done ( ) <nl> } ) <nl> } ) <nl> - <nl> - it ( ' returns result if the code returns an asyncronous promise ' , function ( done ) { <nl> + it ( ' returns result if the code returns an asyncronous promise ' , ( done ) = > { <nl> ipcRenderer . send ( ' executeJavaScript ' , asyncCode , true ) <nl> - ipcRenderer . once ( ' executeJavaScript - response ' , function ( event , result ) { <nl> + ipcRenderer . once ( ' executeJavaScript - response ' , ( event , result ) = > { <nl> assert . equal ( result , expected ) <nl> done ( ) <nl> } ) <nl> } ) <nl> - <nl> - it ( ' resolves the returned promise with the result when a callback is specified ' , function ( done ) { <nl> + it ( ' resolves the returned promise with the result when a callback is specified ' , ( done ) = > { <nl> ipcRenderer . send ( ' executeJavaScript ' , code , true ) <nl> - ipcRenderer . once ( ' executeJavaScript - promise - response ' , function ( event , result ) { <nl> + ipcRenderer . once ( ' executeJavaScript - promise - response ' , ( event , result ) = > { <nl> assert . equal ( result , expected ) <nl> done ( ) <nl> } ) <nl> } ) <nl> - <nl> - it ( ' resolves the returned promise with the result when no callback is specified ' , function ( done ) { <nl> + it ( ' resolves the returned promise with the result when no callback is specified ' , ( done ) = > { <nl> ipcRenderer . send ( ' executeJavaScript ' , code , false ) <nl> - ipcRenderer . once ( ' executeJavaScript - promise - response ' , function ( event , result ) { <nl> + ipcRenderer . once ( ' executeJavaScript - promise - response ' , ( event , result ) = > { <nl> assert . equal ( result , expected ) <nl> done ( ) <nl> } ) <nl> } ) <nl> - <nl> - it ( ' resolves the returned promise with the result if the code returns an asyncronous promise ' , function ( done ) { <nl> + it ( ' resolves the returned promise with the result if the code returns an asyncronous promise ' , ( done ) = > { <nl> ipcRenderer . send ( ' executeJavaScript ' , asyncCode , true ) <nl> - ipcRenderer . once ( ' executeJavaScript - promise - response ' , function ( event , result ) { <nl> + ipcRenderer . once ( ' executeJavaScript - promise - response ' , ( event , result ) = > { <nl> assert . equal ( result , expected ) <nl> done ( ) <nl> } ) <nl> } ) <nl> - <nl> - it ( ' rejects the returned promise if an async error is thrown ' , function ( done ) { <nl> + it ( ' rejects the returned promise if an async error is thrown ' , ( done ) = > { <nl> ipcRenderer . send ( ' executeJavaScript ' , badAsyncCode , true ) <nl> - ipcRenderer . once ( ' executeJavaScript - promise - error ' , function ( event , error ) { <nl> + ipcRenderer . once ( ' executeJavaScript - promise - error ' , ( event , error ) = > { <nl> assert . equal ( error , expectedErrorMsg ) <nl> done ( ) <nl> } ) <nl> } ) <nl> - <nl> - it ( ' works after page load and during subframe load ' , function ( done ) { <nl> - w . webContents . once ( ' did - finish - load ' , function ( ) { <nl> + it ( ' works after page load and during subframe load ' , ( done ) = > { <nl> + w . webContents . once ( ' did - finish - load ' , ( ) = > { <nl> / / initiate a sub - frame load , then try and execute script during it <nl> w . webContents . executeJavaScript ( ` <nl> var iframe = document . createElement ( ' iframe ' ) <nl> iframe . src = ' $ { server . url } / slow ' <nl> document . body . appendChild ( iframe ) <nl> - ` , function ( ) { <nl> - w . webContents . executeJavaScript ( ' console . log ( \ ' hello \ ' ) ' , function ( ) { <nl> + ` , ( ) = > { <nl> + w . webContents . executeJavaScript ( ' console . log ( \ ' hello \ ' ) ' , ( ) = > { <nl> done ( ) <nl> } ) <nl> } ) <nl> } ) <nl> w . loadURL ( server . url ) <nl> } ) <nl> - <nl> - it ( ' executes after page load ' , function ( done ) { <nl> - w . webContents . executeJavaScript ( code , function ( result ) { <nl> + it ( ' executes after page load ' , ( done ) = > { <nl> + w . webContents . executeJavaScript ( code , ( result ) = > { <nl> assert . equal ( result , expected ) <nl> done ( ) <nl> } ) <nl> w . loadURL ( server . url ) <nl> } ) <nl> - <nl> - it ( ' works with result objects that have DOM class prototypes ' , function ( done ) { <nl> - w . webContents . executeJavaScript ( ' document . location ' , function ( result ) { <nl> + it ( ' works with result objects that have DOM class prototypes ' , ( done ) = > { <nl> + w . webContents . executeJavaScript ( ' document . location ' , ( result ) = > { <nl> assert . equal ( result . origin , server . url ) <nl> assert . equal ( result . protocol , ' http : ' ) <nl> done ( ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> } ) <nl> <nl> - describe ( ' previewFile ' , function ( ) { <nl> - it ( ' opens the path in Quick Look on macOS ' , function ( ) { <nl> + describe ( ' previewFile ' , ( ) = > { <nl> + it ( ' opens the path in Quick Look on macOS ' , ( ) = > { <nl> if ( process . platform ! = = ' darwin ' ) return <nl> <nl> - assert . doesNotThrow ( function ( ) { <nl> + assert . doesNotThrow ( ( ) = > { <nl> w . previewFile ( __filename ) <nl> w . closeFilePreview ( ) <nl> } ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> assert . deepEqual ( data , expectedContextData ) <nl> done ( ) <nl> } ) <nl> - w . loadURL ( ' file : / / ' + fixtures + ' / api / isolated . html ' ) <nl> + w . loadURL ( ` file : / / $ { fixtures } / api / isolated . html ` ) <nl> } ) <nl> - <nl> it ( ' recreates the contexts on reload ' , ( done ) = > { <nl> w . webContents . once ( ' did - finish - load ' , ( ) = > { <nl> ipcMain . once ( ' isolated - world ' , ( event , data ) = > { <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> w . webContents . reload ( ) <nl> } ) <nl> - w . loadURL ( ' file : / / ' + fixtures + ' / api / isolated . html ' ) <nl> + w . loadURL ( ` file : / / $ { fixtures } / api / isolated . html ` ) <nl> } ) <nl> - <nl> - it ( ' enables context isolation on child windows ' , function ( done ) { <nl> - app . once ( ' browser - window - created ' , function ( event , window ) { <nl> + it ( ' enables context isolation on child windows ' , ( done ) = > { <nl> + app . once ( ' browser - window - created ' , ( event , window ) = > { <nl> assert . equal ( window . webContents . getWebPreferences ( ) . contextIsolation , true ) <nl> done ( ) <nl> } ) <nl> - w . loadURL ( ' file : / / ' + fixtures + ' / pages / window - open . html ' ) <nl> + w . loadURL ( ` file : / / $ { fixtures } / pages / window - open . html ` ) <nl> } ) <nl> - <nl> it ( ' separates the page context from the Electron / preload context with sandbox on ' , ( done ) = > { <nl> ipcMain . once ( ' isolated - sandbox - world ' , ( event , data ) = > { <nl> assert . deepEqual ( data , expectedContextData ) <nl> done ( ) <nl> } ) <nl> - w . loadURL ( ' file : / / ' + fixtures + ' / api / isolated . html ' ) <nl> + w . loadURL ( ` file : / / $ { fixtures } / api / isolated . html ` ) <nl> } ) <nl> - <nl> it ( ' recreates the contexts on reload with sandbox on ' , ( done ) = > { <nl> w . webContents . once ( ' did - finish - load ' , ( ) = > { <nl> ipcMain . once ( ' isolated - sandbox - world ' , ( event , data ) = > { <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> w . webContents . reload ( ) <nl> } ) <nl> - w . loadURL ( ' file : / / ' + fixtures + ' / api / isolated . html ' ) <nl> + w . loadURL ( ` file : / / $ { fixtures } / api / isolated . html ` ) <nl> } ) <nl> } ) <nl> <nl> - describe ( ' offscreen rendering ' , function ( ) { <nl> + describe ( ' offscreen rendering ' , ( ) = > { <nl> const isOffscreenRenderingDisabled = ( ) = > { <nl> const contents = webContents . create ( { } ) <nl> const disabled = typeof contents . isOffscreen ! = = ' function ' <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> / / Offscreen rendering can be disabled in the build <nl> if ( isOffscreenRenderingDisabled ( ) ) return <nl> <nl> - beforeEach ( function ( ) { <nl> + beforeEach ( ( ) = > { <nl> if ( w ! = null ) w . destroy ( ) <nl> w = new BrowserWindow ( { <nl> width : 100 , <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> } ) <nl> <nl> - it ( ' creates offscreen window with correct size ' , function ( done ) { <nl> + it ( ' creates offscreen window with correct size ' , ( done ) = > { <nl> w . webContents . once ( ' paint ' , function ( event , rect , data ) { <nl> assert . notEqual ( data . length , 0 ) <nl> let size = data . getSize ( ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> w . loadURL ( ' file : / / ' + fixtures + ' / api / offscreen - rendering . html ' ) <nl> } ) <nl> <nl> - describe ( ' window . webContents . isOffscreen ( ) ' , function ( ) { <nl> - it ( ' is true for offscreen type ' , function ( ) { <nl> + describe ( ' window . webContents . isOffscreen ( ) ' , ( ) = > { <nl> + it ( ' is true for offscreen type ' , ( ) = > { <nl> w . loadURL ( ' file : / / ' + fixtures + ' / api / offscreen - rendering . html ' ) <nl> assert . equal ( w . webContents . isOffscreen ( ) , true ) <nl> } ) <nl> <nl> - it ( ' is false for regular window ' , function ( ) { <nl> + it ( ' is false for regular window ' , ( ) = > { <nl> let c = new BrowserWindow ( { show : false } ) <nl> assert . equal ( c . webContents . isOffscreen ( ) , false ) <nl> c . destroy ( ) <nl> } ) <nl> } ) <nl> <nl> - describe ( ' window . webContents . isPainting ( ) ' , function ( ) { <nl> - it ( ' returns whether is currently painting ' , function ( done ) { <nl> + describe ( ' window . webContents . isPainting ( ) ' , ( ) = > { <nl> + it ( ' returns whether is currently painting ' , ( done ) = > { <nl> w . webContents . once ( ' paint ' , function ( event , rect , data ) { <nl> assert . equal ( w . webContents . isPainting ( ) , true ) <nl> done ( ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> } ) <nl> <nl> - describe ( ' window . webContents . stopPainting ( ) ' , function ( ) { <nl> - it ( ' stops painting ' , function ( done ) { <nl> - w . webContents . on ( ' dom - ready ' , function ( ) { <nl> + describe ( ' window . webContents . stopPainting ( ) ' , ( ) = > { <nl> + it ( ' stops painting ' , ( done ) = > { <nl> + w . webContents . on ( ' dom - ready ' , ( ) = > { <nl> w . webContents . stopPainting ( ) <nl> assert . equal ( w . webContents . isPainting ( ) , false ) <nl> done ( ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> } ) <nl> <nl> - describe ( ' window . webContents . startPainting ( ) ' , function ( ) { <nl> - it ( ' starts painting ' , function ( done ) { <nl> - w . webContents . on ( ' dom - ready ' , function ( ) { <nl> + describe ( ' window . webContents . startPainting ( ) ' , ( ) = > { <nl> + it ( ' starts painting ' , ( done ) = > { <nl> + w . webContents . on ( ' dom - ready ' , ( ) = > { <nl> w . webContents . stopPainting ( ) <nl> w . webContents . startPainting ( ) <nl> w . webContents . once ( ' paint ' , function ( event , rect , data ) { <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> } ) <nl> <nl> - describe ( ' window . webContents . getFrameRate ( ) ' , function ( ) { <nl> - it ( ' has default frame rate ' , function ( done ) { <nl> + describe ( ' window . webContents . getFrameRate ( ) ' , ( ) = > { <nl> + it ( ' has default frame rate ' , ( done ) = > { <nl> w . webContents . once ( ' paint ' , function ( event , rect , data ) { <nl> assert . equal ( w . webContents . getFrameRate ( ) , 60 ) <nl> done ( ) <nl> describe ( ' BrowserWindow module ' , function ( ) { <nl> } ) <nl> } ) <nl> <nl> - describe ( ' window . webContents . setFrameRate ( frameRate ) ' , function ( ) { <nl> - it ( ' sets custom frame rate ' , function ( done ) { <nl> - w . webContents . on ( ' dom - ready ' , function ( ) { <nl> + describe ( ' window . webContents . setFrameRate ( frameRate ) ' , ( ) = > { <nl> + it ( ' sets custom frame rate ' , ( done ) = > { <nl> + w . webContents . on ( ' dom - ready ' , ( ) = > { <nl> w . webContents . setFrameRate ( 30 ) <nl> w . webContents . once ( ' paint ' , function ( event , rect , data ) { <nl> assert . equal ( w . webContents . getFrameRate ( ) , 30 ) <nl> mmm a / spec / api - shell - spec . js <nl> ppp b / spec / api - shell - spec . js <nl> const path = require ( ' path ' ) <nl> const os = require ( ' os ' ) <nl> const { shell } = require ( ' electron ' ) <nl> <nl> - describe ( ' shell module ' , function ( ) { <nl> + describe ( ' shell module ' , ( ) = > { <nl> if ( process . platform ! = = ' win32 ' ) return <nl> <nl> const fixtures = path . resolve ( __dirname , ' fixtures ' ) <nl> describe ( ' shell module ' , function ( ) { <nl> iconIndex : 1 <nl> } <nl> <nl> - describe ( ' shell . readShortcutLink ( shortcutPath ) ' , function ( ) { <nl> - it ( ' throws when failed ' , function ( ) { <nl> - assert . throws ( function ( ) { <nl> + describe ( ' shell . readShortcutLink ( shortcutPath ) ' , ( ) = > { <nl> + it ( ' throws when failed ' , ( ) = > { <nl> + assert . throws ( ( ) = > { <nl> shell . readShortcutLink ( ' not - exist ' ) <nl> } , / Failed to read shortcut link / ) <nl> } ) <nl> <nl> - it ( ' reads all properties of a shortcut ' , function ( ) { <nl> + it ( ' reads all properties of a shortcut ' , ( ) = > { <nl> const shortcut = shell . readShortcutLink ( path . join ( fixtures , ' assets ' , ' shortcut . lnk ' ) ) <nl> assert . deepEqual ( shortcut , shortcutOptions ) <nl> } ) <nl> } ) <nl> <nl> - describe ( ' shell . writeShortcutLink ( shortcutPath [ , operation ] , options ) ' , function ( ) { <nl> + describe ( ' shell . writeShortcutLink ( shortcutPath [ , operation ] , options ) ' , ( ) = > { <nl> const tmpShortcut = path . join ( os . tmpdir ( ) , ` $ { Date . now ( ) } . lnk ` ) <nl> <nl> - afterEach ( function ( ) { <nl> + afterEach ( ( ) = > { <nl> fs . unlinkSync ( tmpShortcut ) <nl> } ) <nl> <nl> - it ( ' writes the shortcut ' , function ( ) { <nl> + it ( ' writes the shortcut ' , ( ) = > { <nl> assert . equal ( shell . writeShortcutLink ( tmpShortcut , { target : ' C : \ \ ' } ) , true ) <nl> assert . equal ( fs . existsSync ( tmpShortcut ) , true ) <nl> } ) <nl> <nl> - it ( ' correctly sets the fields ' , function ( ) { <nl> + it ( ' correctly sets the fields ' , ( ) = > { <nl> assert . equal ( shell . writeShortcutLink ( tmpShortcut , shortcutOptions ) , true ) <nl> assert . deepEqual ( shell . readShortcutLink ( tmpShortcut ) , shortcutOptions ) <nl> } ) <nl> <nl> - it ( ' updates the shortcut ' , function ( ) { <nl> + it ( ' updates the shortcut ' , ( ) = > { <nl> assert . equal ( shell . writeShortcutLink ( tmpShortcut , ' update ' , shortcutOptions ) , false ) <nl> assert . equal ( shell . writeShortcutLink ( tmpShortcut , ' create ' , shortcutOptions ) , true ) <nl> assert . deepEqual ( shell . readShortcutLink ( tmpShortcut ) , shortcutOptions ) <nl> describe ( ' shell module ' , function ( ) { <nl> assert . deepEqual ( shell . readShortcutLink ( tmpShortcut ) , Object . assign ( shortcutOptions , change ) ) <nl> } ) <nl> <nl> - it ( ' replaces the shortcut ' , function ( ) { <nl> + it ( ' replaces the shortcut ' , ( ) = > { <nl> assert . equal ( shell . writeShortcutLink ( tmpShortcut , ' replace ' , shortcutOptions ) , false ) <nl> assert . equal ( shell . writeShortcutLink ( tmpShortcut , ' create ' , shortcutOptions ) , true ) <nl> assert . deepEqual ( shell . readShortcutLink ( tmpShortcut ) , shortcutOptions ) <nl>
convert app and browser spec to ES6
electron/electron
d2e1705c800a72b7d25c2cc5ba05b5a7f33b3c38
2017-11-01T14:48:09Z
mmm a / doc / index . md <nl> ppp b / doc / index . md <nl> leveldb : : Range ranges [ 2 ] ; <nl> ranges [ 0 ] = leveldb : : Range ( " a " , " c " ) ; <nl> ranges [ 1 ] = leveldb : : Range ( " x " , " z " ) ; <nl> uint64_t sizes [ 2 ] ; <nl> - leveldb : : Status s = db - > GetApproximateSizes ( ranges , 2 , sizes ) ; <nl> + db - > GetApproximateSizes ( ranges , 2 , sizes ) ; <nl> ` ` ` <nl> <nl> The preceding call will set ` sizes [ 0 ] ` to the approximate number of bytes of <nl>
update index . md
google/leveldb
1754c12c54d3544678205930a09b142418e34181
2020-07-14T11:32:03Z
new file mode 100644 <nl> index 00000000000 . . 3a7334c41f8 <nl> mmm / dev / null <nl> ppp b / ports / avro - c / CONTROL <nl> <nl> + Source : avro - c <nl> + Version : 1 . 8 . 2 <nl> + Description : Apache Avro is a data serialization system <nl> + Build - Depends : jansson , liblzma , zlib <nl> new file mode 100644 <nl> index 00000000000 . . 9a5ddd3a855 <nl> mmm / dev / null <nl> ppp b / ports / avro - c / avro - pr - 217 . patch <nl> <nl> pppmmm a / lang / c / src / schema . c <nl> ppp + b / lang / c / src / schema . c <nl> + <nl> + * Licensed to the Apache Software Foundation ( ASF ) under one or more <nl> + * contributor license agreements . See the NOTICE file distributed with <nl> + * this work for additional information regarding copyright ownership . <nl> + - * The ASF licenses this file to you under the Apache License , Version 2 . 0 <nl> + + * The ASF licenses this file to you under the Apache License , Version 2 . 0 <nl> + * ( the " License " ) ; you may not use this file except in compliance with <nl> + * the License . You may obtain a copy of the License at <nl> + - * <nl> + + * <nl> + * http : / / www . apache . org / licenses / LICENSE - 2 . 0 <nl> + - * <nl> + + * <nl> + * Unless required by applicable law or agreed to in writing , software <nl> + * distributed under the License is distributed on an " AS IS " BASIS , <nl> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND , either express or <nl> + * implied . See the License for the specific language governing <nl> + - * permissions and limitations under the License . <nl> + + * permissions and limitations under the License . <nl> + * / <nl> + <nl> + # include " avro / allocation . h " <nl> + static int is_avro_id ( const char * name ) <nl> + } <nl> + } <nl> + / * <nl> + - * starts with [ A - Za - z_ ] subsequent [ A - Za - z0 - 9_ ] <nl> + + * starts with [ A - Za - z_ ] subsequent [ A - Za - z0 - 9_ ] <nl> + * / <nl> + return 1 ; <nl> + } <nl> + static void avro_schema_free ( avro_schema_t schema ) <nl> + case AVRO_LINK : { <nl> + struct avro_link_schema_t * link ; <nl> + link = avro_schema_to_link ( schema ) ; <nl> + - avro_schema_decref ( link - > to ) ; <nl> + + / * Since we didn ' t increment the <nl> + + * reference count of the target <nl> + + * schema when we created the link , we <nl> + + * should not decrement the reference <nl> + + * count of the target schema when we <nl> + + * free the link . <nl> + + * / <nl> + avro_freet ( struct avro_link_schema_t , link ) ; <nl> + } <nl> + break ; <nl> + avro_schema_t avro_schema_link ( avro_schema_t to ) <nl> + avro_set_error ( " Cannot allocate new link schema " ) ; <nl> + return NULL ; <nl> + } <nl> + - link - > to = avro_schema_incref ( to ) ; <nl> + + <nl> + + / * Do not increment the reference count of target schema <nl> + + * pointed to by the AVRO_LINK . AVRO_LINKs are only valid <nl> + + * internal to a schema . The target schema pointed to by a <nl> + + * link will be valid as long as the top - level schema is <nl> + + * valid . Similarly , the link will be valid as long as the <nl> + + * top - level schema is valid . Therefore the validity of the <nl> + + * link ensures the validity of its target , and we don ' t need <nl> + + * an additional reference count on the target . This mechanism <nl> + + * of an implied validity also breaks reference count cycles <nl> + + * for recursive schemas , which result in memory leaks . <nl> + + * / <nl> + + link - > to = to ; <nl> + avro_schema_init ( & link - > obj , AVRO_LINK ) ; <nl> + return & link - > obj ; <nl> + } <nl> + avro_type_from_json_t ( json_t * json , avro_type_t * type , <nl> + return EINVAL ; <nl> + } <nl> + / * <nl> + - * TODO : gperf / re2c this <nl> + + * TODO : gperf / re2c this <nl> + * / <nl> + if ( strcmp ( type_str , " string " ) = = 0 ) { <nl> + * type = AVRO_STRING ; <nl> + avro_schema_from_json_length ( const char * jsontext , size_t length , <nl> + return avro_schema_from_json_root ( root , schema ) ; <nl> + } <nl> + <nl> + - avro_schema_t avro_schema_copy ( avro_schema_t schema ) <nl> + + avro_schema_t avro_schema_copy_root ( avro_schema_t schema , st_table * named_schemas ) <nl> + { <nl> + long i ; <nl> + avro_schema_t new_schema = NULL ; <nl> + avro_schema_t avro_schema_copy ( avro_schema_t schema ) <nl> + case AVRO_BOOLEAN : <nl> + case AVRO_NULL : <nl> + / * <nl> + - * No need to copy primitives since they ' re static <nl> + + * No need to copy primitives since they ' re static <nl> + * / <nl> + new_schema = schema ; <nl> + break ; <nl> + avro_schema_t avro_schema_copy ( avro_schema_t schema ) <nl> + new_schema = <nl> + avro_schema_record ( record_schema - > name , <nl> + record_schema - > space ) ; <nl> + + if ( save_named_schemas ( new_schema , named_schemas ) ) { <nl> + + avro_set_error ( " Cannot save enum schema " ) ; <nl> + + return NULL ; <nl> + + } <nl> + for ( i = 0 ; i < record_schema - > fields - > num_entries ; i + + ) { <nl> + union { <nl> + st_data_t data ; <nl> + avro_schema_t avro_schema_copy ( avro_schema_t schema ) <nl> + } val ; <nl> + st_lookup ( record_schema - > fields , i , & val . data ) ; <nl> + avro_schema_t type_copy = <nl> + - avro_schema_copy ( val . field - > type ) ; <nl> + + avro_schema_copy_root ( val . field - > type , named_schemas ) ; <nl> + avro_schema_record_field_append ( new_schema , <nl> + val . field - > name , <nl> + type_copy ) ; <nl> + + avro_schema_decref ( type_copy ) ; <nl> + } <nl> + } <nl> + break ; <nl> + avro_schema_t avro_schema_copy ( avro_schema_t schema ) <nl> + avro_schema_to_enum ( schema ) ; <nl> + new_schema = avro_schema_enum_ns ( enum_schema - > name , <nl> + enum_schema - > space ) ; <nl> + + if ( save_named_schemas ( new_schema , named_schemas ) ) { <nl> + + avro_set_error ( " Cannot save enum schema " ) ; <nl> + + return NULL ; <nl> + + } <nl> + for ( i = 0 ; i < enum_schema - > symbols - > num_entries ; i + + ) { <nl> + union { <nl> + st_data_t data ; <nl> + avro_schema_t avro_schema_copy ( avro_schema_t schema ) <nl> + avro_schema_fixed_ns ( fixed_schema - > name , <nl> + fixed_schema - > space , <nl> + fixed_schema - > size ) ; <nl> + + if ( save_named_schemas ( new_schema , named_schemas ) ) { <nl> + + avro_set_error ( " Cannot save fixed schema " ) ; <nl> + + return NULL ; <nl> + + } <nl> + } <nl> + break ; <nl> + <nl> + avro_schema_t avro_schema_copy ( avro_schema_t schema ) <nl> + struct avro_map_schema_t * map_schema = <nl> + avro_schema_to_map ( schema ) ; <nl> + avro_schema_t values_copy = <nl> + - avro_schema_copy ( map_schema - > values ) ; <nl> + + avro_schema_copy_root ( map_schema - > values , named_schemas ) ; <nl> + if ( ! values_copy ) { <nl> + return NULL ; <nl> + } <nl> + new_schema = avro_schema_map ( values_copy ) ; <nl> + + avro_schema_decref ( values_copy ) ; <nl> + } <nl> + break ; <nl> + <nl> + avro_schema_t avro_schema_copy ( avro_schema_t schema ) <nl> + struct avro_array_schema_t * array_schema = <nl> + avro_schema_to_array ( schema ) ; <nl> + avro_schema_t items_copy = <nl> + - avro_schema_copy ( array_schema - > items ) ; <nl> + + avro_schema_copy_root ( array_schema - > items , named_schemas ) ; <nl> + if ( ! items_copy ) { <nl> + return NULL ; <nl> + } <nl> + new_schema = avro_schema_array ( items_copy ) ; <nl> + + avro_schema_decref ( items_copy ) ; <nl> + } <nl> + break ; <nl> + <nl> + avro_schema_t avro_schema_copy ( avro_schema_t schema ) <nl> + avro_schema_t schema ; <nl> + } val ; <nl> + st_lookup ( union_schema - > branches , i , & val . data ) ; <nl> + - schema_copy = avro_schema_copy ( val . schema ) ; <nl> + + schema_copy = avro_schema_copy_root ( val . schema , named_schemas ) ; <nl> + if ( avro_schema_union_append <nl> + ( new_schema , schema_copy ) ) { <nl> + avro_schema_decref ( new_schema ) ; <nl> + return NULL ; <nl> + } <nl> + + avro_schema_decref ( schema_copy ) ; <nl> + } <nl> + } <nl> + break ; <nl> + avro_schema_t avro_schema_copy ( avro_schema_t schema ) <nl> + { <nl> + struct avro_link_schema_t * link_schema = <nl> + avro_schema_to_link ( schema ) ; <nl> + - / * <nl> + - * TODO : use an avro_schema_copy of to instead of pointing to <nl> + - * the same reference <nl> + - * / <nl> + - avro_schema_incref ( link_schema - > to ) ; <nl> + - new_schema = avro_schema_link ( link_schema - > to ) ; <nl> + + avro_schema_t to ; <nl> + + <nl> + + to = find_named_schemas ( avro_schema_name ( link_schema - > to ) , <nl> + + avro_schema_namespace ( link_schema - > to ) , <nl> + + named_schemas ) ; <nl> + + new_schema = avro_schema_link ( to ) ; <nl> + } <nl> + break ; <nl> + <nl> + avro_schema_t avro_schema_copy ( avro_schema_t schema ) <nl> + return new_schema ; <nl> + } <nl> + <nl> + + avro_schema_t avro_schema_copy ( avro_schema_t schema ) <nl> + + { <nl> + + avro_schema_t new_schema ; <nl> + + st_table * named_schemas ; <nl> + + <nl> + + named_schemas = st_init_strtable_with_size ( DEFAULT_TABLE_SIZE ) ; <nl> + + if ( ! named_schemas ) { <nl> + + avro_set_error ( " Cannot allocate named schema map " ) ; <nl> + + return NULL ; <nl> + + } <nl> + + <nl> + + new_schema = avro_schema_copy_root ( schema , named_schemas ) ; <nl> + + st_foreach ( named_schemas , HASH_FUNCTION_CAST named_schema_free_foreach , 0 ) ; <nl> + + st_free_table ( named_schemas ) ; <nl> + + return new_schema ; <nl> + + } <nl> + + <nl> + avro_schema_t avro_schema_get_subschema ( const avro_schema_t schema , <nl> + const char * name ) <nl> + { <nl> pppmmm a / lang / c / tests / CMakeLists . txt <nl> ppp + b / lang / c / tests / CMakeLists . txt <nl> + add_avro_test ( test_data_structures ) <nl> + add_avro_test ( test_avro_schema ) <nl> + add_avro_test ( test_avro_schema_names ) <nl> + add_avro_test ( test_avro_values ) <nl> + + add_avro_test ( test_avro_766 ) <nl> + add_avro_test ( test_avro_968 ) <nl> + add_avro_test ( test_avro_984 ) <nl> + add_avro_test ( test_avro_1034 ) <nl> + add_avro_test ( test_avro_1084 ) <nl> + add_avro_test ( test_avro_1087 ) <nl> + add_avro_test ( test_avro_1165 ) <nl> + + add_avro_test ( test_avro_1167 ) <nl> + add_avro_test ( test_avro_1237 ) <nl> + add_avro_test ( test_avro_1238 ) <nl> + add_avro_test ( test_avro_1279 ) <nl> + + new file mode 100644 <nl> + index 000000000 . . 869b37d17 <nl> + mmm / dev / null <nl> ppp + b / lang / c / tests / test_avro_1167 . c <nl> + <nl> + + / * <nl> + + * Licensed to the Apache Software Foundation ( ASF ) under one or more <nl> + + * contributor license agreements . See the NOTICE file distributed with <nl> + + * this work for additional information regarding copyright ownership . <nl> + + * The ASF licenses this file to you under the Apache License , Version 2 . 0 <nl> + + * ( the " License " ) ; you may not use this file except in compliance with <nl> + + * the License . You may obtain a copy of the License at <nl> + + * <nl> + + * http : / / www . apache . org / licenses / LICENSE - 2 . 0 <nl> + + * <nl> + + * Unless required by applicable law or agreed to in writing , software <nl> + + * distributed under the License is distributed on an " AS IS " BASIS , <nl> + + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND , either express or <nl> + + * implied . See the License for the specific language governing <nl> + + * permissions and limitations under the License . <nl> + + * / <nl> + + <nl> + + # include < stdio . h > <nl> + + # include < string . h > <nl> + + # include < avro . h > <nl> + + <nl> + + / * To see the AVRO - 1167 memory leak , run this test program through <nl> + + * valgrind . The specific valgrind commandline to use from the <nl> + + * avro - trunk / lang / c / tests directory is : <nl> + + * valgrind - v - - track - origins = yes - - leak - check = full <nl> + + * - - show - reachable = yes . . / build / tests / test_avro_1167 <nl> + + * / <nl> + + <nl> + + int main ( int argc , char * * argv ) <nl> + + { <nl> + + const char * json = <nl> + + " { " <nl> + + " \ " name \ " : \ " repeated_subrecord_array \ " , " <nl> + + " \ " type \ " : \ " record \ " , " <nl> + + " \ " fields \ " : [ " <nl> + + " { \ " name \ " : \ " subrecord_one \ " , " <nl> + + " \ " type \ " : { " <nl> + + " \ " name \ " : \ " SubrecordType \ " , " <nl> + + " \ " type \ " : \ " record \ " , " <nl> + + " \ " fields \ " : [ " <nl> + + " { \ " name \ " : \ " x \ " , \ " type \ " : \ " int \ " } , " <nl> + + " { \ " name \ " : \ " y \ " , \ " type \ " : \ " int \ " } " <nl> + + " ] " <nl> + + " } " <nl> + + " } , " <nl> + + " { \ " name \ " : \ " subrecord_two \ " , \ " type \ " : \ " SubrecordType \ " } , " <nl> + + " { \ " name \ " : \ " subrecord_array \ " , \ " type \ " : { " <nl> + + " \ " type \ " : \ " array \ " , " <nl> + + " \ " items \ " : \ " SubrecordType \ " " <nl> + + " } " <nl> + + " } " <nl> + + " ] " <nl> + + " } " ; <nl> + + <nl> + + int rval ; <nl> + + avro_schema_t schema = NULL ; <nl> + + avro_schema_t schema_copy = NULL ; <nl> + + avro_schema_error_t error ; <nl> + + <nl> + + ( void ) argc ; <nl> + + ( void ) argv ; <nl> + + <nl> + + rval = avro_schema_from_json ( json , strlen ( json ) , & schema , & error ) ; <nl> + + if ( rval ) <nl> + + { <nl> + + printf ( " Failed to read schema from JSON . \ n " ) ; <nl> + + exit ( EXIT_FAILURE ) ; <nl> + + } <nl> + + else <nl> + + { <nl> + + printf ( " Successfully read schema from JSON . \ n " ) ; <nl> + + } <nl> + + <nl> + + schema_copy = avro_schema_copy ( schema ) ; <nl> + + if ( ! avro_schema_equal ( schema , schema_copy ) ) <nl> + + { <nl> + + printf ( " Failed avro_schema_equal ( schema , schema_copy ) \ n " ) ; <nl> + + exit ( EXIT_FAILURE ) ; <nl> + + } <nl> + + <nl> + + avro_schema_decref ( schema ) ; <nl> + + avro_schema_decref ( schema_copy ) ; <nl> + + return 0 ; <nl> + + } <nl> + + new file mode 100755 <nl> + index 000000000 . . 4e21368c4 <nl> + mmm / dev / null <nl> ppp + b / lang / c / tests / test_avro_766 . c <nl> + <nl> + + / * <nl> + + * Licensed to the Apache Software Foundation ( ASF ) under one or more <nl> + + * contributor license agreements . See the NOTICE file distributed with <nl> + + * this work for additional information regarding copyright ownership . <nl> + + * The ASF licenses this file to you under the Apache License , Version 2 . 0 <nl> + + * ( the " License " ) ; you may not use this file except in compliance with <nl> + + * the License . You may obtain a copy of the License at <nl> + + * <nl> + + * http : / / www . apache . org / licenses / LICENSE - 2 . 0 <nl> + + * <nl> + + * Unless required by applicable law or agreed to in writing , software <nl> + + * distributed under the License is distributed on an " AS IS " BASIS , <nl> + + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND , either express or <nl> + + * implied . See the License for the specific language governing <nl> + + * permissions and limitations under the License . <nl> + + * / <nl> + + <nl> + + # include < stdio . h > <nl> + + # include < string . h > <nl> + + # include < avro . h > <nl> + + <nl> + + / * To see the AVRO - 766 memory leak , run this test program through <nl> + + * valgrind . The specific valgrind commandline to use from the <nl> + + * avro - trunk / lang / c / tests directory is : <nl> + + * valgrind - v - - track - origins = yes - - leak - check = full <nl> + + * - - show - reachable = yes . . / build / tests / test_avro_766 <nl> + + * / <nl> + + int main ( int argc , char * * argv ) <nl> + + { <nl> + + const char * json = <nl> + + " { " <nl> + + " \ " type \ " : \ " record \ " , " <nl> + + " \ " name \ " : \ " list \ " , " <nl> + + " \ " fields \ " : [ " <nl> + + " { \ " name \ " : \ " x \ " , \ " type \ " : \ " int \ " } , " <nl> + + " { \ " name \ " : \ " y \ " , \ " type \ " : \ " int \ " } , " <nl> + + " { \ " name \ " : \ " next \ " , \ " type \ " : [ \ " null \ " , \ " list \ " ] } , " <nl> + + " { \ " name \ " : \ " arraylist \ " , \ " type \ " : { \ " type \ " : \ " array \ " , \ " items \ " : \ " list \ " } } " <nl> + + " ] " <nl> + + " } " ; <nl> + + <nl> + + int rval ; <nl> + + avro_schema_t schema = NULL ; <nl> + + avro_schema_error_t error ; <nl> + + <nl> + + ( void ) argc ; <nl> + + ( void ) argv ; <nl> + + <nl> + + rval = avro_schema_from_json ( json , strlen ( json ) , & schema , & error ) ; <nl> + + if ( rval ) <nl> + + { <nl> + + printf ( " Failed to read schema from JSON . \ n " ) ; <nl> + + exit ( EXIT_FAILURE ) ; <nl> + + } <nl> + + else <nl> + + { <nl> + + printf ( " Successfully read schema from JSON . \ n " ) ; <nl> + + } <nl> + + <nl> + + # define TEST_AVRO_1167 ( 1 ) <nl> + + # if TEST_AVRO_1167 <nl> + + { <nl> + + avro_schema_t schema_copy = NULL ; <nl> + + schema_copy = avro_schema_copy ( schema ) ; <nl> + + if ( ! avro_schema_equal ( schema , schema_copy ) ) <nl> + + { <nl> + + printf ( " Failed avro_schema_equal ( schema , schema_copy ) \ n " ) ; <nl> + + exit ( EXIT_FAILURE ) ; <nl> + + } <nl> + + avro_schema_decref ( schema_copy ) ; <nl> + + } <nl> + + # endif <nl> + + <nl> + + avro_schema_decref ( schema ) ; <nl> + + return 0 ; <nl> + + } <nl> new file mode 100644 <nl> index 00000000000 . . 50c32a6d3c4 <nl> mmm / dev / null <nl> ppp b / ports / avro - c / avro . patch <nl> <nl> + diff - ur a / lang / c / CMakeLists . txt b / lang / c / CMakeLists . txt <nl> + mmm a / lang / c / CMakeLists . txt 2017 - 04 - 17 19 : 56 : 17 . 000000000 - 0400 <nl> ppp + b / lang / c / CMakeLists . txt 2017 - 11 - 12 20 : 03 : 13 . 776973800 - 0500 <nl> + <nl> + else ( UNIX ) <nl> + # Hard code for win32 - - need to figure out how to port version . sh for <nl> + # Windows . <nl> + - set ( LIBAVRO_VERSION " 22 : 0 : 0 " ) <nl> + + set ( LIBAVRO_VERSION " 23 : 0 : 0 " ) <nl> + endif ( UNIX ) <nl> + <nl> + <nl> + <nl> + message ( " Disabled snappy codec . libsnappy not found or zlib not found . " ) <nl> + endif ( SNAPPY_FOUND AND ZLIB_FOUND ) <nl> + <nl> + - find_package ( PkgConfig ) <nl> + - pkg_check_modules ( LZMA liblzma ) <nl> + - if ( LZMA_FOUND ) <nl> + + find_package ( LIBLZMA ) <nl> + + if ( LIBLZMA_FOUND ) <nl> + set ( LZMA_PKG liblzma ) <nl> + add_definitions ( - DLZMA_CODEC ) <nl> + - include_directories ( $ { LZMA_INCLUDE_DIRS } ) <nl> + - link_directories ( $ { LZMA_LIBRARY_DIRS } ) <nl> + + include_directories ( $ { LIBLZMA_INCLUDE_DIRS } ) <nl> + + link_directories ( $ { LIBLZMA_LIBRARY_DIRS } ) <nl> + message ( " Enabled lzma codec " ) <nl> + - else ( LZMA_FOUND ) <nl> + + else ( LIBLZMA_FOUND ) <nl> + set ( LZMA_PKG " " ) <nl> + set ( LZMA_LIBRARIES " " ) <nl> + message ( " Disabled lzma codec . liblzma not found . " ) <nl> + - endif ( LZMA_FOUND ) <nl> + + endif ( LIBLZMA_FOUND ) <nl> + <nl> + - set ( CODEC_LIBRARIES $ { ZLIB_LIBRARIES } $ { LZMA_LIBRARIES } $ { SNAPPY_LIBRARIES } ) <nl> + + set ( CODEC_LIBRARIES $ { ZLIB_LIBRARIES } $ { LIBLZMA_LIBRARIES } $ { SNAPPY_LIBRARIES } ) <nl> + set ( CODEC_PKG " @ ZLIB_PKG @ @ LZMA_PKG @ @ SNAPPY_PKG @ " ) <nl> + <nl> + # Jansson JSON library <nl> + - pkg_check_modules ( JANSSON jansson > = 2 . 3 ) <nl> + + find_package ( JANSSON REQUIRED ) <nl> + if ( JANSSON_FOUND ) <nl> + set ( JANSSON_PKG libjansson ) <nl> + include_directories ( $ { JANSSON_INCLUDE_DIR } ) <nl> + diff - ur a / lang / c / examples / quickstop . c b / lang / c / examples / quickstop . c <nl> + mmm a / lang / c / examples / quickstop . c 2017 - 04 - 17 19 : 56 : 17 . 000000000 - 0400 <nl> ppp + b / lang / c / examples / quickstop . c 2017 - 11 - 10 12 : 40 : 59 . 151301400 - 0500 <nl> + <nl> + * / <nl> + <nl> + # include < avro . h > <nl> + + # include < avro / platform . h > <nl> + # include < stdio . h > <nl> + # include < stdlib . h > <nl> + <nl> + <nl> + <nl> + if ( avro_record_get ( person , " ID " , & id_datum ) = = 0 ) { <nl> + avro_int64_get ( id_datum , & i64 ) ; <nl> + - fprintf ( stdout , " % " PRId64 " | " , i64 ) ; <nl> + + fprintf ( stdout , " % " PRId64 " | " , i64 ) ; <nl> + } <nl> + if ( avro_record_get ( person , " First " , & first_datum ) = = 0 ) { <nl> + avro_string_get ( first_datum , & p ) ; <nl> + diff - ur a / lang / c / src / avro / msinttypes . h b / lang / c / src / avro / msinttypes . h <nl> + mmm a / lang / c / src / avro / msinttypes . h 2017 - 04 - 17 19 : 56 : 17 . 000000000 - 0400 <nl> ppp + b / lang / c / src / avro / msinttypes . h 2017 - 11 - 10 12 : 37 : 30 . 372271300 - 0500 <nl> + <nl> + <nl> + / / 7 . 8 Format conversion of integer types <nl> + <nl> + + # if ( _MSC_VER > = 1900 ) <nl> + + # include < inttypes . h > <nl> + + # else <nl> + typedef struct { <nl> + intmax_t quot ; <nl> + intmax_t rem ; <nl> + <nl> + # define wcstoimax _wcstoi64 <nl> + # define wcstoumax _wcstoui64 <nl> + <nl> + + # endif <nl> + <nl> + # endif / / _MSC_INTTYPES_H_ ] <nl> + diff - ur a / lang / c / src / avro / msstdint . h b / lang / c / src / avro / msstdint . h <nl> + mmm a / lang / c / src / avro / msstdint . h 2017 - 04 - 17 19 : 56 : 17 . 000000000 - 0400 <nl> ppp + b / lang / c / src / avro / msstdint . h 2017 - 11 - 10 10 : 44 : 14 . 011482500 - 0500 <nl> + <nl> + <nl> + # include < limits . h > <nl> + <nl> + + # if ( _MSC_VER > = 1900 ) <nl> + + # include < stdint . h > <nl> + + # else <nl> + + <nl> + / / For Visual Studio 6 in C + + mode and for many Visual Studio versions when <nl> + / / compiling for ARM we should wrap < wchar . h > include with ' extern " C + + " { } ' <nl> + / / or compiler give many errors like this : <nl> + <nl> + <nl> + # endif / / __STDC_CONSTANT_MACROS ] <nl> + <nl> + + # endif / / _MSC_VER < 1900 <nl> + <nl> + # endif / / _MSC_STDINT_H_ ] <nl> + diff - ur a / lang / c / src / avro_private . h b / lang / c / src / avro_private . h <nl> + mmm a / lang / c / src / avro_private . h 2017 - 04 - 17 19 : 56 : 17 . 000000000 - 0400 <nl> ppp + b / lang / c / src / avro_private . h 2017 - 11 - 10 10 : 32 : 33 . 414879700 - 0500 <nl> + <nl> + # endif <nl> + <nl> + # ifdef _WIN32 <nl> + - # define snprintf _snprintf <nl> + + / / # define snprintf _snprintf <nl> + # endif <nl> + <nl> + / * Note that AVRO_PLATFORM_IS_BIG_ENDIAN is * always * defined . It is <nl> + diff - ur a / lang / c / src / avroappend . c b / lang / c / src / avroappend . c <nl> + mmm a / lang / c / src / avroappend . c 2017 - 04 - 17 19 : 56 : 17 . 000000000 - 0400 <nl> ppp + b / lang / c / src / avroappend . c 2017 - 11 - 10 12 : 15 : 14 . 878275800 - 0500 <nl> + <nl> + # include < sys / types . h > <nl> + # include < sys / stat . h > <nl> + # ifdef _WIN32 <nl> + - # include < unistd . h > <nl> + + # include < io . h > <nl> + # endif <nl> + <nl> + # include " avro . h " <nl> + diff - ur a / lang / c / src / codec . c b / lang / c / src / codec . c <nl> + mmm a / lang / c / src / codec . c 2017 - 04 - 17 19 : 56 : 17 . 000000000 - 0400 <nl> ppp + b / lang / c / src / codec . c 2017 - 11 - 10 11 : 09 : 08 . 033816100 - 0500 <nl> + <nl> + s - > next_in = ( Bytef * ) data ; <nl> + s - > avail_in = ( uInt ) len ; <nl> + <nl> + - s - > next_out = c - > block_data ; <nl> + + s - > next_out = ( Bytef * ) c - > block_data ; <nl> + s - > avail_out = ( uInt ) c - > block_size ; <nl> + <nl> + s - > total_out = 0 ; <nl> + <nl> + <nl> + c - > used_size = 0 ; <nl> + <nl> + - s - > next_in = data ; <nl> + + s - > next_in = ( Bytef * ) data ; <nl> + s - > avail_in = len ; <nl> + <nl> + - s - > next_out = c - > block_data ; <nl> + + s - > next_out = ( Bytef * ) c - > block_data ; <nl> + s - > avail_out = c - > block_size ; <nl> + <nl> + s - > total_out = 0 ; <nl> + <nl> + if ( err = = Z_BUF_ERROR ) <nl> + { <nl> + c - > block_data = avro_realloc ( c - > block_data , c - > block_size , c - > block_size * 2 ) ; <nl> + - s - > next_out = c - > block_data + s - > total_out ; <nl> + + s - > next_out = ( Bytef * ) c - > block_data + s - > total_out ; <nl> + s - > avail_out + = c - > block_size ; <nl> + c - > block_size = c - > block_size * 2 ; <nl> + } <nl> + <nl> + return 1 ; <nl> + } <nl> + <nl> + - ret = lzma_raw_buffer_encode ( filters , NULL , data , len , codec - > block_data , & written , codec - > block_size ) ; <nl> + + ret = lzma_raw_buffer_encode ( filters , NULL , ( const uint8_t * ) data , len , ( uint8_t * ) codec - > block_data , & written , codec - > block_size ) ; <nl> + <nl> + codec - > used_size = written ; <nl> + <nl> + <nl> + <nl> + do <nl> + { <nl> + - ret = lzma_raw_buffer_decode ( filters , NULL , data , <nl> + - & read_pos , len , codec - > block_data , & write_pos , <nl> + + ret = lzma_raw_buffer_decode ( filters , NULL , ( const uint8_t * ) data , <nl> + + & read_pos , len , ( uint8_t * ) codec - > block_data , & write_pos , <nl> + codec - > block_size ) ; <nl> + <nl> + codec - > used_size = write_pos ; <nl> + diff - ur a / lang / c / src / schema . c b / lang / c / src / schema . c <nl> + mmm a / lang / c / src / schema . c 2017 - 04 - 17 19 : 56 : 17 . 000000000 - 0400 <nl> ppp + b / lang / c / src / schema . c 2017 - 11 - 10 11 : 45 : 45 . 268458000 - 0500 <nl> + <nl> + * namespace ( as a newly allocated buffer using Avro ' s allocator ) . * / <nl> + static char * split_namespace_name ( const char * fullname , const char * * name_out ) <nl> + { <nl> + - char * last_dot = strrchr ( fullname , ' . ' ) ; <nl> + + const char * last_dot = strrchr ( fullname , ' . ' ) ; <nl> + if ( last_dot = = NULL ) { <nl> + * name_out = fullname ; <nl> + return NULL ; <nl> + <nl> + } <nl> + <nl> + static const char * <nl> + - qualify_name ( const char * name , const char * namespace ) <nl> + + qualify_name ( const char * name , const char * namespaceX ) <nl> + { <nl> + char * full_name ; <nl> + - if ( namespace ! = NULL & & strchr ( name , ' . ' ) = = NULL ) { <nl> + - full_name = avro_str_alloc ( strlen ( name ) + strlen ( namespace ) + 2 ) ; <nl> + - sprintf ( full_name , " % s . % s " , namespace , name ) ; <nl> + + if ( namespaceX ! = NULL & & strchr ( name , ' . ' ) = = NULL ) { <nl> + + full_name = avro_str_alloc ( strlen ( name ) + strlen ( namespaceX ) + 2 ) ; <nl> + + sprintf ( full_name , " % s . % s " , namespaceX , name ) ; <nl> + } else { <nl> + full_name = avro_strdup ( name ) ; <nl> + } <nl> + <nl> + save_named_schemas ( const avro_schema_t schema , st_table * st ) <nl> + { <nl> + const char * name = avro_schema_name ( schema ) ; <nl> + - const char * namespace = avro_schema_namespace ( schema ) ; <nl> + - const char * full_name = qualify_name ( name , namespace ) ; <nl> + + const char * namespaceX = avro_schema_namespace ( schema ) ; <nl> + + const char * full_name = qualify_name ( name , namespaceX ) ; <nl> + int rval = st_insert ( st , ( st_data_t ) full_name , ( st_data_t ) schema ) ; <nl> + return rval ; <nl> + } <nl> + <nl> + static avro_schema_t <nl> + - find_named_schemas ( const char * name , const char * namespace , st_table * st ) <nl> + + find_named_schemas ( const char * name , const char * namespaceX , st_table * st ) <nl> + { <nl> + union { <nl> + avro_schema_t schema ; <nl> + st_data_t data ; <nl> + } val ; <nl> + - const char * full_name = qualify_name ( name , namespace ) ; <nl> + + const char * full_name = qualify_name ( name , namespaceX ) ; <nl> + int rval = st_lookup ( st , ( st_data_t ) full_name , & ( val . data ) ) ; <nl> + avro_str_free ( ( char * ) full_name ) ; <nl> + if ( rval ) { <nl> + <nl> + static int <nl> + avro_type_from_json_t ( json_t * json , avro_type_t * type , <nl> + st_table * named_schemas , avro_schema_t * named_type , <nl> + - const char * namespace ) <nl> + + const char * namespaceX ) <nl> + { <nl> + json_t * json_type ; <nl> + const char * type_str ; <nl> + <nl> + * type = AVRO_MAP ; <nl> + } else if ( strcmp ( type_str , " fixed " ) = = 0 ) { <nl> + * type = AVRO_FIXED ; <nl> + - } else if ( ( * named_type = find_named_schemas ( type_str , namespace , named_schemas ) ) ) { <nl> + + } else if ( ( * named_type = find_named_schemas ( type_str , namespaceX , named_schemas ) ) ) { <nl> + * type = AVRO_LINK ; <nl> + } else { <nl> + avro_set_error ( " Unknown Avro \ " type \ " : % s " , type_str ) ; <nl> + <nl> + } <nl> + <nl> + if ( strchr ( fullname , ' . ' ) ) { <nl> + - char * namespace = split_namespace_name ( fullname , & name ) ; <nl> + - * schema = avro_schema_record ( name , namespace ) ; <nl> + - avro_str_free ( namespace ) ; <nl> + + char * namespaceX = split_namespace_name ( fullname , & name ) ; <nl> + + * schema = avro_schema_record ( name , namespaceX ) ; <nl> + + avro_str_free ( namespaceX ) ; <nl> + } else if ( json_is_string ( json_namespace ) ) { <nl> + - const char * namespace = json_string_value ( json_namespace ) ; <nl> + - * schema = avro_schema_record ( fullname , namespace ) ; <nl> + + const char * namespaceX = json_string_value ( json_namespace ) ; <nl> + + * schema = avro_schema_record ( fullname , namespaceX ) ; <nl> + } else { <nl> + * schema = avro_schema_record ( fullname , parent_namespace ) ; <nl> + } <nl> + <nl> + } <nl> + <nl> + if ( strchr ( fullname , ' . ' ) ) { <nl> + - char * namespace ; <nl> + - namespace = split_namespace_name ( fullname , & name ) ; <nl> + - * schema = avro_schema_enum_ns ( name , namespace ) ; <nl> + - avro_str_free ( namespace ) ; <nl> + + char * namespaceX ; <nl> + + namespaceX = split_namespace_name ( fullname , & name ) ; <nl> + + * schema = avro_schema_enum_ns ( name , namespaceX ) ; <nl> + + avro_str_free ( namespaceX ) ; <nl> + } else if ( json_is_string ( json_namespace ) ) { <nl> + - const char * namespace = json_string_value ( json_namespace ) ; <nl> + - * schema = avro_schema_enum_ns ( fullname , namespace ) ; <nl> + + const char * namespaceX = json_string_value ( json_namespace ) ; <nl> + + * schema = avro_schema_enum_ns ( fullname , namespaceX ) ; <nl> + } else { <nl> + * schema = avro_schema_enum_ns ( fullname , parent_namespace ) ; <nl> + } <nl> + <nl> + fullname = json_string_value ( json_name ) ; <nl> + <nl> + if ( strchr ( fullname , ' . ' ) ) { <nl> + - char * namespace ; <nl> + - namespace = split_namespace_name ( fullname , & name ) ; <nl> + - * schema = avro_schema_fixed_ns ( name , namespace , ( int64_t ) size ) ; <nl> + - avro_str_free ( namespace ) ; <nl> + + char * namespaceX ; <nl> + + namespaceX = split_namespace_name ( fullname , & name ) ; <nl> + + * schema = avro_schema_fixed_ns ( name , namespaceX , ( int64_t ) size ) ; <nl> + + avro_str_free ( namespaceX ) ; <nl> + } else if ( json_is_string ( json_namespace ) ) { <nl> + - const char * namespace = json_string_value ( json_namespace ) ; <nl> + - * schema = avro_schema_fixed_ns ( fullname , namespace , ( int64_t ) size ) ; <nl> + + const char * namespaceX = json_string_value ( json_namespace ) ; <nl> + + * schema = avro_schema_fixed_ns ( fullname , namespaceX , ( int64_t ) size ) ; <nl> + } else { <nl> + * schema = avro_schema_fixed_ns ( fullname , parent_namespace , ( int64_t ) size ) ; <nl> + } <nl> + <nl> + { <nl> + int rval ; <nl> + check ( rval , avro_write_str ( out , " \ " " ) ) ; <nl> + - const char * namespace = avro_schema_namespace ( link - > to ) ; <nl> + - if ( namespace & & nullstrcmp ( namespace , parent_namespace ) ) { <nl> + - check ( rval , avro_write_str ( out , namespace ) ) ; <nl> + + const char * namespaceX = avro_schema_namespace ( link - > to ) ; <nl> + + if ( namespaceX & & nullstrcmp ( namespaceX , parent_namespace ) ) { <nl> + + check ( rval , avro_write_str ( out , namespaceX ) ) ; <nl> + check ( rval , avro_write_str ( out , " . " ) ) ; <nl> + } <nl> + check ( rval , avro_write_str ( out , avro_schema_name ( link - > to ) ) ) ; <nl> + diff - ur a / lang / c / tests / test_avro_data . c b / lang / c / tests / test_avro_data . c <nl> + mmm a / lang / c / tests / test_avro_data . c 2017 - 04 - 17 19 : 56 : 17 . 000000000 - 0400 <nl> ppp + b / lang / c / tests / test_avro_data . c 2017 - 11 - 10 12 : 41 : 29 . 924190100 - 0500 <nl> + <nl> + if ( size ! = avro_writer_tell ( writer ) ) { <nl> + fprintf ( stderr , <nl> + " Unable to calculate size % s validate = % d " <nl> + - " ( % " PRId64 " ! = % " PRId64 " ) \ n % s \ n " , <nl> + + " ( % " PRId64 " ! = % " PRId64 " ) \ n % s \ n " , <nl> + type , validate , size , avro_writer_tell ( writer ) , <nl> + avro_strerror ( ) ) ; <nl> + exit ( EXIT_FAILURE ) ; <nl> + <nl> + { <nl> + char * json = NULL ; <nl> + avro_datum_to_json ( datum , 1 , & json ) ; <nl> + - if ( strcasecmp ( json , expected ) ! = 0 ) { <nl> + + if ( stricmp ( json , expected ) ! = 0 ) { <nl> + fprintf ( stderr , " Unexpected JSON encoding : % s \ n " , json ) ; <nl> + exit ( EXIT_FAILURE ) ; <nl> + } <nl> new file mode 100644 <nl> index 00000000000 . . 94fcf25ba0d <nl> mmm / dev / null <nl> ppp b / ports / avro - c / portfile . cmake <nl> <nl> + include ( vcpkg_common_functions ) <nl> + <nl> + vcpkg_from_github ( <nl> + OUT_SOURCE_PATH SOURCE_PATH <nl> + REPO apache / avro <nl> + REF release - 1 . 8 . 2 <nl> + SHA512 a48cc353aadd45ad2c8593bf89ec3f1ddb0fcd364b79dd002a60a54d49cab714b46eee8bd6dc47b13588b9eead49c754dfe05f6aff735752fca8d2cd35ae8649 <nl> + HEAD_REF master <nl> + ) <nl> + <nl> + vcpkg_apply_patches ( <nl> + SOURCE_PATH $ { SOURCE_PATH } <nl> + PATCHES <nl> + $ { CMAKE_CURRENT_LIST_DIR } / avro . patch <nl> + $ { CMAKE_CURRENT_LIST_DIR } / avro - pr - 217 . patch ) <nl> + <nl> + vcpkg_configure_cmake ( <nl> + SOURCE_PATH $ { SOURCE_PATH } / lang / c <nl> + ) <nl> + <nl> + vcpkg_install_cmake ( DISABLE_PARALLEL ) <nl> + <nl> + vcpkg_copy_pdbs ( ) <nl> + <nl> + file ( REMOVE_RECURSE $ { CURRENT_PACKAGES_DIR } / bin ) <nl> + file ( REMOVE_RECURSE $ { CURRENT_PACKAGES_DIR } / debug / bin ) <nl> + file ( REMOVE_RECURSE $ { CURRENT_PACKAGES_DIR } / debug / include ) <nl> + <nl> + file ( COPY $ { SOURCE_PATH } / lang / c / LICENSE DESTINATION $ { CURRENT_PACKAGES_DIR } / share / avro - c ) <nl> + file ( RENAME $ { CURRENT_PACKAGES_DIR } / share / avro - c / LICENSE $ { CURRENT_PACKAGES_DIR } / share / avro - c / copyright ) <nl>
Merge pull request from rosenqui / avro - c
microsoft/vcpkg
5d80c622a45f5c7649c68e887ae8c1ca97b83d33
2017-11-16T22:47:06Z
mmm a / modules / mono / glue / GodotSharp / GodotSharp / Core / StringExtensions . cs <nl> ppp b / modules / mono / glue / GodotSharp / GodotSharp / Core / StringExtensions . cs <nl> public static string Insert ( this string instance , int pos , string what ) <nl> / / < / summary > <nl> public static bool IsAbsPath ( this string instance ) <nl> { <nl> - return System . IO . Path . IsPathRooted ( instance ) ; <nl> + if ( string . IsNullOrEmpty ( instance ) ) <nl> + return false ; <nl> + else if ( instance . Length > 1 ) <nl> + return instance [ 0 ] = = ' / ' | | instance [ 0 ] = = ' \ \ ' | | instance . Contains ( " : / " ) | | instance . Contains ( " : \ \ " ) ; <nl> + else <nl> + return instance [ 0 ] = = ' / ' | | instance [ 0 ] = = ' \ \ ' ; <nl> } <nl> <nl> / / < summary > <nl> public static bool IsAbsPath ( this string instance ) <nl> / / < / summary > <nl> public static bool IsRelPath ( this string instance ) <nl> { <nl> - return ! System . IO . Path . IsPathRooted ( instance ) ; <nl> + return ! IsAbsPath ( instance ) ; <nl> } <nl> <nl> / / < summary > <nl>
Fix C # string . IsAbsPath ( )
godotengine/godot
b5eea5cfd426115969d3382505a508cc866959ba
2020-09-23T05:53:35Z
mmm a / lib / IRGen / GenDecl . cpp <nl> ppp b / lib / IRGen / GenDecl . cpp <nl> IRGenModule : : getAddrOfTypeMetadataSingletonInitializationCache ( <nl> return variable ; <nl> } <nl> <nl> + llvm : : GlobalValue * IRGenModule : : defineAlias ( LinkEntity entity , <nl> + llvm : : Constant * definition ) { <nl> + / / Check for an existing forward declaration of the alias . <nl> + auto & entry = GlobalVars [ entity ] ; <nl> + llvm : : GlobalValue * existingVal = nullptr ; <nl> + if ( entry ) { <nl> + existingVal = cast < llvm : : GlobalValue > ( entry ) ; <nl> + / / Clear the existing value ' s name so we can steal it . <nl> + existingVal - > setName ( " " ) ; <nl> + } <nl> + <nl> + LinkInfo link = LinkInfo : : get ( * this , entity , ForDefinition ) ; <nl> + auto * ptrTy = cast < llvm : : PointerType > ( definition - > getType ( ) ) ; <nl> + auto * alias = llvm : : GlobalAlias : : create ( <nl> + ptrTy - > getElementType ( ) , ptrTy - > getAddressSpace ( ) , link . getLinkage ( ) , <nl> + link . getName ( ) , definition , & Module ) ; <nl> + alias - > setVisibility ( link . getVisibility ( ) ) ; <nl> + alias - > setDLLStorageClass ( link . getDLLStorage ( ) ) ; <nl> + <nl> + if ( link . isUsed ( ) ) { <nl> + addUsedGlobal ( alias ) ; <nl> + } <nl> + <nl> + / / Replace an existing external declaration for the address point . <nl> + if ( entry ) { <nl> + auto existingVal = cast < llvm : : GlobalValue > ( entry ) ; <nl> + <nl> + / / FIXME : MC breaks when emitting alias references on some platforms <nl> + / / ( rdar : / / problem / 22450593 ) . Work around this by referring to the aliasee <nl> + / / instead . <nl> + llvm : : Constant * aliasCast = alias - > getAliasee ( ) ; <nl> + aliasCast = llvm : : ConstantExpr : : getBitCast ( aliasCast , <nl> + entry - > getType ( ) ) ; <nl> + existingVal - > replaceAllUsesWith ( aliasCast ) ; <nl> + existingVal - > eraseFromParent ( ) ; <nl> + } <nl> + entry = alias ; <nl> + <nl> + return alias ; <nl> + } <nl> + <nl> / / / Define the metadata for a type . <nl> / / / <nl> / / / Some type metadata has information before the address point that the <nl> llvm : : GlobalValue * IRGenModule : : defineTypeMetadata ( CanType concreteType , <nl> if ( ! section . empty ( ) ) <nl> var - > setSection ( section ) ; <nl> <nl> + LinkInfo link = LinkInfo : : get ( * this , entity , ForDefinition ) ; <nl> + if ( link . isUsed ( ) ) <nl> + addUsedGlobal ( var ) ; <nl> + <nl> / / Keep type metadata around for all types . <nl> if ( auto nominal = concreteType - > getAnyNominal ( ) ) <nl> addRuntimeResolvableType ( nominal ) ; <nl> llvm : : GlobalValue * IRGenModule : : defineTypeMetadata ( CanType concreteType , <nl> addr , indices ) ; <nl> } <nl> addr = llvm : : ConstantExpr : : getBitCast ( addr , TypeMetadataPtrTy ) ; <nl> - <nl> - / / Check for an existing forward declaration of the address point . <nl> - auto & directEntry = GlobalVars [ directEntity ] ; <nl> - llvm : : GlobalValue * existingVal = nullptr ; <nl> - if ( directEntry ) { <nl> - existingVal = cast < llvm : : GlobalValue > ( directEntry ) ; <nl> - / / Clear the existing value ' s name so we can steal it . <nl> - existingVal - > setName ( " " ) ; <nl> - } <nl> - <nl> - LinkInfo link = LinkInfo : : get ( * this , directEntity , ForDefinition ) ; <nl> - auto * ptrTy = cast < llvm : : PointerType > ( addr - > getType ( ) ) ; <nl> - auto * alias = llvm : : GlobalAlias : : create ( <nl> - ptrTy - > getElementType ( ) , ptrTy - > getAddressSpace ( ) , link . getLinkage ( ) , <nl> - link . getName ( ) , addr , & Module ) ; <nl> - alias - > setVisibility ( link . getVisibility ( ) ) ; <nl> - alias - > setDLLStorageClass ( link . getDLLStorage ( ) ) ; <nl> - <nl> - / / The full metadata is used based on the visibility of the address point , <nl> - / / not the metadata itself . <nl> - if ( link . isUsed ( ) ) { <nl> - addUsedGlobal ( var ) ; <nl> - addUsedGlobal ( alias ) ; <nl> - } <nl> - <nl> - / / Replace an existing external declaration for the address point . <nl> - if ( directEntry ) { <nl> - auto existingVal = cast < llvm : : GlobalValue > ( directEntry ) ; <nl> - <nl> - / / FIXME : MC breaks when emitting alias references on some platforms <nl> - / / ( rdar : / / problem / 22450593 ) . Work around this by referring to the aliasee <nl> - / / instead . <nl> - llvm : : Constant * aliasCast = alias - > getAliasee ( ) ; <nl> - aliasCast = llvm : : ConstantExpr : : getBitCast ( aliasCast , <nl> - directEntry - > getType ( ) ) ; <nl> - existingVal - > replaceAllUsesWith ( aliasCast ) ; <nl> - existingVal - > eraseFromParent ( ) ; <nl> - } <nl> - directEntry = alias ; <nl> - <nl> - return alias ; <nl> + return defineAlias ( directEntity , addr ) ; <nl> } <nl> <nl> / / / Fetch the declaration of the metadata ( or metadata template ) for a <nl> mmm a / lib / IRGen / IRGenModule . h <nl> ppp b / lib / IRGen / IRGenModule . h <nl> private : \ <nl> ForDefinition_t forDefinition ) ; <nl> <nl> llvm : : Function * emitDispatchThunk ( SILDeclRef declRef ) ; <nl> + <nl> + llvm : : GlobalValue * defineAlias ( LinkEntity entity , <nl> + llvm : : Constant * definition ) ; <nl> + <nl> Address getAddrOfEnumCase ( EnumElementDecl * Case , <nl> ForDefinition_t forDefinition ) ; <nl> Address getAddrOfFieldOffset ( VarDecl * D , ForDefinition_t forDefinition ) ; <nl>
IRGen : Factor out part of defineTypeMetadata ( )
apple/swift
dd19b69bc48d81602ec4a751d9e6808476601a49
2018-08-31T06:20:38Z
mmm a / include / rapidjson / reader . h <nl> ppp b / include / rapidjson / reader . h <nl> class GenericReader { <nl> RAPIDJSON_FORCEINLINE Ch Peek ( ) const { return is . Peek ( ) ; } <nl> RAPIDJSON_FORCEINLINE Ch TakePush ( ) { return is . Take ( ) ; } <nl> RAPIDJSON_FORCEINLINE Ch Take ( ) { return is . Take ( ) ; } <nl> + RAPIDJSON_FORCEINLINE void Push ( char c ) { } <nl> + <nl> size_t Tell ( ) { return is . Tell ( ) ; } <nl> size_t Length ( ) { return 0 ; } <nl> const char * Pop ( ) { return 0 ; } <nl> class GenericReader { <nl> return Base : : is . Take ( ) ; <nl> } <nl> <nl> + RAPIDJSON_FORCEINLINE void Push ( char c ) { <nl> + stackStream . Put ( c ) ; <nl> + } <nl> + <nl> size_t Length ( ) { return stackStream . Length ( ) ; } <nl> <nl> const char * Pop ( ) { <nl>
Added NumberStream : : Push ( )
Tencent/rapidjson
7d4891e243147ab523bb89489165a283b6872a5d
2016-02-29T15:11:31Z
mmm a / libraries / chain / controller . cpp <nl> ppp b / libraries / chain / controller . cpp <nl> struct controller_impl { <nl> bool trust = ! conf . force_all_checks & & ( s = = controller : : block_status : : irreversible | | s = = controller : : block_status : : validated ) ; <nl> auto new_header_state = fork_db . add ( b , trust ) ; <nl> emit ( self . accepted_block_header , new_header_state ) ; <nl> + / / on replay irreversible is not emitted by fork database , so emit it explicitly here <nl> + if ( s = = controller : : block_status : : irreversible ) <nl> + emit ( self . irreversible_block , new_header_state ) ; <nl> <nl> if ( read_mode ! = db_read_mode : : IRREVERSIBLE ) { <nl> maybe_switch_forks ( s ) ; <nl>
Emit irreverisble_block signal on replay
EOSIO/eos
e50df6d47300c06780c0fdc5fadd348c2988caff
2018-07-11T19:38:02Z
mmm a / editor / plugins / particles_2d_editor_plugin . cpp <nl> ppp b / editor / plugins / particles_2d_editor_plugin . cpp <nl> void Particles2DEditorPlugin : : _menu_callback ( int p_idx ) { <nl> UndoRedo * ur = EditorNode : : get_singleton ( ) - > get_undo_redo ( ) ; <nl> ur - > create_action ( TTR ( " Convert to CPUParticles " ) ) ; <nl> ur - > add_do_method ( EditorNode : : get_singleton ( ) - > get_scene_tree_dock ( ) , " replace_node " , particles , cpu_particles , true , false ) ; <nl> - ur - > add_do_reference ( particles ) ; <nl> + ur - > add_do_reference ( cpu_particles ) ; <nl> ur - > add_undo_method ( EditorNode : : get_singleton ( ) - > get_scene_tree_dock ( ) , " replace_node " , cpu_particles , particles , false , false ) ; <nl> - ur - > add_undo_reference ( this ) ; <nl> + ur - > add_undo_reference ( particles ) ; <nl> ur - > commit_action ( ) ; <nl> <nl> } break ; <nl> mmm a / editor / plugins / particles_editor_plugin . cpp <nl> ppp b / editor / plugins / particles_editor_plugin . cpp <nl> void ParticlesEditor : : _menu_option ( int p_option ) { <nl> UndoRedo * ur = EditorNode : : get_singleton ( ) - > get_undo_redo ( ) ; <nl> ur - > create_action ( TTR ( " Convert to CPUParticles " ) ) ; <nl> ur - > add_do_method ( EditorNode : : get_singleton ( ) - > get_scene_tree_dock ( ) , " replace_node " , node , cpu_particles , true , false ) ; <nl> - ur - > add_do_reference ( node ) ; <nl> + ur - > add_do_reference ( cpu_particles ) ; <nl> ur - > add_undo_method ( EditorNode : : get_singleton ( ) - > get_scene_tree_dock ( ) , " replace_node " , cpu_particles , node , false , false ) ; <nl> - ur - > add_undo_reference ( this ) ; <nl> + ur - > add_undo_reference ( node ) ; <nl> ur - > commit_action ( ) ; <nl> <nl> } break ; <nl>
Merge pull request from akien - mga / fix - undo - convert - cpuparticles
godotengine/godot
1cb2b682ab72e2c457b54fdf63628bc1db126c7d
2019-06-24T10:40:23Z
mmm a / lib / SILPasses / COWArrayOpt . cpp <nl> ppp b / lib / SILPasses / COWArrayOpt . cpp <nl> bool COWArrayOpt : : checkSafeArrayValueUses ( UserList & ArrayValueUsers ) { <nl> / / / set is necessary . <nl> bool COWArrayOpt : : checkSafeArrayElementUse ( SILInstruction * UseInst , <nl> SILValue ArrayVal ) { <nl> - if ( isa < RetainValueInst > ( UseInst ) & & <nl> + if ( ( isa < RetainValueInst > ( UseInst ) | | isa < StrongRetainInst > ( UseInst ) ) & & <nl> isRetainReleasedBeforeMutate ( UseInst , ArrayVal ) ) <nl> return true ; <nl> <nl>
COWArrayOpt : We could ( and are now ) also use a strong retain on the array storage
apple/swift
e6c44a377b468d836edb3c8bf8c74bd1a2ef2039
2014-10-29T01:56:14Z
mmm a / Dockerfile <nl> ppp b / Dockerfile <nl> WORKDIR / DeepSpeech / <nl> RUN pip3 install tensorflow - gpu = = 1 . 15 . 0 <nl> <nl> <nl> - # Make DeepSpeech and install Python bindings <nl> + # Build client . cc and install Python client and decoder bindings <nl> ENV TFDIR / tensorflow <nl> WORKDIR / DeepSpeech / native_client <nl> RUN make deepspeech <nl> - WORKDIR / DeepSpeech / native_client / python <nl> - RUN make bindings <nl> - RUN pip3 install - - upgrade dist / deepspeech * <nl> - WORKDIR / DeepSpeech / native_client / ctcdecode <nl> - RUN make bindings <nl> - RUN pip3 install - - upgrade dist / * . whl <nl> + <nl> + WORKDIR / DeepSpeech <nl> + RUN cd native_client / python & & make bindings <nl> + RUN pip3 install - - upgrade native_client / python / dist / * . whl <nl> + <nl> + RUN cd native_client / ctcdecode & & make bindings <nl> + RUN pip3 install - - upgrade native_client / ctcdecode / dist / * . whl <nl> <nl> <nl> # < < END Build and bind <nl> deleted file mode 100644 <nl> index 1e8b31496 . . 000000000 <nl> mmm a / GRAPH_VERSION <nl> ppp / dev / null <nl> @ @ - 1 + 0 , 0 @ @ <nl> - 6 <nl> new file mode 120000 <nl> index 000000000 . . b9a658152 <nl> mmm / dev / null <nl> ppp b / GRAPH_VERSION <nl> @ @ - 0 , 0 + 1 @ @ <nl> + training / deepspeech_training / GRAPH_VERSION <nl> \ No newline at end of file <nl> deleted file mode 100644 <nl> index f38fc5393 . . 000000000 <nl> mmm a / VERSION <nl> ppp / dev / null <nl> @ @ - 1 + 0 , 0 @ @ <nl> - 0 . 7 . 3 <nl> new file mode 120000 <nl> index 000000000 . . 8a3ed2425 <nl> mmm / dev / null <nl> ppp b / VERSION <nl> @ @ - 0 , 0 + 1 @ @ <nl> + training / deepspeech_training / VERSION <nl> \ No newline at end of file <nl> mmm a / native_client / bazel_workspace_status_cmd . sh <nl> ppp b / native_client / bazel_workspace_status_cmd . sh <nl> echo " STABLE_TF_GIT_VERSION $ { tf_git_rev } " <nl> pushd $ ( dirname " $ 0 " ) <nl> ds_git_rev = $ ( git describe - - long - - tags ) <nl> echo " STABLE_DS_GIT_VERSION $ { ds_git_rev } " <nl> - ds_version = $ ( cat . . / VERSION ) <nl> + ds_version = $ ( cat . . / training / deepspeech_training / VERSION ) <nl> echo " STABLE_DS_VERSION $ { ds_version } " <nl> - ds_graph_version = $ ( cat . . / GRAPH_VERSION ) <nl> + ds_graph_version = $ ( cat . . / training / deepspeech_training / GRAPH_VERSION ) <nl> echo " STABLE_DS_GRAPH_VERSION $ { ds_graph_version } " <nl> popd <nl> mmm a / native_client / ctcdecode / setup . py <nl> ppp b / native_client / ctcdecode / setup . py <nl> def maybe_rebuild ( srcs , out_name , build_dir ) : <nl> num_parallel = known_args . num_processes , <nl> debug = debug ) <nl> <nl> - project_version = read ( ' . . / . . / VERSION ' ) . strip ( ) <nl> + project_version = read ( ' . . / . . / training / deepspeech_training / VERSION ' ) . strip ( ) <nl> <nl> build_dir = ' temp_build / temp_build ' <nl> <nl> mmm a / native_client / javascript / Makefile <nl> ppp b / native_client / javascript / Makefile <nl> NODE_ABI_TARGET ? = <nl> NODE_BUILD_VERBOSE ? = - - verbose <nl> NPM_TOOL ? = npm <nl> PROJECT_NAME ? = deepspeech <nl> - PROJECT_VERSION ? = $ ( shell cat . . / . . / VERSION | tr - d ' \ n ' ) <nl> + PROJECT_VERSION ? = $ ( shell cat . . / . . / training / deepspeech_training / VERSION | tr - d ' \ n ' ) <nl> NPM_ROOT ? = $ ( shell npm root ) <nl> <nl> NODE_MODULES_BIN ? = $ ( NPM_ROOT ) / . bin / <nl> mmm a / native_client / python / setup . py <nl> ppp b / native_client / python / setup . py <nl> def read ( fname ) : <nl> sys . argv . remove ( ' - - project_name ' ) <nl> sys . argv . pop ( project_name_idx ) <nl> <nl> - with open ( ' . . / . . / VERSION ' , ' r ' ) as ver : <nl> + with open ( ' . . / . . / training / deepspeech_training / VERSION ' , ' r ' ) as ver : <nl> project_version = ver . read ( ) . strip ( ) <nl> <nl> class BuildExtFirst ( build ) : <nl> mmm a / taskcluster / tc - all - vars . sh <nl> ppp b / taskcluster / tc - all - vars . sh <nl> export DS_TFDIR = $ { DS_ROOT_TASK } / DeepSpeech / tf <nl> export DS_DSDIR = $ { DS_ROOT_TASK } / DeepSpeech / ds <nl> export DS_EXAMPLEDIR = $ { DS_ROOT_TASK } / DeepSpeech / examples <nl> <nl> - export DS_VERSION = " $ ( cat $ { DS_DSDIR } / VERSION ) " <nl> + export DS_VERSION = " $ ( cat $ { DS_DSDIR } / training / deepspeech_training / VERSION ) " <nl> <nl> export GRADLE_USER_HOME = $ { DS_ROOT_TASK } / gradle - cache <nl> export ANDROID_SDK_HOME = $ { DS_ROOT_TASK } / DeepSpeech / Android / SDK / <nl> deleted file mode 120000 <nl> index bef0a41b8 . . 000000000 <nl> mmm a / training / deepspeech_training / GRAPH_VERSION <nl> ppp / dev / null <nl> @ @ - 1 + 0 , 0 @ @ <nl> - . . / . . / GRAPH_VERSION <nl> \ No newline at end of file <nl> new file mode 100644 <nl> index 000000000 . . 1e8b31496 <nl> mmm / dev / null <nl> ppp b / training / deepspeech_training / GRAPH_VERSION <nl> @ @ - 0 , 0 + 1 @ @ <nl> + 6 <nl> deleted file mode 120000 <nl> index 558194c5a . . 000000000 <nl> mmm a / training / deepspeech_training / VERSION <nl> ppp / dev / null <nl> @ @ - 1 + 0 , 0 @ @ <nl> - . . / . . / VERSION <nl> \ No newline at end of file <nl> new file mode 100644 <nl> index 000000000 . . f38fc5393 <nl> mmm / dev / null <nl> ppp b / training / deepspeech_training / VERSION <nl> @ @ - 0 , 0 + 1 @ @ <nl> + 0 . 7 . 3 <nl>
Merge pull request from mozilla / version - not - symlink
mozilla/DeepSpeech
572963e7bd5c12f0355b5816bb4c9600b71e8dbe
2020-06-08T12:34:28Z
mmm a / src / net . cpp <nl> ppp b / src / net . cpp <nl> class CNetCleanup <nl> delete pnode ; <nl> vNodes . clear ( ) ; <nl> vNodesDisconnected . clear ( ) ; <nl> + vhListenSocket . clear ( ) ; <nl> delete semOutbound ; <nl> semOutbound = NULL ; <nl> delete pnodeLocalHost ; <nl>
add missing vhListenSocket . clear ( ) ; to CNetCleanup ( )
bitcoin/bitcoin
3dc1464f0a87e26f3aa39c446eb4d102a8c84dc2
2014-06-22T12:52:38Z
mmm a / dbms / src / Compression / CompressionCodecDelta . cpp <nl> ppp b / dbms / src / Compression / CompressionCodecDelta . cpp <nl> void CompressionCodecDelta : : doDecompressData ( const char * source , UInt32 source_ <nl> UInt8 bytes_size = source [ 0 ] ; <nl> UInt8 bytes_to_skip = uncompressed_size % bytes_size ; <nl> <nl> - if ( 2 + bytes_to_skip > source_size ) <nl> + if ( UInt32 ( 2 + bytes_to_skip ) > source_size ) <nl> throw Exception ( " Cannot decompress . File has wrong header " , ErrorCodes : : CANNOT_DECOMPRESS ) ; <nl> <nl> memcpy ( dest , & source [ 2 ] , bytes_to_skip ) ; <nl> mmm a / dbms / src / Compression / CompressionCodecDoubleDelta . cpp <nl> ppp b / dbms / src / Compression / CompressionCodecDoubleDelta . cpp <nl> void CompressionCodecDoubleDelta : : doDecompressData ( const char * source , UInt32 s <nl> UInt8 bytes_size = source [ 0 ] ; <nl> UInt8 bytes_to_skip = uncompressed_size % bytes_size ; <nl> <nl> - if ( 2 + bytes_to_skip > source_size ) <nl> + if ( UInt32 ( 2 + bytes_to_skip ) > source_size ) <nl> throw Exception ( " Cannot decompress . File has wrong header " , ErrorCodes : : CANNOT_DECOMPRESS ) ; <nl> <nl> memcpy ( dest , & source [ 2 ] , bytes_to_skip ) ; <nl> mmm a / dbms / src / Compression / CompressionCodecGorilla . cpp <nl> ppp b / dbms / src / Compression / CompressionCodecGorilla . cpp <nl> void CompressionCodecGorilla : : doDecompressData ( const char * source , UInt32 sourc <nl> UInt8 bytes_size = source [ 0 ] ; <nl> UInt8 bytes_to_skip = uncompressed_size % bytes_size ; <nl> <nl> - if ( 2 + bytes_to_skip > source_size ) <nl> + if ( UInt32 ( 2 + bytes_to_skip ) > source_size ) <nl> throw Exception ( " Cannot decompress . File has wrong header " , ErrorCodes : : CANNOT_DECOMPRESS ) ; <nl> <nl> memcpy ( dest , & source [ 2 ] , bytes_to_skip ) ; <nl>
fix build
ClickHouse/ClickHouse
12084270dedecbc6e9856eaa0ae5e2f9a7e1bded
2019-08-26T16:58:40Z
mmm a / xbmc / utils / Variant . cpp <nl> ppp b / xbmc / utils / Variant . cpp <nl> void CVariant : : erase ( unsigned int position ) <nl> if ( isArray ( ) & & position < size ( ) ) <nl> m_data . array - > erase ( m_data . array - > begin ( ) + position ) ; <nl> } <nl> + <nl> + bool CVariant : : isMember ( string key ) const <nl> + { <nl> + if ( m_type = = VariantTypeObject ) <nl> + return m_data . map - > find ( key ) ! = m_data . map - > end ( ) ; <nl> + <nl> + return false ; <nl> + } <nl> mmm a / xbmc / utils / Variant . h <nl> ppp b / xbmc / utils / Variant . h <nl> class CVariant <nl> void erase ( std : : string key ) ; <nl> void erase ( unsigned int position ) ; <nl> <nl> + bool isMember ( std : : string key ) const ; <nl> + <nl> void toJsonValue ( Json : : Value & value ) const ; <nl> private : <nl> VariantType m_type ; <nl>
Added isMember to CVariant
xbmc/xbmc
f55b74c0a1cfdedc7ef827117eec4306c65c57f5
2011-05-17T18:05:35Z
new file mode 100644 <nl> index 000000000 . . 498baa3fb <nl> mmm / dev / null <nl> ppp b / CODE_OF_CONDUCT . md <nl> <nl> + # Community Participation Guidelines <nl> + <nl> + This repository is governed by Mozilla ' s code of conduct and etiquette guidelines . <nl> + For more details , please read the <nl> + [ Mozilla Community Participation Guidelines ] ( https : / / www . mozilla . org / about / governance / policies / participation / ) . <nl> + <nl> + # # How to Report <nl> + For more information on how to report violations of the Community Participation Guidelines , please read our ' [ How to Report ] ( https : / / www . mozilla . org / about / governance / policies / participation / reporting / ) ' page . <nl> + <nl> + < ! - - <nl> + # # Project Specific Etiquette <nl> + <nl> + In some cases , there will be additional project etiquette i . e . : ( https : / / bugzilla . mozilla . org / page . cgi ? id = etiquette . html ) . <nl> + Please update for your project . <nl> + - - > <nl>
Add Mozilla Code of Conduct file
mozilla/DeepSpeech
1f7babda1a33354ca9a07a33a6ce4baa124b1e24
2019-03-29T21:58:39Z
mmm a / bindings / c / CMakeLists . txt <nl> ppp b / bindings / c / CMakeLists . txt <nl> endif ( ) <nl> # generate_export_header ( fdb_c EXPORT_MACRO_NAME " DLLEXPORT " <nl> # EXPORT_FILE_NAME $ { CMAKE_CURRENT_BINARY_DIR } / foundationdb / fdb_c_export . h ) <nl> fdb_install ( TARGETS fdb_c <nl> - EXPORT fdbc <nl> DESTINATION lib <nl> COMPONENT clients ) <nl> fdb_install ( <nl> mmm a / cmake / InstallLayout . cmake <nl> ppp b / cmake / InstallLayout . cmake <nl> endfunction ( ) <nl> <nl> function ( fdb_install ) <nl> if ( NOT WIN32 AND NOT OPEN_FOR_IDE ) <nl> - set ( options EXPORT ) <nl> set ( one_value_options COMPONENT DESTINATION ) <nl> set ( multi_value_options TARGETS FILES DIRECTORY ) <nl> cmake_parse_arguments ( IN " $ { options } " " $ { one_value_options } " " $ { multi_value_options } " " $ { ARGN } " ) <nl> function ( fdb_install ) <nl> else ( ) <nl> message ( FATAL_ERROR " Expected FILES or TARGETS " ) <nl> endif ( ) <nl> - if ( IN_EXPORT ) <nl> - set ( args EXPORT ) <nl> - endif ( ) <nl> if ( " $ { IN_DESTINATION } " STREQUAL " bin " ) <nl> install ( $ { args } DESTINATION " bin " COMPONENT " $ { IN_COMPONENT } - tgz " ) <nl> install ( $ { args } DESTINATION " usr / bin " COMPONENT " $ { IN_COMPONENT } - deb " ) <nl>
Remove EXPORT since it ' s broken and unnecessary
apple/foundationdb
fdde63bbdb1f671bdca9662f96452339a0d467e6
2019-03-19T23:28:42Z
mmm a / src / core / CMakeLists . txt <nl> ppp b / src / core / CMakeLists . txt <nl> add_library ( core STATIC <nl> hle / kernel / memory / page_linked_list . h <nl> hle / kernel / memory / page_heap . cpp <nl> hle / kernel / memory / page_heap . h <nl> + hle / kernel / memory / page_table . cpp <nl> + hle / kernel / memory / page_table . h <nl> hle / kernel / memory / slab_heap . h <nl> hle / kernel / memory / system_control . cpp <nl> hle / kernel / memory / system_control . h <nl> new file mode 100644 <nl> index 00000000000 . . 01f9e99eb9a <nl> mmm / dev / null <nl> ppp b / src / core / hle / kernel / memory / page_table . cpp <nl> <nl> + / / Copyright 2020 yuzu Emulator Project <nl> + / / Licensed under GPLv2 or any later version <nl> + / / Refer to the license . txt file included . <nl> + <nl> + # include " common / alignment . h " <nl> + # include " common / assert . h " <nl> + # include " common / scope_exit . h " <nl> + # include " core / core . h " <nl> + # include " core / device_memory . h " <nl> + # include " core / hle / kernel / errors . h " <nl> + # include " core / hle / kernel / kernel . h " <nl> + # include " core / hle / kernel / memory / address_space_info . h " <nl> + # include " core / hle / kernel / memory / memory_block . h " <nl> + # include " core / hle / kernel / memory / memory_block_manager . h " <nl> + # include " core / hle / kernel / memory / page_linked_list . h " <nl> + # include " core / hle / kernel / memory / page_table . h " <nl> + # include " core / hle / kernel / memory / system_control . h " <nl> + # include " core / hle / kernel / process . h " <nl> + # include " core / hle / kernel / resource_limit . h " <nl> + # include " core / memory . h " <nl> + <nl> + namespace Kernel : : Memory { <nl> + <nl> + namespace { <nl> + <nl> + constexpr std : : size_t GetAddressSpaceWidthFromType ( FileSys : : ProgramAddressSpaceType as_type ) { <nl> + switch ( as_type ) { <nl> + case FileSys : : ProgramAddressSpaceType : : Is32Bit : <nl> + case FileSys : : ProgramAddressSpaceType : : Is32BitNoMap : <nl> + return 32 ; <nl> + case FileSys : : ProgramAddressSpaceType : : Is36Bit : <nl> + return 36 ; <nl> + case FileSys : : ProgramAddressSpaceType : : Is39Bit : <nl> + return 39 ; <nl> + default : <nl> + UNREACHABLE ( ) ; <nl> + return { } ; <nl> + } <nl> + } <nl> + <nl> + constexpr u64 GetAddressInRange ( const MemoryInfo & info , VAddr addr ) { <nl> + if ( info . GetAddress ( ) < addr ) { <nl> + return addr ; <nl> + } <nl> + return info . GetAddress ( ) ; <nl> + } <nl> + <nl> + constexpr std : : size_t GetSizeInRange ( const MemoryInfo & info , VAddr start , VAddr end ) { <nl> + std : : size_t size { info . GetSize ( ) } ; <nl> + if ( info . GetAddress ( ) < start ) { <nl> + size - = start - info . GetAddress ( ) ; <nl> + } <nl> + if ( info . GetEndAddress ( ) > end ) { <nl> + size - = info . GetEndAddress ( ) - end ; <nl> + } <nl> + return size ; <nl> + } <nl> + <nl> + } / / namespace <nl> + <nl> + PageTable : : PageTable ( Core : : System & system ) : system { system } { } <nl> + <nl> + ResultCode PageTable : : InitializeForProcess ( FileSys : : ProgramAddressSpaceType as_type , <nl> + bool enable_aslr , VAddr code_addr , std : : size_t code_size , <nl> + Memory : : MemoryManager : : Pool pool ) { <nl> + <nl> + const auto GetSpaceStart = [ & ] ( AddressSpaceInfo : : Type type ) { <nl> + return AddressSpaceInfo : : GetAddressSpaceStart ( address_space_width , type ) ; <nl> + } ; <nl> + const auto GetSpaceSize = [ & ] ( AddressSpaceInfo : : Type type ) { <nl> + return AddressSpaceInfo : : GetAddressSpaceSize ( address_space_width , type ) ; <nl> + } ; <nl> + <nl> + / / Set our width and heap / alias sizes <nl> + address_space_width = GetAddressSpaceWidthFromType ( as_type ) ; <nl> + const VAddr start = 0 ; <nl> + const VAddr end { 1ULL < < address_space_width } ; <nl> + std : : size_t alias_region_size { GetSpaceSize ( AddressSpaceInfo : : Type : : Alias ) } ; <nl> + std : : size_t heap_region_size { GetSpaceSize ( AddressSpaceInfo : : Type : : Heap ) } ; <nl> + <nl> + ASSERT ( start < = code_addr ) ; <nl> + ASSERT ( code_addr < code_addr + code_size ) ; <nl> + ASSERT ( code_addr + code_size - 1 < = end - 1 ) ; <nl> + <nl> + / / Adjust heap / alias size if we don ' t have an alias region <nl> + if ( as_type = = FileSys : : ProgramAddressSpaceType : : Is32BitNoMap ) { <nl> + heap_region_size + = alias_region_size ; <nl> + alias_region_size = 0 ; <nl> + } <nl> + <nl> + / / Set code regions and determine remaining <nl> + constexpr std : : size_t RegionAlignment { 2 * 1024 * 1024 } ; <nl> + VAddr process_code_start { } ; <nl> + VAddr process_code_end { } ; <nl> + std : : size_t stack_region_size { } ; <nl> + std : : size_t kernel_map_region_size { } ; <nl> + <nl> + if ( address_space_width = = 39 ) { <nl> + alias_region_size = GetSpaceSize ( AddressSpaceInfo : : Type : : Alias ) ; <nl> + heap_region_size = GetSpaceSize ( AddressSpaceInfo : : Type : : Heap ) ; <nl> + stack_region_size = GetSpaceSize ( AddressSpaceInfo : : Type : : Stack ) ; <nl> + kernel_map_region_size = GetSpaceSize ( AddressSpaceInfo : : Type : : Is32Bit ) ; <nl> + code_region_start = GetSpaceStart ( AddressSpaceInfo : : Type : : Large64Bit ) ; <nl> + code_region_end = code_region_start + GetSpaceSize ( AddressSpaceInfo : : Type : : Large64Bit ) ; <nl> + alias_code_region_start = code_region_start ; <nl> + alias_code_region_end = code_region_end ; <nl> + process_code_start = Common : : AlignDown ( code_addr , RegionAlignment ) ; <nl> + process_code_end = Common : : AlignUp ( code_addr + code_size , RegionAlignment ) ; <nl> + } else { <nl> + stack_region_size = 0 ; <nl> + kernel_map_region_size = 0 ; <nl> + code_region_start = GetSpaceStart ( AddressSpaceInfo : : Type : : Is32Bit ) ; <nl> + code_region_end = code_region_start + GetSpaceSize ( AddressSpaceInfo : : Type : : Is32Bit ) ; <nl> + stack_region_start = code_region_start ; <nl> + alias_code_region_start = code_region_start ; <nl> + alias_code_region_end = GetSpaceStart ( AddressSpaceInfo : : Type : : Small64Bit ) + <nl> + GetSpaceSize ( AddressSpaceInfo : : Type : : Small64Bit ) ; <nl> + stack_region_end = code_region_end ; <nl> + kernel_map_region_start = code_region_start ; <nl> + kernel_map_region_end = code_region_end ; <nl> + process_code_start = code_region_start ; <nl> + process_code_end = code_region_end ; <nl> + } <nl> + <nl> + / / Set other basic fields <nl> + is_aslr_enabled = enable_aslr ; <nl> + address_space_start = start ; <nl> + address_space_end = end ; <nl> + is_kernel = false ; <nl> + <nl> + / / Determine the region we can place our undetermineds in <nl> + VAddr alloc_start { } ; <nl> + std : : size_t alloc_size { } ; <nl> + if ( ( process_code_start - code_region_start ) > = ( end - process_code_end ) ) { <nl> + alloc_start = code_region_start ; <nl> + alloc_size = process_code_start - code_region_start ; <nl> + } else { <nl> + alloc_start = process_code_end ; <nl> + alloc_size = end - process_code_end ; <nl> + } <nl> + const std : : size_t needed_size { <nl> + ( alias_region_size + heap_region_size + stack_region_size + kernel_map_region_size ) } ; <nl> + if ( alloc_size < needed_size ) { <nl> + UNREACHABLE ( ) ; <nl> + return ERR_OUT_OF_MEMORY ; <nl> + } <nl> + <nl> + const std : : size_t remaining_size { alloc_size - needed_size } ; <nl> + <nl> + / / Determine random placements for each region <nl> + std : : size_t alias_rnd { } , heap_rnd { } , stack_rnd { } , kmap_rnd { } ; <nl> + if ( enable_aslr ) { <nl> + alias_rnd = SystemControl : : GenerateRandomRange ( 0 , remaining_size / RegionAlignment ) * <nl> + RegionAlignment ; <nl> + heap_rnd = SystemControl : : GenerateRandomRange ( 0 , remaining_size / RegionAlignment ) * <nl> + RegionAlignment ; <nl> + stack_rnd = SystemControl : : GenerateRandomRange ( 0 , remaining_size / RegionAlignment ) * <nl> + RegionAlignment ; <nl> + kmap_rnd = SystemControl : : GenerateRandomRange ( 0 , remaining_size / RegionAlignment ) * <nl> + RegionAlignment ; <nl> + } <nl> + <nl> + / / Setup heap and alias regions <nl> + alias_region_start = alloc_start + alias_rnd ; <nl> + alias_region_end = alias_region_start + alias_region_size ; <nl> + heap_region_start = alloc_start + heap_rnd ; <nl> + heap_region_end = heap_region_start + heap_region_size ; <nl> + <nl> + if ( alias_rnd < = heap_rnd ) { <nl> + heap_region_start + = alias_region_size ; <nl> + heap_region_end + = alias_region_size ; <nl> + } else { <nl> + alias_region_start + = heap_region_size ; <nl> + alias_region_end + = heap_region_size ; <nl> + } <nl> + <nl> + / / Setup stack region <nl> + if ( stack_region_size ) { <nl> + stack_region_start = alloc_start + stack_rnd ; <nl> + stack_region_end = stack_region_start + stack_region_size ; <nl> + <nl> + if ( alias_rnd < stack_rnd ) { <nl> + stack_region_start + = alias_region_size ; <nl> + stack_region_end + = alias_region_size ; <nl> + } else { <nl> + alias_region_start + = stack_region_size ; <nl> + alias_region_end + = stack_region_size ; <nl> + } <nl> + <nl> + if ( heap_rnd < stack_rnd ) { <nl> + stack_region_start + = heap_region_size ; <nl> + stack_region_end + = heap_region_size ; <nl> + } else { <nl> + heap_region_start + = stack_region_size ; <nl> + heap_region_end + = stack_region_size ; <nl> + } <nl> + } <nl> + <nl> + / / Setup kernel map region <nl> + if ( kernel_map_region_size ) { <nl> + kernel_map_region_start = alloc_start + kmap_rnd ; <nl> + kernel_map_region_end = kernel_map_region_start + kernel_map_region_size ; <nl> + <nl> + if ( alias_rnd < kmap_rnd ) { <nl> + kernel_map_region_start + = alias_region_size ; <nl> + kernel_map_region_end + = alias_region_size ; <nl> + } else { <nl> + alias_region_start + = kernel_map_region_size ; <nl> + alias_region_end + = kernel_map_region_size ; <nl> + } <nl> + <nl> + if ( heap_rnd < kmap_rnd ) { <nl> + kernel_map_region_start + = heap_region_size ; <nl> + kernel_map_region_end + = heap_region_size ; <nl> + } else { <nl> + heap_region_start + = kernel_map_region_size ; <nl> + heap_region_end + = kernel_map_region_size ; <nl> + } <nl> + <nl> + if ( stack_region_size ) { <nl> + if ( stack_rnd < kmap_rnd ) { <nl> + kernel_map_region_start + = stack_region_size ; <nl> + kernel_map_region_end + = stack_region_size ; <nl> + } else { <nl> + stack_region_start + = kernel_map_region_size ; <nl> + stack_region_end + = kernel_map_region_size ; <nl> + } <nl> + } <nl> + } <nl> + <nl> + / / Set heap members <nl> + current_heap_end = heap_region_start ; <nl> + max_heap_size = 0 ; <nl> + max_physical_memory_size = 0 ; <nl> + <nl> + / / Ensure that we regions inside our address space <nl> + auto IsInAddressSpace = [ & ] ( VAddr addr ) { <nl> + return address_space_start < = addr & & addr < = address_space_end ; <nl> + } ; <nl> + ASSERT ( IsInAddressSpace ( alias_region_start ) ) ; <nl> + ASSERT ( IsInAddressSpace ( alias_region_end ) ) ; <nl> + ASSERT ( IsInAddressSpace ( heap_region_start ) ) ; <nl> + ASSERT ( IsInAddressSpace ( heap_region_end ) ) ; <nl> + ASSERT ( IsInAddressSpace ( stack_region_start ) ) ; <nl> + ASSERT ( IsInAddressSpace ( stack_region_end ) ) ; <nl> + ASSERT ( IsInAddressSpace ( kernel_map_region_start ) ) ; <nl> + ASSERT ( IsInAddressSpace ( kernel_map_region_end ) ) ; <nl> + <nl> + / / Ensure that we selected regions that don ' t overlap <nl> + const VAddr alias_start { alias_region_start } ; <nl> + const VAddr alias_last { alias_region_end - 1 } ; <nl> + const VAddr heap_start { heap_region_start } ; <nl> + const VAddr heap_last { heap_region_end - 1 } ; <nl> + const VAddr stack_start { stack_region_start } ; <nl> + const VAddr stack_last { stack_region_end - 1 } ; <nl> + const VAddr kmap_start { kernel_map_region_start } ; <nl> + const VAddr kmap_last { kernel_map_region_end - 1 } ; <nl> + ASSERT ( alias_last < heap_start | | heap_last < alias_start ) ; <nl> + ASSERT ( alias_last < stack_start | | stack_last < alias_start ) ; <nl> + ASSERT ( alias_last < kmap_start | | kmap_last < alias_start ) ; <nl> + ASSERT ( heap_last < stack_start | | stack_last < heap_start ) ; <nl> + ASSERT ( heap_last < kmap_start | | kmap_last < heap_start ) ; <nl> + <nl> + current_heap_addr = heap_region_start ; <nl> + heap_capacity = 0 ; <nl> + physical_memory_usage = 0 ; <nl> + memory_pool = pool ; <nl> + <nl> + page_table_impl . Resize ( address_space_width , PageBits , true ) ; <nl> + <nl> + return InitializeMemoryLayout ( start , end ) ; <nl> + } <nl> + <nl> + ResultCode PageTable : : MapProcessCode ( VAddr addr , std : : size_t num_pages , MemoryState state , <nl> + MemoryPermission perm ) { <nl> + std : : lock_guard lock { page_table_lock } ; <nl> + <nl> + const u64 size { num_pages * PageSize } ; <nl> + <nl> + if ( ! CanContain ( addr , size , state ) ) { <nl> + return ERR_INVALID_ADDRESS_STATE ; <nl> + } <nl> + <nl> + if ( IsRegionMapped ( addr , size ) ) { <nl> + return ERR_INVALID_ADDRESS_STATE ; <nl> + } <nl> + <nl> + PageLinkedList page_linked_list ; <nl> + if ( const ResultCode result { <nl> + system . Kernel ( ) . MemoryManager ( ) . Allocate ( page_linked_list , num_pages , memory_pool ) } ; <nl> + result . IsError ( ) ) { <nl> + return result ; <nl> + } <nl> + <nl> + if ( const ResultCode result { <nl> + Operate ( addr , num_pages , page_linked_list , OperationType : : MapGroup ) } ; <nl> + result . IsError ( ) ) { <nl> + return result ; <nl> + } <nl> + <nl> + block_manager - > Update ( addr , num_pages , state , perm ) ; <nl> + <nl> + return RESULT_SUCCESS ; <nl> + } <nl> + <nl> + ResultCode PageTable : : MapProcessCodeMemory ( VAddr dst_addr , VAddr src_addr , std : : size_t size ) { <nl> + std : : lock_guard lock { page_table_lock } ; <nl> + <nl> + const std : : size_t num_pages { size / PageSize } ; <nl> + <nl> + MemoryState state { } ; <nl> + MemoryPermission perm { } ; <nl> + if ( const ResultCode result { CheckMemoryState ( <nl> + & state , & perm , nullptr , src_addr , size , MemoryState : : All , MemoryState : : Normal , <nl> + MemoryPermission : : Mask , MemoryPermission : : ReadAndWrite , MemoryAttribute : : Mask , <nl> + MemoryAttribute : : None , MemoryAttribute : : IpcAndDeviceMapped ) } ; <nl> + result . IsError ( ) ) { <nl> + return result ; <nl> + } <nl> + <nl> + if ( IsRegionMapped ( dst_addr , size ) ) { <nl> + return ERR_INVALID_ADDRESS_STATE ; <nl> + } <nl> + <nl> + PageLinkedList page_linked_list ; <nl> + AddRegionToPages ( src_addr , num_pages , page_linked_list ) ; <nl> + <nl> + { <nl> + auto block_guard = detail : : ScopeExit ( <nl> + [ & ] { Operate ( src_addr , num_pages , perm , OperationType : : ChangePermissions ) ; } ) ; <nl> + <nl> + if ( const ResultCode result { Operate ( src_addr , num_pages , MemoryPermission : : None , <nl> + OperationType : : ChangePermissions ) } ; <nl> + result . IsError ( ) ) { <nl> + return result ; <nl> + } <nl> + <nl> + if ( const ResultCode result { MapPages ( dst_addr , page_linked_list , MemoryPermission : : None ) } ; <nl> + result . IsError ( ) ) { <nl> + return result ; <nl> + } <nl> + <nl> + block_guard . Cancel ( ) ; <nl> + } <nl> + <nl> + block_manager - > Update ( src_addr , num_pages , state , MemoryPermission : : None , <nl> + MemoryAttribute : : Locked ) ; <nl> + block_manager - > Update ( dst_addr , num_pages , MemoryState : : AliasCode ) ; <nl> + <nl> + return RESULT_SUCCESS ; <nl> + } <nl> + <nl> + ResultCode PageTable : : UnmapProcessCodeMemory ( VAddr dst_addr , VAddr src_addr , std : : size_t size ) { <nl> + std : : lock_guard lock { page_table_lock } ; <nl> + <nl> + if ( ! size ) { <nl> + return RESULT_SUCCESS ; <nl> + } <nl> + <nl> + const std : : size_t num_pages { size / PageSize } ; <nl> + <nl> + if ( const ResultCode result { CheckMemoryState ( <nl> + nullptr , nullptr , nullptr , src_addr , size , MemoryState : : All , MemoryState : : Normal , <nl> + MemoryPermission : : None , MemoryPermission : : None , MemoryAttribute : : Mask , <nl> + MemoryAttribute : : Locked , MemoryAttribute : : IpcAndDeviceMapped ) } ; <nl> + result . IsError ( ) ) { <nl> + return result ; <nl> + } <nl> + <nl> + MemoryState state { } ; <nl> + if ( const ResultCode result { CheckMemoryState ( <nl> + & state , nullptr , nullptr , dst_addr , PageSize , MemoryState : : FlagCanCodeAlias , <nl> + MemoryState : : FlagCanCodeAlias , MemoryPermission : : None , MemoryPermission : : None , <nl> + MemoryAttribute : : Mask , MemoryAttribute : : None , MemoryAttribute : : IpcAndDeviceMapped ) } ; <nl> + result . IsError ( ) ) { <nl> + return result ; <nl> + } <nl> + <nl> + if ( const ResultCode result { CheckMemoryState ( dst_addr , size , MemoryState : : All , state , <nl> + MemoryPermission : : None , MemoryPermission : : None , <nl> + MemoryAttribute : : Mask , MemoryAttribute : : None ) } ; <nl> + result . IsError ( ) ) { <nl> + return result ; <nl> + } <nl> + <nl> + if ( const ResultCode result { <nl> + Operate ( dst_addr , num_pages , MemoryPermission : : None , OperationType : : Unmap ) } ; <nl> + result . IsError ( ) ) { <nl> + return result ; <nl> + } <nl> + <nl> + block_manager - > Update ( dst_addr , num_pages , MemoryState : : Free ) ; <nl> + block_manager - > Update ( src_addr , num_pages , MemoryState : : Normal , MemoryPermission : : ReadAndWrite ) ; <nl> + <nl> + return RESULT_SUCCESS ; <nl> + } <nl> + <nl> + void PageTable : : MapPhysicalMemory ( PageLinkedList & page_linked_list , VAddr start , VAddr end ) { <nl> + auto node { page_linked_list . Nodes ( ) . begin ( ) } ; <nl> + PAddr map_addr { node - > GetAddress ( ) } ; <nl> + std : : size_t src_num_pages { node - > GetNumPages ( ) } ; <nl> + <nl> + block_manager - > IterateForRange ( start , end , [ & ] ( const MemoryInfo & info ) { <nl> + if ( info . state ! = MemoryState : : Free ) { <nl> + return ; <nl> + } <nl> + <nl> + std : : size_t dst_num_pages { GetSizeInRange ( info , start , end ) / PageSize } ; <nl> + VAddr dst_addr { GetAddressInRange ( info , start ) } ; <nl> + <nl> + while ( dst_num_pages ) { <nl> + if ( ! src_num_pages ) { <nl> + node = std : : next ( node ) ; <nl> + map_addr = node - > GetAddress ( ) ; <nl> + src_num_pages = node - > GetNumPages ( ) ; <nl> + } <nl> + <nl> + const std : : size_t num_pages { std : : min ( src_num_pages , dst_num_pages ) } ; <nl> + Operate ( dst_addr , num_pages , MemoryPermission : : ReadAndWrite , OperationType : : Map , <nl> + map_addr ) ; <nl> + <nl> + dst_addr + = num_pages * PageSize ; <nl> + map_addr + = num_pages * PageSize ; <nl> + src_num_pages - = num_pages ; <nl> + dst_num_pages - = num_pages ; <nl> + } <nl> + } ) ; <nl> + } <nl> + <nl> + ResultCode PageTable : : MapPhysicalMemory ( VAddr addr , std : : size_t size ) { <nl> + std : : lock_guard lock { page_table_lock } ; <nl> + <nl> + std : : size_t mapped_size { } ; <nl> + const VAddr end_addr { addr + size } ; <nl> + <nl> + block_manager - > IterateForRange ( addr , end_addr , [ & ] ( const MemoryInfo & info ) { <nl> + if ( info . state ! = MemoryState : : Free ) { <nl> + mapped_size + = GetSizeInRange ( info , addr , end_addr ) ; <nl> + } <nl> + } ) ; <nl> + <nl> + if ( mapped_size = = size ) { <nl> + return RESULT_SUCCESS ; <nl> + } <nl> + <nl> + auto process { system . Kernel ( ) . CurrentProcess ( ) } ; <nl> + const std : : size_t remaining_size { size - mapped_size } ; <nl> + const std : : size_t remaining_pages { remaining_size / PageSize } ; <nl> + <nl> + if ( process - > GetResourceLimit ( ) & & <nl> + ! process - > GetResourceLimit ( ) - > Reserve ( ResourceType : : PhysicalMemory , remaining_size ) ) { <nl> + return ERR_RESOURCE_LIMIT_EXCEEDED ; <nl> + } <nl> + <nl> + PageLinkedList page_linked_list ; <nl> + { <nl> + auto block_guard = detail : : ScopeExit ( [ & ] { <nl> + system . Kernel ( ) . MemoryManager ( ) . Free ( page_linked_list , remaining_pages , memory_pool ) ; <nl> + process - > GetResourceLimit ( ) - > Release ( ResourceType : : PhysicalMemory , remaining_size ) ; <nl> + } ) ; <nl> + <nl> + if ( const ResultCode result { system . Kernel ( ) . MemoryManager ( ) . Allocate ( <nl> + page_linked_list , remaining_pages , memory_pool ) } ; <nl> + result . IsError ( ) ) { <nl> + return result ; <nl> + } <nl> + <nl> + block_guard . Cancel ( ) ; <nl> + } <nl> + <nl> + MapPhysicalMemory ( page_linked_list , addr , end_addr ) ; <nl> + <nl> + physical_memory_usage + = remaining_size ; <nl> + <nl> + const std : : size_t num_pages { size / PageSize } ; <nl> + block_manager - > Update ( addr , num_pages , MemoryState : : Free , MemoryPermission : : None , <nl> + MemoryAttribute : : None , MemoryState : : Normal , <nl> + MemoryPermission : : ReadAndWrite , MemoryAttribute : : None ) ; <nl> + <nl> + return RESULT_SUCCESS ; <nl> + } <nl> + <nl> + ResultCode PageTable : : UnmapPhysicalMemory ( VAddr addr , std : : size_t size ) { <nl> + std : : lock_guard lock { page_table_lock } ; <nl> + <nl> + const VAddr end_addr { addr + size } ; <nl> + ResultCode result { RESULT_SUCCESS } ; <nl> + std : : size_t mapped_size { } ; <nl> + <nl> + / / Verify that the region can be unmapped <nl> + block_manager - > IterateForRange ( addr , end_addr , [ & ] ( const MemoryInfo & info ) { <nl> + if ( info . state = = MemoryState : : Normal ) { <nl> + if ( info . attribute ! = MemoryAttribute : : None ) { <nl> + result = ERR_INVALID_ADDRESS_STATE ; <nl> + return ; <nl> + } <nl> + mapped_size + = GetSizeInRange ( info , addr , end_addr ) ; <nl> + } else if ( info . state ! = MemoryState : : Free ) { <nl> + result = ERR_INVALID_ADDRESS_STATE ; <nl> + } <nl> + } ) ; <nl> + <nl> + if ( result . IsError ( ) ) { <nl> + return result ; <nl> + } <nl> + <nl> + if ( ! mapped_size ) { <nl> + return RESULT_SUCCESS ; <nl> + } <nl> + <nl> + if ( const ResultCode result { UnmapMemory ( addr , size ) } ; result . IsError ( ) ) { <nl> + return result ; <nl> + } <nl> + <nl> + auto process { system . Kernel ( ) . CurrentProcess ( ) } ; <nl> + process - > GetResourceLimit ( ) - > Release ( ResourceType : : PhysicalMemory , mapped_size ) ; <nl> + physical_memory_usage - = mapped_size ; <nl> + <nl> + return RESULT_SUCCESS ; <nl> + } <nl> + <nl> + ResultCode PageTable : : UnmapMemory ( VAddr addr , std : : size_t size ) { <nl> + std : : lock_guard lock { page_table_lock } ; <nl> + <nl> + const VAddr end_addr { addr + size } ; <nl> + ResultCode result { RESULT_SUCCESS } ; <nl> + PageLinkedList page_linked_list ; <nl> + <nl> + / / Unmap each region within the range <nl> + block_manager - > IterateForRange ( addr , end_addr , [ & ] ( const MemoryInfo & info ) { <nl> + if ( info . state = = MemoryState : : Normal ) { <nl> + const std : : size_t block_size { GetSizeInRange ( info , addr , end_addr ) } ; <nl> + const std : : size_t block_num_pages { block_size / PageSize } ; <nl> + const VAddr block_addr { GetAddressInRange ( info , addr ) } ; <nl> + <nl> + AddRegionToPages ( block_addr , block_size / PageSize , page_linked_list ) ; <nl> + <nl> + if ( result = Operate ( block_addr , block_num_pages , MemoryPermission : : None , <nl> + OperationType : : Unmap ) ; <nl> + result . IsError ( ) ) { <nl> + return ; <nl> + } <nl> + } <nl> + } ) ; <nl> + <nl> + if ( result . IsError ( ) ) { <nl> + return result ; <nl> + } <nl> + <nl> + const std : : size_t num_pages { size / PageSize } ; <nl> + system . Kernel ( ) . MemoryManager ( ) . Free ( page_linked_list , num_pages , memory_pool ) ; <nl> + <nl> + block_manager - > Update ( addr , num_pages , MemoryState : : Free ) ; <nl> + <nl> + return RESULT_SUCCESS ; <nl> + } <nl> + <nl> + ResultCode PageTable : : Map ( VAddr dst_addr , VAddr src_addr , std : : size_t size ) { <nl> + std : : lock_guard lock { page_table_lock } ; <nl> + <nl> + MemoryState src_state { } ; <nl> + if ( const ResultCode result { CheckMemoryState ( <nl> + & src_state , nullptr , nullptr , src_addr , size , MemoryState : : FlagCanAlias , <nl> + MemoryState : : FlagCanAlias , MemoryPermission : : Mask , MemoryPermission : : ReadAndWrite , <nl> + MemoryAttribute : : Mask , MemoryAttribute : : None , MemoryAttribute : : IpcAndDeviceMapped ) } ; <nl> + result . IsError ( ) ) { <nl> + return result ; <nl> + } <nl> + <nl> + if ( IsRegionMapped ( dst_addr , size ) ) { <nl> + return ERR_INVALID_ADDRESS_STATE ; <nl> + } <nl> + <nl> + PageLinkedList page_linked_list ; <nl> + const std : : size_t num_pages { size / PageSize } ; <nl> + <nl> + AddRegionToPages ( src_addr , num_pages , page_linked_list ) ; <nl> + <nl> + { <nl> + auto block_guard = detail : : ScopeExit ( [ & ] { <nl> + Operate ( src_addr , num_pages , MemoryPermission : : ReadAndWrite , <nl> + OperationType : : ChangePermissions ) ; <nl> + } ) ; <nl> + <nl> + if ( const ResultCode result { Operate ( src_addr , num_pages , MemoryPermission : : None , <nl> + OperationType : : ChangePermissions ) } ; <nl> + result . IsError ( ) ) { <nl> + return result ; <nl> + } <nl> + <nl> + if ( const ResultCode result { <nl> + MapPages ( dst_addr , page_linked_list , MemoryPermission : : ReadAndWrite ) } ; <nl> + result . IsError ( ) ) { <nl> + return result ; <nl> + } <nl> + <nl> + block_guard . Cancel ( ) ; <nl> + } <nl> + <nl> + block_manager - > Update ( src_addr , num_pages , src_state , MemoryPermission : : None , <nl> + MemoryAttribute : : Locked ) ; <nl> + block_manager - > Update ( dst_addr , num_pages , MemoryState : : Stack , MemoryPermission : : ReadAndWrite ) ; <nl> + <nl> + return RESULT_SUCCESS ; <nl> + } <nl> + <nl> + ResultCode PageTable : : Unmap ( VAddr dst_addr , VAddr src_addr , std : : size_t size ) { <nl> + std : : lock_guard lock { page_table_lock } ; <nl> + <nl> + MemoryState src_state { } ; <nl> + if ( const ResultCode result { CheckMemoryState ( <nl> + & src_state , nullptr , nullptr , src_addr , size , MemoryState : : FlagCanAlias , <nl> + MemoryState : : FlagCanAlias , MemoryPermission : : Mask , MemoryPermission : : None , <nl> + MemoryAttribute : : Mask , MemoryAttribute : : Locked , MemoryAttribute : : IpcAndDeviceMapped ) } ; <nl> + result . IsError ( ) ) { <nl> + return result ; <nl> + } <nl> + <nl> + MemoryPermission dst_perm { } ; <nl> + if ( const ResultCode result { CheckMemoryState ( <nl> + nullptr , & dst_perm , nullptr , dst_addr , size , MemoryState : : All , MemoryState : : Stack , <nl> + MemoryPermission : : None , MemoryPermission : : None , MemoryAttribute : : Mask , <nl> + MemoryAttribute : : None , MemoryAttribute : : IpcAndDeviceMapped ) } ; <nl> + result . IsError ( ) ) { <nl> + return result ; <nl> + } <nl> + <nl> + PageLinkedList src_pages ; <nl> + PageLinkedList dst_pages ; <nl> + const std : : size_t num_pages { size / PageSize } ; <nl> + <nl> + AddRegionToPages ( src_addr , num_pages , src_pages ) ; <nl> + AddRegionToPages ( dst_addr , num_pages , dst_pages ) ; <nl> + <nl> + if ( ! dst_pages . IsEqual ( src_pages ) ) { <nl> + return ERR_INVALID_MEMORY_RANGE ; <nl> + } <nl> + <nl> + { <nl> + auto block_guard = detail : : ScopeExit ( [ & ] { MapPages ( dst_addr , dst_pages , dst_perm ) ; } ) ; <nl> + <nl> + if ( const ResultCode result { <nl> + Operate ( dst_addr , num_pages , MemoryPermission : : None , OperationType : : Unmap ) } ; <nl> + result . IsError ( ) ) { <nl> + return result ; <nl> + } <nl> + <nl> + if ( const ResultCode result { Operate ( src_addr , num_pages , MemoryPermission : : ReadAndWrite , <nl> + OperationType : : ChangePermissions ) } ; <nl> + result . IsError ( ) ) { <nl> + return result ; <nl> + } <nl> + <nl> + block_guard . Cancel ( ) ; <nl> + } <nl> + <nl> + block_manager - > Update ( src_addr , num_pages , src_state , MemoryPermission : : ReadAndWrite ) ; <nl> + block_manager - > Update ( dst_addr , num_pages , MemoryState : : Free ) ; <nl> + <nl> + return RESULT_SUCCESS ; <nl> + } <nl> + <nl> + ResultCode PageTable : : MapPages ( VAddr addr , const PageLinkedList & page_linked_list , <nl> + MemoryPermission perm ) { <nl> + VAddr cur_addr { addr } ; <nl> + <nl> + for ( const auto & node : page_linked_list . Nodes ( ) ) { <nl> + if ( const ResultCode result { <nl> + Operate ( cur_addr , node . GetNumPages ( ) , perm , OperationType : : Map , node . GetAddress ( ) ) } ; <nl> + result . IsError ( ) ) { <nl> + const MemoryInfo info { block_manager - > FindBlock ( cur_addr ) . GetMemoryInfo ( ) } ; <nl> + const std : : size_t num_pages { ( addr - cur_addr ) / PageSize } ; <nl> + <nl> + ASSERT ( <nl> + Operate ( addr , num_pages , MemoryPermission : : None , OperationType : : Unmap ) . IsSuccess ( ) ) ; <nl> + <nl> + return result ; <nl> + } <nl> + <nl> + cur_addr + = node . GetNumPages ( ) * PageSize ; <nl> + } <nl> + <nl> + return RESULT_SUCCESS ; <nl> + } <nl> + <nl> + ResultCode PageTable : : MapPages ( VAddr addr , PageLinkedList & page_linked_list , MemoryState state , <nl> + MemoryPermission perm ) { <nl> + std : : lock_guard lock { page_table_lock } ; <nl> + <nl> + const std : : size_t num_pages { page_linked_list . GetNumPages ( ) } ; <nl> + const std : : size_t size { num_pages * PageSize } ; <nl> + <nl> + if ( ! CanContain ( addr , size , state ) ) { <nl> + return ERR_INVALID_ADDRESS_STATE ; <nl> + } <nl> + <nl> + if ( IsRegionMapped ( addr , num_pages * PageSize ) ) { <nl> + return ERR_INVALID_ADDRESS_STATE ; <nl> + } <nl> + <nl> + if ( const ResultCode result { MapPages ( addr , page_linked_list , perm ) } ; result . IsError ( ) ) { <nl> + return result ; <nl> + } <nl> + <nl> + block_manager - > Update ( addr , num_pages , state , perm ) ; <nl> + <nl> + return RESULT_SUCCESS ; <nl> + } <nl> + <nl> + ResultCode PageTable : : SetCodeMemoryPermission ( VAddr addr , std : : size_t size , MemoryPermission perm ) { <nl> + <nl> + std : : lock_guard lock { page_table_lock } ; <nl> + <nl> + MemoryState prev_state { } ; <nl> + MemoryPermission prev_perm { } ; <nl> + <nl> + if ( const ResultCode result { CheckMemoryState ( <nl> + & prev_state , & prev_perm , nullptr , addr , size , MemoryState : : FlagCode , <nl> + MemoryState : : FlagCode , MemoryPermission : : None , MemoryPermission : : None , <nl> + MemoryAttribute : : Mask , MemoryAttribute : : None , MemoryAttribute : : IpcAndDeviceMapped ) } ; <nl> + result . IsError ( ) ) { <nl> + return result ; <nl> + } <nl> + <nl> + MemoryState state { prev_state } ; <nl> + <nl> + / / Ensure state is mutable if permission allows write <nl> + if ( ( perm & MemoryPermission : : Write ) ! = MemoryPermission : : None ) { <nl> + if ( prev_state = = MemoryState : : Code ) { <nl> + state = MemoryState : : CodeData ; <nl> + } else if ( prev_state = = MemoryState : : AliasCode ) { <nl> + state = MemoryState : : AliasCodeData ; <nl> + } else { <nl> + UNREACHABLE ( ) ; <nl> + } <nl> + } <nl> + <nl> + / / Return early if there is nothing to change <nl> + if ( state = = prev_state & & perm = = prev_perm ) { <nl> + return RESULT_SUCCESS ; <nl> + } <nl> + <nl> + const std : : size_t num_pages { size / PageSize } ; <nl> + const OperationType operation { ( perm & MemoryPermission : : Execute ) ! = MemoryPermission : : None <nl> + ? OperationType : : ChangePermissionsAndRefresh <nl> + : OperationType : : ChangePermissions } ; <nl> + <nl> + if ( const ResultCode result { Operate ( addr , num_pages , perm , operation ) } ; result . IsError ( ) ) { <nl> + return result ; <nl> + } <nl> + <nl> + block_manager - > Update ( addr , num_pages , state , perm ) ; <nl> + <nl> + return RESULT_SUCCESS ; <nl> + } <nl> + <nl> + MemoryInfo PageTable : : QueryInfoImpl ( VAddr addr ) { <nl> + std : : lock_guard lock { page_table_lock } ; <nl> + <nl> + return block_manager - > FindBlock ( addr ) . GetMemoryInfo ( ) ; <nl> + } <nl> + <nl> + MemoryInfo PageTable : : QueryInfo ( VAddr addr ) { <nl> + if ( ! Contains ( addr , 1 ) ) { <nl> + return { address_space_end , 0 - address_space_end , MemoryState : : Inaccessible , <nl> + MemoryPermission : : None , MemoryAttribute : : None , MemoryPermission : : None } ; <nl> + } <nl> + <nl> + return QueryInfoImpl ( addr ) ; <nl> + } <nl> + <nl> + ResultCode PageTable : : ReserveTransferMemory ( VAddr addr , std : : size_t size , MemoryPermission perm ) { <nl> + std : : lock_guard lock { page_table_lock } ; <nl> + <nl> + MemoryState state { } ; <nl> + MemoryAttribute attribute { } ; <nl> + <nl> + if ( const ResultCode result { CheckMemoryState ( <nl> + & state , nullptr , & attribute , addr , size , <nl> + MemoryState : : FlagCanTransfer | MemoryState : : FlagReferenceCounted , <nl> + MemoryState : : FlagCanTransfer | MemoryState : : FlagReferenceCounted , <nl> + MemoryPermission : : Mask , MemoryPermission : : ReadAndWrite , MemoryAttribute : : Mask , <nl> + MemoryAttribute : : None , MemoryAttribute : : IpcAndDeviceMapped ) } ; <nl> + result . IsError ( ) ) { <nl> + return result ; <nl> + } <nl> + <nl> + block_manager - > Update ( addr , size / PageSize , state , perm , attribute | MemoryAttribute : : Locked ) ; <nl> + <nl> + return RESULT_SUCCESS ; <nl> + } <nl> + <nl> + ResultCode PageTable : : ResetTransferMemory ( VAddr addr , std : : size_t size ) { <nl> + std : : lock_guard lock { page_table_lock } ; <nl> + <nl> + MemoryState state { } ; <nl> + <nl> + if ( const ResultCode result { <nl> + CheckMemoryState ( & state , nullptr , nullptr , addr , size , <nl> + MemoryState : : FlagCanTransfer | MemoryState : : FlagReferenceCounted , <nl> + MemoryState : : FlagCanTransfer | MemoryState : : FlagReferenceCounted , <nl> + MemoryPermission : : None , MemoryPermission : : None , MemoryAttribute : : Mask , <nl> + MemoryAttribute : : Locked , MemoryAttribute : : IpcAndDeviceMapped ) } ; <nl> + result . IsError ( ) ) { <nl> + return result ; <nl> + } <nl> + <nl> + block_manager - > Update ( addr , size / PageSize , state , MemoryPermission : : ReadAndWrite ) ; <nl> + <nl> + return RESULT_SUCCESS ; <nl> + } <nl> + <nl> + ResultCode PageTable : : SetMemoryAttribute ( VAddr addr , std : : size_t size , MemoryAttribute mask , <nl> + MemoryAttribute value ) { <nl> + std : : lock_guard lock { page_table_lock } ; <nl> + <nl> + MemoryState state { } ; <nl> + MemoryPermission perm { } ; <nl> + MemoryAttribute attribute { } ; <nl> + <nl> + if ( const ResultCode result { CheckMemoryState ( <nl> + & state , & perm , & attribute , addr , size , MemoryState : : FlagCanChangeAttribute , <nl> + MemoryState : : FlagCanChangeAttribute , MemoryPermission : : None , MemoryPermission : : None , <nl> + MemoryAttribute : : LockedAndIpcLocked , MemoryAttribute : : None , <nl> + MemoryAttribute : : DeviceSharedAndUncached ) } ; <nl> + result . IsError ( ) ) { <nl> + return result ; <nl> + } <nl> + <nl> + attribute = attribute & ~ mask ; <nl> + attribute = attribute | ( mask & value ) ; <nl> + <nl> + block_manager - > Update ( addr , size / PageSize , state , perm , attribute ) ; <nl> + <nl> + return RESULT_SUCCESS ; <nl> + } <nl> + <nl> + ResultCode PageTable : : SetHeapCapacity ( std : : size_t new_heap_capacity ) { <nl> + std : : lock_guard lock { page_table_lock } ; <nl> + heap_capacity = new_heap_capacity ; <nl> + return RESULT_SUCCESS ; <nl> + } <nl> + <nl> + ResultVal < VAddr > PageTable : : SetHeapSize ( std : : size_t size ) { <nl> + <nl> + if ( size > heap_region_end - heap_region_start ) { <nl> + return ERR_OUT_OF_MEMORY ; <nl> + } <nl> + <nl> + const u64 previous_heap_size { GetHeapSize ( ) } ; <nl> + <nl> + UNIMPLEMENTED_IF_MSG ( previous_heap_size > size , " Heap shrink is unimplemented " ) ; <nl> + <nl> + / / Increase the heap size <nl> + { <nl> + std : : lock_guard lock { page_table_lock } ; <nl> + <nl> + const u64 delta { size - previous_heap_size } ; <nl> + <nl> + auto process { system . Kernel ( ) . CurrentProcess ( ) } ; <nl> + if ( process - > GetResourceLimit ( ) & & delta ! = 0 & & <nl> + ! process - > GetResourceLimit ( ) - > Reserve ( ResourceType : : PhysicalMemory , delta ) ) { <nl> + return ERR_RESOURCE_LIMIT_EXCEEDED ; <nl> + } <nl> + <nl> + PageLinkedList page_linked_list ; <nl> + const std : : size_t num_pages { delta / PageSize } ; <nl> + <nl> + if ( const ResultCode result { <nl> + system . Kernel ( ) . MemoryManager ( ) . Allocate ( page_linked_list , num_pages , memory_pool ) } ; <nl> + result . IsError ( ) ) { <nl> + return result ; <nl> + } <nl> + <nl> + if ( IsRegionMapped ( current_heap_addr , delta ) ) { <nl> + return ERR_INVALID_ADDRESS_STATE ; <nl> + } <nl> + <nl> + if ( const ResultCode result { <nl> + Operate ( current_heap_addr , num_pages , page_linked_list , OperationType : : MapGroup ) } ; <nl> + result . IsError ( ) ) { <nl> + return result ; <nl> + } <nl> + <nl> + block_manager - > Update ( current_heap_addr , num_pages , MemoryState : : Normal , <nl> + MemoryPermission : : ReadAndWrite ) ; <nl> + <nl> + current_heap_addr = heap_region_start + size ; <nl> + } <nl> + <nl> + return MakeResult < VAddr > ( heap_region_start ) ; <nl> + } <nl> + <nl> + ResultVal < VAddr > PageTable : : AllocateAndMapMemory ( std : : size_t needed_num_pages , std : : size_t align , <nl> + bool is_map_only , VAddr region_start , <nl> + std : : size_t region_num_pages , MemoryState state , <nl> + MemoryPermission perm , PAddr map_addr ) { <nl> + std : : lock_guard lock { page_table_lock } ; <nl> + <nl> + if ( ! CanContain ( region_start , region_num_pages * PageSize , state ) ) { <nl> + return ERR_INVALID_ADDRESS_STATE ; <nl> + } <nl> + <nl> + if ( region_num_pages < = needed_num_pages ) { <nl> + return ERR_OUT_OF_MEMORY ; <nl> + } <nl> + <nl> + const VAddr addr { <nl> + AllocateVirtualMemory ( region_start , region_num_pages , needed_num_pages , align ) } ; <nl> + if ( ! addr ) { <nl> + return ERR_OUT_OF_MEMORY ; <nl> + } <nl> + <nl> + if ( is_map_only ) { <nl> + if ( const ResultCode result { <nl> + Operate ( addr , needed_num_pages , perm , OperationType : : Map , map_addr ) } ; <nl> + result . IsError ( ) ) { <nl> + return result ; <nl> + } <nl> + } else { <nl> + PageLinkedList page_group ; <nl> + if ( const ResultCode result { system . Kernel ( ) . MemoryManager ( ) . Allocate ( <nl> + page_group , needed_num_pages , memory_pool ) } ; <nl> + result . IsError ( ) ) { <nl> + return result ; <nl> + } <nl> + if ( const ResultCode result { <nl> + Operate ( addr , needed_num_pages , page_group , OperationType : : MapGroup ) } ; <nl> + result . IsError ( ) ) { <nl> + return result ; <nl> + } <nl> + } <nl> + <nl> + block_manager - > Update ( addr , needed_num_pages , state , perm ) ; <nl> + <nl> + return MakeResult < VAddr > ( addr ) ; <nl> + } <nl> + <nl> + PAddr PageTable : : GetPhysicalAddr ( VAddr addr ) { <nl> + return system . GetDeviceMemory ( ) . GetPhysicalAddr ( addr ) ; <nl> + } <nl> + <nl> + ResultCode PageTable : : InitializeMemoryLayout ( VAddr start , VAddr end ) { <nl> + block_manager = std : : make_unique < MemoryBlockManager > ( start , end ) ; <nl> + <nl> + return RESULT_SUCCESS ; <nl> + } <nl> + <nl> + bool PageTable : : IsRegionMapped ( VAddr address , u64 size ) { <nl> + return CheckMemoryState ( address , size , MemoryState : : All , MemoryState : : Free , <nl> + MemoryPermission : : Mask , MemoryPermission : : None , MemoryAttribute : : Mask , <nl> + MemoryAttribute : : None , MemoryAttribute : : IpcAndDeviceMapped ) <nl> + . IsError ( ) ; <nl> + } <nl> + <nl> + bool PageTable : : IsRegionContiguous ( VAddr addr , u64 size ) const { <nl> + auto start_ptr = system . Memory ( ) . GetPointer ( addr ) ; <nl> + for ( u64 offset { } ; offset < size ; offset + = PageSize ) { <nl> + if ( start_ptr ! = system . Memory ( ) . GetPointer ( addr + offset ) ) { <nl> + return false ; <nl> + } <nl> + start_ptr + = PageSize ; <nl> + } <nl> + return true ; <nl> + } <nl> + <nl> + void PageTable : : AddRegionToPages ( VAddr start , std : : size_t num_pages , <nl> + PageLinkedList & page_linked_list ) { <nl> + VAddr addr { start } ; <nl> + while ( addr < start + ( num_pages * PageSize ) ) { <nl> + const PAddr paddr { GetPhysicalAddr ( addr ) } ; <nl> + if ( ! paddr ) { <nl> + UNREACHABLE ( ) ; <nl> + } <nl> + page_linked_list . AddBlock ( paddr , 1 ) ; <nl> + addr + = PageSize ; <nl> + } <nl> + } <nl> + <nl> + VAddr PageTable : : AllocateVirtualMemory ( VAddr start , std : : size_t region_num_pages , <nl> + u64 needed_num_pages , std : : size_t align ) { <nl> + if ( is_aslr_enabled ) { <nl> + UNIMPLEMENTED ( ) ; <nl> + } <nl> + return block_manager - > FindFreeArea ( start , region_num_pages , needed_num_pages , align , 0 , <nl> + IsKernel ( ) ? 1 : 4 ) ; <nl> + } <nl> + <nl> + ResultCode PageTable : : Operate ( VAddr addr , std : : size_t num_pages , const PageLinkedList & page_group , <nl> + OperationType operation ) { <nl> + std : : lock_guard lock { page_table_lock } ; <nl> + <nl> + ASSERT ( Common : : IsAligned ( addr , PageSize ) ) ; <nl> + ASSERT ( num_pages > 0 ) ; <nl> + ASSERT ( num_pages = = page_group . GetNumPages ( ) ) ; <nl> + <nl> + for ( const auto & node : page_group . Nodes ( ) ) { <nl> + const std : : size_t size { node . GetNumPages ( ) * PageSize } ; <nl> + <nl> + switch ( operation ) { <nl> + case OperationType : : MapGroup : <nl> + system . Memory ( ) . MapMemoryRegion ( page_table_impl , addr , size , node . GetAddress ( ) ) ; <nl> + break ; <nl> + default : <nl> + UNREACHABLE ( ) ; <nl> + } <nl> + <nl> + addr + = size ; <nl> + } <nl> + <nl> + return RESULT_SUCCESS ; <nl> + } <nl> + <nl> + ResultCode PageTable : : Operate ( VAddr addr , std : : size_t num_pages , MemoryPermission perm , <nl> + OperationType operation , PAddr map_addr ) { <nl> + std : : lock_guard lock { page_table_lock } ; <nl> + <nl> + ASSERT ( num_pages > 0 ) ; <nl> + ASSERT ( Common : : IsAligned ( addr , PageSize ) ) ; <nl> + ASSERT ( ContainsPages ( addr , num_pages ) ) ; <nl> + <nl> + switch ( operation ) { <nl> + case OperationType : : Unmap : <nl> + system . Memory ( ) . UnmapRegion ( page_table_impl , addr , num_pages * PageSize ) ; <nl> + break ; <nl> + case OperationType : : Map : { <nl> + ASSERT ( map_addr ) ; <nl> + ASSERT ( Common : : IsAligned ( map_addr , PageSize ) ) ; <nl> + system . Memory ( ) . MapMemoryRegion ( page_table_impl , addr , num_pages * PageSize , map_addr ) ; <nl> + break ; <nl> + } <nl> + case OperationType : : ChangePermissions : <nl> + case OperationType : : ChangePermissionsAndRefresh : <nl> + break ; <nl> + default : <nl> + UNREACHABLE ( ) ; <nl> + } <nl> + return RESULT_SUCCESS ; <nl> + } <nl> + <nl> + constexpr VAddr PageTable : : GetRegionAddress ( MemoryState state ) const { <nl> + switch ( state ) { <nl> + case MemoryState : : Free : <nl> + case MemoryState : : Kernel : <nl> + return address_space_start ; <nl> + case MemoryState : : Normal : <nl> + return heap_region_start ; <nl> + case MemoryState : : Ipc : <nl> + case MemoryState : : NonSecureIpc : <nl> + case MemoryState : : NonDeviceIpc : <nl> + return alias_region_start ; <nl> + case MemoryState : : Stack : <nl> + return stack_region_start ; <nl> + case MemoryState : : Io : <nl> + case MemoryState : : Static : <nl> + case MemoryState : : ThreadLocal : <nl> + return kernel_map_region_start ; <nl> + case MemoryState : : Shared : <nl> + case MemoryState : : AliasCode : <nl> + case MemoryState : : AliasCodeData : <nl> + case MemoryState : : Transfered : <nl> + case MemoryState : : SharedTransfered : <nl> + case MemoryState : : SharedCode : <nl> + case MemoryState : : GeneratedCode : <nl> + case MemoryState : : CodeOut : <nl> + return alias_code_region_start ; <nl> + case MemoryState : : Code : <nl> + case MemoryState : : CodeData : <nl> + return code_region_start ; <nl> + default : <nl> + UNREACHABLE ( ) ; <nl> + return { } ; <nl> + } <nl> + } <nl> + <nl> + constexpr std : : size_t PageTable : : GetRegionSize ( MemoryState state ) const { <nl> + switch ( state ) { <nl> + case MemoryState : : Free : <nl> + case MemoryState : : Kernel : <nl> + return address_space_end - address_space_start ; <nl> + case MemoryState : : Normal : <nl> + return heap_region_end - heap_region_start ; <nl> + case MemoryState : : Ipc : <nl> + case MemoryState : : NonSecureIpc : <nl> + case MemoryState : : NonDeviceIpc : <nl> + return alias_region_end - alias_region_start ; <nl> + case MemoryState : : Stack : <nl> + return stack_region_end - stack_region_start ; <nl> + case MemoryState : : Io : <nl> + case MemoryState : : Static : <nl> + case MemoryState : : ThreadLocal : <nl> + return kernel_map_region_end - kernel_map_region_start ; <nl> + case MemoryState : : Shared : <nl> + case MemoryState : : AliasCode : <nl> + case MemoryState : : AliasCodeData : <nl> + case MemoryState : : Transfered : <nl> + case MemoryState : : SharedTransfered : <nl> + case MemoryState : : SharedCode : <nl> + case MemoryState : : GeneratedCode : <nl> + case MemoryState : : CodeOut : <nl> + return alias_code_region_end - alias_code_region_start ; <nl> + case MemoryState : : Code : <nl> + case MemoryState : : CodeData : <nl> + return code_region_end - code_region_start ; <nl> + default : <nl> + UNREACHABLE ( ) ; <nl> + return { } ; <nl> + } <nl> + } <nl> + <nl> + constexpr bool PageTable : : CanContain ( VAddr addr , std : : size_t size , MemoryState state ) const { <nl> + const VAddr end { addr + size } ; <nl> + const VAddr last { end - 1 } ; <nl> + const VAddr region_start { GetRegionAddress ( state ) } ; <nl> + const std : : size_t region_size { GetRegionSize ( state ) } ; <nl> + const bool is_in_region { region_start < = addr & & addr < end & & <nl> + last < = region_start + region_size - 1 } ; <nl> + const bool is_in_heap { ! ( end < = heap_region_start | | heap_region_end < = addr ) } ; <nl> + const bool is_in_alias { ! ( end < = alias_region_start | | alias_region_end < = addr ) } ; <nl> + <nl> + switch ( state ) { <nl> + case MemoryState : : Free : <nl> + case MemoryState : : Kernel : <nl> + return is_in_region ; <nl> + case MemoryState : : Io : <nl> + case MemoryState : : Static : <nl> + case MemoryState : : Code : <nl> + case MemoryState : : CodeData : <nl> + case MemoryState : : Shared : <nl> + case MemoryState : : AliasCode : <nl> + case MemoryState : : AliasCodeData : <nl> + case MemoryState : : Stack : <nl> + case MemoryState : : ThreadLocal : <nl> + case MemoryState : : Transfered : <nl> + case MemoryState : : SharedTransfered : <nl> + case MemoryState : : SharedCode : <nl> + case MemoryState : : GeneratedCode : <nl> + case MemoryState : : CodeOut : <nl> + return is_in_region & & ! is_in_heap & & ! is_in_alias ; <nl> + case MemoryState : : Normal : <nl> + ASSERT ( is_in_heap ) ; <nl> + return is_in_region & & ! is_in_alias ; <nl> + case MemoryState : : Ipc : <nl> + case MemoryState : : NonSecureIpc : <nl> + case MemoryState : : NonDeviceIpc : <nl> + ASSERT ( is_in_alias ) ; <nl> + return is_in_region & & ! is_in_heap ; <nl> + default : <nl> + return false ; <nl> + } <nl> + } <nl> + <nl> + constexpr ResultCode PageTable : : CheckMemoryState ( const MemoryInfo & info , MemoryState state_mask , <nl> + MemoryState state , MemoryPermission perm_mask , <nl> + MemoryPermission perm , MemoryAttribute attr_mask , <nl> + MemoryAttribute attr ) const { <nl> + / / Validate the states match expectation <nl> + if ( ( info . state & state_mask ) ! = state ) { <nl> + return ERR_INVALID_ADDRESS_STATE ; <nl> + } <nl> + if ( ( info . perm & perm_mask ) ! = perm ) { <nl> + return ERR_INVALID_ADDRESS_STATE ; <nl> + } <nl> + if ( ( info . attribute & attr_mask ) ! = attr ) { <nl> + return ERR_INVALID_ADDRESS_STATE ; <nl> + } <nl> + <nl> + return RESULT_SUCCESS ; <nl> + } <nl> + <nl> + ResultCode PageTable : : CheckMemoryState ( MemoryState * out_state , MemoryPermission * out_perm , <nl> + MemoryAttribute * out_attr , VAddr addr , std : : size_t size , <nl> + MemoryState state_mask , MemoryState state , <nl> + MemoryPermission perm_mask , MemoryPermission perm , <nl> + MemoryAttribute attr_mask , MemoryAttribute attr , <nl> + MemoryAttribute ignore_attr ) { <nl> + std : : lock_guard lock { page_table_lock } ; <nl> + <nl> + / / Get information about the first block <nl> + const VAddr last_addr { addr + size - 1 } ; <nl> + MemoryBlockManager : : const_iterator it { block_manager - > FindIterator ( addr ) } ; <nl> + MemoryInfo info { it - > GetMemoryInfo ( ) } ; <nl> + <nl> + / / Validate all blocks in the range have correct state <nl> + const MemoryState first_state { info . state } ; <nl> + const MemoryPermission first_perm { info . perm } ; <nl> + const MemoryAttribute first_attr { info . attribute } ; <nl> + <nl> + while ( true ) { <nl> + / / Validate the current block <nl> + if ( ! ( info . state = = first_state ) ) { <nl> + return ERR_INVALID_ADDRESS_STATE ; <nl> + } <nl> + if ( ! ( info . perm = = first_perm ) ) { <nl> + return ERR_INVALID_ADDRESS_STATE ; <nl> + } <nl> + if ( ! ( ( info . attribute | static_cast < MemoryAttribute > ( ignore_attr ) ) = = <nl> + ( first_attr | static_cast < MemoryAttribute > ( ignore_attr ) ) ) ) { <nl> + return ERR_INVALID_ADDRESS_STATE ; <nl> + } <nl> + <nl> + / / Validate against the provided masks <nl> + if ( const ResultCode result { <nl> + CheckMemoryState ( info , state_mask , state , perm_mask , perm , attr_mask , attr ) } ; <nl> + result . IsError ( ) ) { <nl> + return result ; <nl> + } <nl> + <nl> + / / Break once we ' re done <nl> + if ( last_addr < = info . GetLastAddress ( ) ) { <nl> + break ; <nl> + } <nl> + <nl> + / / Advance our iterator <nl> + it + + ; <nl> + ASSERT ( it ! = block_manager - > cend ( ) ) ; <nl> + info = it - > GetMemoryInfo ( ) ; <nl> + } <nl> + <nl> + / / Write output state <nl> + if ( out_state ) { <nl> + * out_state = first_state ; <nl> + } <nl> + if ( out_perm ) { <nl> + * out_perm = first_perm ; <nl> + } <nl> + if ( out_attr ) { <nl> + * out_attr = first_attr & static_cast < MemoryAttribute > ( ~ ignore_attr ) ; <nl> + } <nl> + <nl> + return RESULT_SUCCESS ; <nl> + } <nl> + <nl> + } / / namespace Kernel : : Memory <nl> new file mode 100644 <nl> index 00000000000 . . 6c3a3c275ac <nl> mmm / dev / null <nl> ppp b / src / core / hle / kernel / memory / page_table . h <nl> <nl> + / / Copyright 2020 yuzu Emulator Project <nl> + / / Licensed under GPLv2 or any later version <nl> + / / Refer to the license . txt file included . <nl> + <nl> + # pragma once <nl> + <nl> + # include < list > <nl> + # include < memory > <nl> + # include < mutex > <nl> + <nl> + # include " common / common_funcs . h " <nl> + # include " common / common_types . h " <nl> + # include " common / page_table . h " <nl> + # include " core / file_sys / program_metadata . h " <nl> + # include " core / hle / kernel / memory / memory_block . h " <nl> + # include " core / hle / kernel / memory / memory_manager . h " <nl> + <nl> + namespace Core { <nl> + class System ; <nl> + } <nl> + <nl> + namespace Kernel : : Memory { <nl> + <nl> + class MemoryBlockManager ; <nl> + <nl> + class PageTable final : NonCopyable { <nl> + public : <nl> + explicit PageTable ( Core : : System & system ) ; <nl> + <nl> + ResultCode InitializeForProcess ( FileSys : : ProgramAddressSpaceType as_type , bool enable_aslr , <nl> + VAddr code_addr , std : : size_t code_size , <nl> + Memory : : MemoryManager : : Pool pool ) ; <nl> + ResultCode MapProcessCode ( VAddr addr , std : : size_t pages_count , MemoryState state , <nl> + MemoryPermission perm ) ; <nl> + ResultCode MapProcessCodeMemory ( VAddr dst_addr , VAddr src_addr , std : : size_t size ) ; <nl> + ResultCode UnmapProcessCodeMemory ( VAddr dst_addr , VAddr src_addr , std : : size_t size ) ; <nl> + ResultCode MapPhysicalMemory ( VAddr addr , std : : size_t size ) ; <nl> + ResultCode UnmapPhysicalMemory ( VAddr addr , std : : size_t size ) ; <nl> + ResultCode UnmapMemory ( VAddr addr , std : : size_t size ) ; <nl> + ResultCode Map ( VAddr dst_addr , VAddr src_addr , std : : size_t size ) ; <nl> + ResultCode Unmap ( VAddr dst_addr , VAddr src_addr , std : : size_t size ) ; <nl> + ResultCode MapPages ( VAddr addr , PageLinkedList & page_linked_list , MemoryState state , <nl> + MemoryPermission perm ) ; <nl> + ResultCode SetCodeMemoryPermission ( VAddr addr , std : : size_t size , MemoryPermission perm ) ; <nl> + MemoryInfo QueryInfo ( VAddr addr ) ; <nl> + ResultCode ReserveTransferMemory ( VAddr addr , std : : size_t size , MemoryPermission perm ) ; <nl> + ResultCode ResetTransferMemory ( VAddr addr , std : : size_t size ) ; <nl> + ResultCode SetMemoryAttribute ( VAddr addr , std : : size_t size , MemoryAttribute mask , <nl> + MemoryAttribute value ) ; <nl> + ResultCode SetHeapCapacity ( std : : size_t new_heap_capacity ) ; <nl> + ResultVal < VAddr > SetHeapSize ( std : : size_t size ) ; <nl> + ResultVal < VAddr > AllocateAndMapMemory ( std : : size_t needed_num_pages , std : : size_t align , <nl> + bool is_map_only , VAddr region_start , <nl> + std : : size_t region_num_pages , MemoryState state , <nl> + MemoryPermission perm , PAddr map_addr = 0 ) ; <nl> + PAddr GetPhysicalAddr ( VAddr addr ) ; <nl> + <nl> + Common : : PageTable & PageTableImpl ( ) { <nl> + return page_table_impl ; <nl> + } <nl> + <nl> + const Common : : PageTable & PageTableImpl ( ) const { <nl> + return page_table_impl ; <nl> + } <nl> + <nl> + private : <nl> + enum class OperationType : u32 { <nl> + Map , <nl> + MapGroup , <nl> + Unmap , <nl> + ChangePermissions , <nl> + ChangePermissionsAndRefresh , <nl> + } ; <nl> + <nl> + static constexpr MemoryAttribute DefaultMemoryIgnoreAttr = <nl> + MemoryAttribute : : DontCareMask | MemoryAttribute : : IpcLocked | MemoryAttribute : : DeviceShared ; <nl> + <nl> + ResultCode InitializeMemoryLayout ( VAddr start , VAddr end ) ; <nl> + ResultCode MapPages ( VAddr addr , const PageLinkedList & page_linked_list , MemoryPermission perm ) ; <nl> + void MapPhysicalMemory ( PageLinkedList & page_linked_list , VAddr start , VAddr end ) ; <nl> + bool IsRegionMapped ( VAddr address , u64 size ) ; <nl> + bool IsRegionContiguous ( VAddr addr , u64 size ) const ; <nl> + void AddRegionToPages ( VAddr start , std : : size_t num_pages , PageLinkedList & page_linked_list ) ; <nl> + MemoryInfo QueryInfoImpl ( VAddr addr ) ; <nl> + VAddr AllocateVirtualMemory ( VAddr start , std : : size_t region_num_pages , u64 needed_num_pages , <nl> + std : : size_t align ) ; <nl> + ResultCode Operate ( VAddr addr , std : : size_t num_pages , const PageLinkedList & page_group , <nl> + OperationType operation ) ; <nl> + ResultCode Operate ( VAddr addr , std : : size_t num_pages , MemoryPermission perm , <nl> + OperationType operation , PAddr map_addr = 0 ) ; <nl> + constexpr VAddr GetRegionAddress ( MemoryState state ) const ; <nl> + constexpr std : : size_t GetRegionSize ( MemoryState state ) const ; <nl> + constexpr bool CanContain ( VAddr addr , std : : size_t size , MemoryState state ) const ; <nl> + <nl> + constexpr ResultCode CheckMemoryState ( const MemoryInfo & info , MemoryState state_mask , <nl> + MemoryState state , MemoryPermission perm_mask , <nl> + MemoryPermission perm , MemoryAttribute attr_mask , <nl> + MemoryAttribute attr ) const ; <nl> + ResultCode CheckMemoryState ( MemoryState * out_state , MemoryPermission * out_perm , <nl> + MemoryAttribute * out_attr , VAddr addr , std : : size_t size , <nl> + MemoryState state_mask , MemoryState state , <nl> + MemoryPermission perm_mask , MemoryPermission perm , <nl> + MemoryAttribute attr_mask , MemoryAttribute attr , <nl> + MemoryAttribute ignore_attr = DefaultMemoryIgnoreAttr ) ; <nl> + ResultCode CheckMemoryState ( VAddr addr , std : : size_t size , MemoryState state_mask , <nl> + MemoryState state , MemoryPermission perm_mask , <nl> + MemoryPermission perm , MemoryAttribute attr_mask , <nl> + MemoryAttribute attr , <nl> + MemoryAttribute ignore_attr = DefaultMemoryIgnoreAttr ) { <nl> + return CheckMemoryState ( nullptr , nullptr , nullptr , addr , size , state_mask , state , perm_mask , <nl> + perm , attr_mask , attr , ignore_attr ) ; <nl> + } <nl> + <nl> + std : : recursive_mutex page_table_lock ; <nl> + std : : unique_ptr < MemoryBlockManager > block_manager ; <nl> + <nl> + public : <nl> + constexpr VAddr GetAddressSpaceStart ( ) const { <nl> + return address_space_start ; <nl> + } <nl> + constexpr VAddr GetAddressSpaceEnd ( ) const { <nl> + return address_space_end ; <nl> + } <nl> + constexpr std : : size_t GetAddressSpaceSize ( ) const { <nl> + return address_space_end - address_space_start ; <nl> + } <nl> + constexpr VAddr GetHeapRegionStart ( ) const { <nl> + return heap_region_start ; <nl> + } <nl> + constexpr VAddr GetHeapRegionEnd ( ) const { <nl> + return heap_region_end ; <nl> + } <nl> + constexpr std : : size_t GetHeapRegionSize ( ) const { <nl> + return heap_region_end - heap_region_start ; <nl> + } <nl> + constexpr VAddr GetAliasRegionStart ( ) const { <nl> + return alias_region_start ; <nl> + } <nl> + constexpr VAddr GetAliasRegionEnd ( ) const { <nl> + return alias_region_end ; <nl> + } <nl> + constexpr std : : size_t GetAliasRegionSize ( ) const { <nl> + return alias_region_end - alias_region_start ; <nl> + } <nl> + constexpr VAddr GetStackRegionStart ( ) const { <nl> + return stack_region_start ; <nl> + } <nl> + constexpr VAddr GetStackRegionEnd ( ) const { <nl> + return stack_region_end ; <nl> + } <nl> + constexpr std : : size_t GetStackRegionSize ( ) const { <nl> + return stack_region_end - stack_region_start ; <nl> + } <nl> + constexpr VAddr GetKernelMapRegionStart ( ) const { <nl> + return kernel_map_region_start ; <nl> + } <nl> + constexpr VAddr GetKernelMapRegionEnd ( ) const { <nl> + return kernel_map_region_end ; <nl> + } <nl> + constexpr VAddr GetCodeRegionStart ( ) const { <nl> + return code_region_start ; <nl> + } <nl> + constexpr VAddr GetCodeRegionEnd ( ) const { <nl> + return code_region_end ; <nl> + } <nl> + constexpr VAddr GetAliasCodeRegionStart ( ) const { <nl> + return alias_code_region_start ; <nl> + } <nl> + constexpr VAddr GetAliasCodeRegionSize ( ) const { <nl> + return alias_code_region_end - alias_code_region_start ; <nl> + } <nl> + constexpr std : : size_t GetAddressSpaceWidth ( ) const { <nl> + return address_space_width ; <nl> + } <nl> + constexpr std : : size_t GetHeapSize ( ) { <nl> + return current_heap_addr - heap_region_start ; <nl> + } <nl> + constexpr std : : size_t GetTotalHeapSize ( ) { <nl> + return GetHeapSize ( ) + physical_memory_usage ; <nl> + } <nl> + constexpr bool IsInsideAddressSpace ( VAddr address , std : : size_t size ) const { <nl> + return address_space_start < = address & & address + size - 1 < = address_space_end - 1 ; <nl> + } <nl> + constexpr bool IsOutsideAliasRegion ( VAddr address , std : : size_t size ) const { <nl> + return alias_region_start > address | | address + size - 1 > alias_region_end - 1 ; <nl> + } <nl> + constexpr bool IsOutsideStackRegion ( VAddr address , std : : size_t size ) const { <nl> + return stack_region_start > address | | address + size - 1 > stack_region_end - 1 ; <nl> + } <nl> + constexpr bool IsInvalidRegion ( VAddr address , std : : size_t size ) const { <nl> + return address + size - 1 > GetAliasCodeRegionStart ( ) + GetAliasCodeRegionSize ( ) - 1 ; <nl> + } <nl> + constexpr bool IsInsideHeapRegion ( VAddr address , std : : size_t size ) const { <nl> + return address + size > heap_region_start & & heap_region_end > address ; <nl> + } <nl> + constexpr bool IsInsideAliasRegion ( VAddr address , std : : size_t size ) const { <nl> + return address + size > alias_region_start & & alias_region_end > address ; <nl> + } <nl> + constexpr bool IsOutsideASLRRegion ( VAddr address , std : : size_t size ) const { <nl> + if ( IsInvalidRegion ( address , size ) ) { <nl> + return true ; <nl> + } <nl> + if ( IsInsideHeapRegion ( address , size ) ) { <nl> + return true ; <nl> + } <nl> + if ( IsInsideAliasRegion ( address , size ) ) { <nl> + return true ; <nl> + } <nl> + return { } ; <nl> + } <nl> + constexpr bool IsInsideASLRRegion ( VAddr address , std : : size_t size ) const { <nl> + return ! IsOutsideASLRRegion ( address , size ) ; <nl> + } <nl> + <nl> + private : <nl> + constexpr bool Contains ( VAddr addr ) const { <nl> + return address_space_start < = addr & & addr < = address_space_end - 1 ; <nl> + } <nl> + constexpr bool Contains ( VAddr addr , std : : size_t size ) const { <nl> + return address_space_start < = addr & & addr < addr + size & & <nl> + addr + size - 1 < = address_space_end - 1 ; <nl> + } <nl> + constexpr bool IsKernel ( ) const { <nl> + return is_kernel ; <nl> + } <nl> + constexpr bool IsAslrEnabled ( ) const { <nl> + return is_aslr_enabled ; <nl> + } <nl> + <nl> + constexpr std : : size_t GetNumGuardPages ( ) const { <nl> + return IsKernel ( ) ? 1 : 4 ; <nl> + } <nl> + <nl> + constexpr bool ContainsPages ( VAddr addr , std : : size_t num_pages ) const { <nl> + return ( address_space_start < = addr ) & & <nl> + ( num_pages < = ( address_space_end - address_space_start ) / PageSize ) & & <nl> + ( addr + num_pages * PageSize - 1 < = address_space_end - 1 ) ; <nl> + } <nl> + <nl> + private : <nl> + VAddr address_space_start { } ; <nl> + VAddr address_space_end { } ; <nl> + VAddr heap_region_start { } ; <nl> + VAddr heap_region_end { } ; <nl> + VAddr current_heap_end { } ; <nl> + VAddr alias_region_start { } ; <nl> + VAddr alias_region_end { } ; <nl> + VAddr stack_region_start { } ; <nl> + VAddr stack_region_end { } ; <nl> + VAddr kernel_map_region_start { } ; <nl> + VAddr kernel_map_region_end { } ; <nl> + VAddr code_region_start { } ; <nl> + VAddr code_region_end { } ; <nl> + VAddr alias_code_region_start { } ; <nl> + VAddr alias_code_region_end { } ; <nl> + VAddr current_heap_addr { } ; <nl> + <nl> + std : : size_t heap_capacity { } ; <nl> + std : : size_t physical_memory_usage { } ; <nl> + std : : size_t max_heap_size { } ; <nl> + std : : size_t max_physical_memory_size { } ; <nl> + std : : size_t address_space_width { } ; <nl> + <nl> + bool is_kernel { } ; <nl> + bool is_aslr_enabled { } ; <nl> + <nl> + MemoryManager : : Pool memory_pool { MemoryManager : : Pool : : Application } ; <nl> + <nl> + Common : : PageTable page_table_impl ; <nl> + <nl> + Core : : System & system ; <nl> + } ; <nl> + <nl> + } / / namespace Kernel : : Memory <nl>
kernel : memory : Add PageTable class , to manage process address space .
yuzu-emu/yuzu
84f1b6d5305d5d02840398d363964e1e78723553
2020-04-17T04:59:31Z
mmm a / include / swift / IRGen / Linking . h <nl> ppp b / include / swift / IRGen / Linking . h <nl> class Triple ; <nl> namespace swift { <nl> namespace irgen { <nl> class IRGenModule ; <nl> + class Alignment ; <nl> <nl> / / / Determine if the triple uses the DLL storage . <nl> bool useDllStorage ( const llvm : : Triple & triple ) ; <nl> class LinkEntity { <nl> <nl> return getDecl ( ) - > isWeakImported ( module ) ; <nl> } <nl> + <nl> + / / / Return the source file whose codegen should trigger emission of this <nl> + / / / link entity , if one can be identified . <nl> + const SourceFile * getSourceFileForEmission ( ) const ; <nl> + <nl> + / / / Get the preferred alignment for the definition of this entity . <nl> + Alignment getAlignment ( IRGenModule & IGM ) const ; <nl> + <nl> + / / / Get the default LLVM type to use for forward declarations of this <nl> + / / / entity . <nl> + llvm : : Type * getDefaultDeclarationType ( IRGenModule & IGM ) const ; <nl> # undef LINKENTITY_GET_FIELD <nl> # undef LINKENTITY_SET_FIELD <nl> } ; <nl> mmm a / lib / IRGen / GenDecl . cpp <nl> ppp b / lib / IRGen / GenDecl . cpp <nl> IRGenModule : : getAddrOfParentContextDescriptor ( DeclContext * from ) { <nl> ? ConstantReference : : Indirect <nl> : ConstantReference : : Direct ; <nl> <nl> + IRGen . noteUseOfTypeContextDescriptor ( nominal , DontRequireMetadata ) ; <nl> return getAddrOfLLVMVariableOrGOTEquivalent ( <nl> LinkEntity : : forNominalTypeDescriptor ( nominal ) , <nl> - Alignment ( 4 ) , <nl> - TypeContextDescriptorTy , <nl> shouldBeIndirect ) ; <nl> } <nl> } <nl> IRGenModule : : getConstantReferenceForProtocolDescriptor ( ProtocolDecl * proto ) { <nl> / / Try to form a direct reference to the nominal type descriptor if it ' s in <nl> / / the same binary , or use the GOT entry if it ' s from another binary . <nl> return getAddrOfLLVMVariableOrGOTEquivalent ( <nl> - LinkEntity : : forProtocolDescriptor ( proto ) , <nl> - getPointerAlignment ( ) , <nl> - ProtocolDescriptorStructTy ) ; <nl> + LinkEntity : : forProtocolDescriptor ( proto ) ) ; <nl> } <nl> <nl> llvm : : Constant * IRGenModule : : getAddrOfAssociatedTypeGenericParamRef ( <nl> llvm : : Constant * IRGenModule : : getAddrOfAssociatedTypeGenericParamRef ( <nl> / / Add a reference to the associated type descriptor . <nl> auto assocTypeDescriptor = <nl> getAddrOfLLVMVariableOrGOTEquivalent ( <nl> - LinkEntity : : forAssociatedTypeDescriptor ( assocType ) , <nl> - Alignment ( 4 ) , ProtocolRequirementStructTy ) ; <nl> + LinkEntity : : forAssociatedTypeDescriptor ( assocType ) ) ; <nl> B . addRelativeAddress ( assocTypeDescriptor ) ; <nl> } <nl> <nl> void IRGenerator : : addLazyFunction ( SILFunction * f ) { <nl> void IRGenerator : : noteUseOfTypeGlobals ( NominalTypeDecl * type , <nl> bool isUseOfMetadata , <nl> RequireMetadata_t requireMetadata ) { <nl> + if ( ! type ) <nl> + return ; <nl> + <nl> / / Try to create a new record of the fact that we used this type . <nl> auto insertResult = LazyTypeGlobals . try_emplace ( type ) ; <nl> auto & entry = insertResult . first - > second ; <nl> - <nl> + <nl> bool metadataWasUsed = entry . IsMetadataUsed ; <nl> bool descriptorWasUsed = entry . IsDescriptorUsed ; <nl> <nl> static llvm : : Constant * getElementBitCast ( llvm : : Constant * ptr , <nl> / / / result to emitRelativeReference , passing the correct base - address <nl> / / / information . <nl> ConstantReference <nl> - IRGenModule : : getAddrOfLLVMVariable ( LinkEntity entity , Alignment alignment , <nl> + IRGenModule : : getAddrOfLLVMVariable ( LinkEntity entity , <nl> ConstantInit definition , <nl> - llvm : : Type * defaultType , <nl> DebugTypeInfo debugType , <nl> - SymbolReferenceKind refKind ) { <nl> + SymbolReferenceKind refKind , <nl> + llvm : : Type * overrideDeclType ) { <nl> switch ( refKind ) { <nl> case SymbolReferenceKind : : Relative_Direct : <nl> case SymbolReferenceKind : : Far_Relative_Direct : <nl> IRGenModule : : getAddrOfLLVMVariable ( LinkEntity entity , Alignment alignment , <nl> LLVM_FALLTHROUGH ; <nl> <nl> case SymbolReferenceKind : : Absolute : <nl> - return { getAddrOfLLVMVariable ( entity , alignment , definition , <nl> - defaultType , debugType ) , <nl> + return { getAddrOfLLVMVariable ( entity , definition , debugType , <nl> + overrideDeclType ) , <nl> ConstantReference : : Direct } ; <nl> <nl> <nl> case SymbolReferenceKind : : Relative_Indirectable : <nl> case SymbolReferenceKind : : Far_Relative_Indirectable : <nl> assert ( ! definition ) ; <nl> - return getAddrOfLLVMVariableOrGOTEquivalent ( entity , alignment , defaultType ) ; <nl> + return getAddrOfLLVMVariableOrGOTEquivalent ( entity ) ; <nl> } <nl> llvm_unreachable ( " bad reference kind " ) ; <nl> } <nl> IRGenModule : : getAddrOfLLVMVariable ( LinkEntity entity , Alignment alignment , <nl> / / / A convenient wrapper around getAddrOfLLVMVariable which uses the <nl> / / / default type as the definition type . <nl> llvm : : Constant * <nl> - IRGenModule : : getAddrOfLLVMVariable ( LinkEntity entity , Alignment alignment , <nl> + IRGenModule : : getAddrOfLLVMVariable ( LinkEntity entity , <nl> ForDefinition_t forDefinition , <nl> - llvm : : Type * defaultType , <nl> DebugTypeInfo debugType ) { <nl> - auto definition = <nl> - ( forDefinition ? ConstantInit : : getDelayed ( defaultType ) : ConstantInit ( ) ) ; <nl> - return getAddrOfLLVMVariable ( entity , alignment , definition , <nl> - defaultType , debugType ) ; <nl> + auto definition = forDefinition <nl> + ? ConstantInit : : getDelayed ( entity . getDefaultDeclarationType ( * this ) ) <nl> + : ConstantInit ( ) ; <nl> + return getAddrOfLLVMVariable ( entity , definition , debugType ) ; <nl> } <nl> <nl> / / / Get or create an llvm : : GlobalVariable . <nl> IRGenModule : : getAddrOfLLVMVariable ( LinkEntity entity , Alignment alignment , <nl> / / / llvm : : GlobalVariable of that type . Otherwise , the result will <nl> / / / have type pointerToDefaultType and may involve bitcasts . <nl> llvm : : Constant * <nl> - IRGenModule : : getAddrOfLLVMVariable ( LinkEntity entity , Alignment alignment , <nl> + IRGenModule : : getAddrOfLLVMVariable ( LinkEntity entity , <nl> ConstantInit definition , <nl> - llvm : : Type * defaultType , <nl> - DebugTypeInfo DbgTy ) { <nl> + DebugTypeInfo DbgTy , <nl> + llvm : : Type * overrideDeclType ) { <nl> / / This function assumes that ' globals ' only contains GlobalValue <nl> / / values for the entities that it will look up . <nl> <nl> llvm : : Type * definitionType = ( definition ? definition . getType ( ) : nullptr ) ; <nl> - <nl> + auto defaultType = overrideDeclType <nl> + ? overrideDeclType <nl> + : entity . getDefaultDeclarationType ( * this ) ; <nl> + <nl> auto & entry = GlobalVars [ entity ] ; <nl> if ( entry ) { <nl> auto existing = cast < llvm : : GlobalValue > ( entry ) ; <nl> IRGenModule : : getAddrOfLLVMVariable ( LinkEntity entity , Alignment alignment , <nl> if ( ! definitionType ) definitionType = defaultType ; <nl> <nl> / / Create the variable . <nl> - auto var = createVariable ( * this , link , definitionType , alignment , DbgTy ) ; <nl> + auto var = createVariable ( * this , link , definitionType , <nl> + entity . getAlignment ( * this ) , DbgTy ) ; <nl> <nl> / / Install the concrete definition if we have one . <nl> if ( definition & & definition . hasInit ( ) ) { <nl> IRGenModule : : getAddrOfLLVMVariable ( LinkEntity entity , Alignment alignment , <nl> / / / relative references to the GOT entry for the variable in the object file . <nl> ConstantReference <nl> IRGenModule : : getAddrOfLLVMVariableOrGOTEquivalent ( LinkEntity entity , <nl> - Alignment alignment , <nl> - llvm : : Type * defaultType , <nl> ConstantReference : : Directness forceIndirectness ) { <nl> / / ObjC class references can always be directly referenced , even in <nl> / / the weird cases where we don ' t see a definition . <nl> IRGenModule : : getAddrOfLLVMVariableOrGOTEquivalent ( LinkEntity entity , <nl> = getAddrOfForeignTypeMetadataCandidate ( entity . getType ( ) ) ; <nl> ( void ) foreignCandidate ; <nl> } else { <nl> - getAddrOfLLVMVariable ( entity , alignment , ConstantInit ( ) , <nl> - defaultType , DebugTypeInfo ( ) ) ; <nl> + getAddrOfLLVMVariable ( entity , ConstantInit ( ) , DebugTypeInfo ( ) ) ; <nl> } <nl> <nl> / / Guess whether a global entry is a definition from this TU . This isn ' t <nl> getTypeContextDescriptorEntityReference ( IRGenModule & IGM , <nl> / / to be looked up dynamically ) for types defined outside the module . <nl> auto kind = TypeReferenceKind : : DirectNominalTypeDescriptor ; <nl> auto entity = LinkEntity : : forNominalTypeDescriptor ( decl ) ; <nl> - auto defaultTy = IGM . TypeContextDescriptorTy ; <nl> <nl> - auto ref = IGM . getAddrOfLLVMVariableOrGOTEquivalent ( <nl> - entity , IGM . getPointerAlignment ( ) , defaultTy ) ; <nl> + IGM . IRGen . noteUseOfTypeContextDescriptor ( decl , DontRequireMetadata ) ; <nl> + auto ref = IGM . getAddrOfLLVMVariableOrGOTEquivalent ( entity ) ; <nl> <nl> if ( ref . isIndirect ( ) ) { <nl> kind = TypeReferenceKind : : IndirectNominalTypeDescriptor ; <nl> getObjCClassRefEntityReference ( IRGenModule & IGM , ClassDecl * cls ) { <nl> <nl> auto kind = TypeReferenceKind : : IndirectObjCClass ; <nl> auto entity = LinkEntity : : forObjCClassRef ( cls ) ; <nl> - auto defaultTy = IGM . TypeMetadataPtrTy ; <nl> <nl> - auto ref = IGM . getAddrOfLLVMVariableOrGOTEquivalent ( <nl> - entity , IGM . getPointerAlignment ( ) , defaultTy ) ; <nl> + auto ref = IGM . getAddrOfLLVMVariableOrGOTEquivalent ( entity ) ; <nl> assert ( ! ref . isIndirect ( ) ) ; <nl> <nl> return TypeEntityReference ( kind , ref . getValue ( ) ) ; <nl> llvm : : Constant * IRGenModule : : emitSwiftProtocols ( ) { <nl> <nl> / / Relative reference to the protocol descriptor . <nl> auto descriptorRef = getAddrOfLLVMVariableOrGOTEquivalent ( <nl> - LinkEntity : : forProtocolDescriptor ( protocol ) , <nl> - getPointerAlignment ( ) , ProtocolDescriptorStructTy ) ; <nl> + LinkEntity : : forProtocolDescriptor ( protocol ) ) ; <nl> record . addRelativeAddress ( descriptorRef ) ; <nl> <nl> record . finishAndAddTo ( recordsArray ) ; <nl> llvm : : Constant * IRGenModule : : emitProtocolConformances ( ) { <nl> <nl> auto entity = LinkEntity : : forProtocolConformanceDescriptor ( conformance ) ; <nl> auto descriptor = <nl> - getAddrOfLLVMVariable ( entity , getPointerAlignment ( ) , ConstantInit ( ) , <nl> - ProtocolConformanceDescriptorTy , DebugTypeInfo ( ) ) ; <nl> + getAddrOfLLVMVariable ( entity , ConstantInit ( ) , DebugTypeInfo ( ) ) ; <nl> descriptorArray . addRelativeAddress ( descriptor ) ; <nl> } <nl> <nl> llvm : : Constant * IRGenModule : : emitTypeMetadataRecords ( ) { <nl> for ( auto type : RuntimeResolvableTypes ) { <nl> auto ref = getTypeEntityReference ( type ) ; <nl> <nl> - / / Form the relative address , with the type refernce kind in the low bits . <nl> + / / Form the relative address , with the type reference kind in the low bits . <nl> unsigned arrayIdx = elts . size ( ) ; <nl> llvm : : Constant * relativeAddr = <nl> emitDirectRelativeReference ( ref . getValue ( ) , var , { arrayIdx , 0 } ) ; <nl> llvm : : Constant * IRGenModule : : emitFieldDescriptors ( ) { <nl> Address IRGenModule : : getAddrOfObjCClassRef ( ClassDecl * theClass ) { <nl> assert ( ObjCInterop & & " getting address of ObjC class ref in no - interop mode " ) ; <nl> <nl> - Alignment alignment = getPointerAlignment ( ) ; <nl> - <nl> LinkEntity entity = LinkEntity : : forObjCClassRef ( theClass ) ; <nl> auto DbgTy = DebugTypeInfo : : getObjCClass ( <nl> theClass , ObjCClassPtrTy , getPointerSize ( ) , getPointerAlignment ( ) ) ; <nl> - auto addr = getAddrOfLLVMVariable ( entity , alignment , ConstantInit ( ) , <nl> - ObjCClassPtrTy , DbgTy ) ; <nl> + auto addr = getAddrOfLLVMVariable ( entity , ConstantInit ( ) , DbgTy ) ; <nl> <nl> / / Define it lazily . <nl> if ( auto global = dyn_cast < llvm : : GlobalVariable > ( addr ) ) { <nl> Address IRGenModule : : getAddrOfObjCClassRef ( ClassDecl * theClass ) { <nl> } <nl> } <nl> <nl> - return Address ( addr , alignment ) ; <nl> + return Address ( addr , entity . getAlignment ( * this ) ) ; <nl> } <nl> <nl> / / / Fetch a global reference to the given Objective - C class . The <nl> llvm : : Constant * IRGenModule : : getAddrOfObjCClass ( ClassDecl * theClass , <nl> LinkEntity entity = LinkEntity : : forObjCClass ( theClass ) ; <nl> auto DbgTy = DebugTypeInfo : : getObjCClass ( <nl> theClass , ObjCClassPtrTy , getPointerSize ( ) , getPointerAlignment ( ) ) ; <nl> - auto addr = getAddrOfLLVMVariable ( entity , getPointerAlignment ( ) , <nl> - forDefinition , ObjCClassStructTy , DbgTy ) ; <nl> + auto addr = getAddrOfLLVMVariable ( entity , forDefinition , DbgTy ) ; <nl> return addr ; <nl> } <nl> <nl> IRGenModule : : getAddrOfMetaclassObject ( ClassDecl * decl , <nl> <nl> auto DbgTy = DebugTypeInfo : : getObjCClass ( <nl> decl , ObjCClassPtrTy , getPointerSize ( ) , getPointerAlignment ( ) ) ; <nl> - auto addr = getAddrOfLLVMVariable ( entity , getPointerAlignment ( ) , <nl> - forDefinition , ObjCClassStructTy , DbgTy ) ; <nl> + auto addr = getAddrOfLLVMVariable ( entity , forDefinition , DbgTy ) ; <nl> return addr ; <nl> } <nl> <nl> IRGenModule : : getAddrOfTypeMetadataLazyCacheVariable ( CanType type , <nl> assert ( ! type - > hasArchetype ( ) & & ! type - > hasTypeParameter ( ) ) ; <nl> LinkEntity entity = LinkEntity : : forTypeMetadataLazyCacheVariable ( type ) ; <nl> auto variable = <nl> - getAddrOfLLVMVariable ( entity , getPointerAlignment ( ) , forDefinition , <nl> - TypeMetadataPtrTy , DebugTypeInfo ( ) ) ; <nl> + getAddrOfLLVMVariable ( entity , forDefinition , DebugTypeInfo ( ) ) ; <nl> <nl> / / Zero - initialize if we ' re asking for a definition . <nl> if ( forDefinition ) { <nl> llvm : : Constant * <nl> IRGenModule : : getAddrOfTypeMetadataSingletonInitializationCache ( <nl> NominalTypeDecl * D , <nl> ForDefinition_t forDefinition ) { <nl> - / / Build the cache type . <nl> - llvm : : Type * cacheTy ; <nl> - if ( isa < StructDecl > ( D ) | | isa < EnumDecl > ( D ) | | isa < ClassDecl > ( D ) ) { <nl> - / / This is struct SingletonMetadataCache . <nl> - cacheTy = llvm : : StructType : : get ( getLLVMContext ( ) , <nl> - { TypeMetadataPtrTy , Int8PtrTy } ) ; <nl> - } else { <nl> - llvm_unreachable ( " in - place initialization for classes not yet supported " ) ; <nl> - } <nl> - <nl> auto entity = LinkEntity : : forTypeMetadataSingletonInitializationCache ( D ) ; <nl> auto variable = <nl> - getAddrOfLLVMVariable ( entity , getPointerAlignment ( ) , forDefinition , <nl> - cacheTy , DebugTypeInfo ( ) ) ; <nl> + getAddrOfLLVMVariable ( entity , forDefinition , DebugTypeInfo ( ) ) ; <nl> <nl> / / Zero - initialize if we ' re asking for a definition . <nl> if ( forDefinition ) { <nl> cast < llvm : : GlobalVariable > ( variable ) - > setInitializer ( <nl> - llvm : : Constant : : getNullValue ( cacheTy ) ) ; <nl> + llvm : : Constant : : getNullValue ( variable - > getType ( ) - > getPointerElementType ( ) ) ) ; <nl> } <nl> <nl> return variable ; <nl> llvm : : GlobalValue * IRGenModule : : defineTypeMetadata ( CanType concreteType , <nl> / / / For concrete metadata , we want to use the initializer on the <nl> / / / " full metadata " , and define the " direct " address point as an alias . <nl> TypeMetadataAddress addrKind ; <nl> - llvm : : Type * defaultVarTy ; <nl> unsigned adjustmentIndex ; <nl> - Alignment alignment = getPointerAlignment ( ) ; <nl> <nl> if ( concreteType - > getClassOrBoundGenericClass ( ) ) { <nl> addrKind = TypeMetadataAddress : : FullMetadata ; <nl> - defaultVarTy = FullHeapMetadataStructTy ; <nl> adjustmentIndex = MetadataAdjustmentIndex : : Class ; <nl> } else { <nl> addrKind = TypeMetadataAddress : : FullMetadata ; <nl> - defaultVarTy = FullTypeMetadataStructTy ; <nl> adjustmentIndex = MetadataAdjustmentIndex : : ValueType ; <nl> } <nl> <nl> auto entity = LinkEntity : : forTypeMetadata ( concreteType , addrKind ) ; <nl> <nl> auto DbgTy = DebugTypeInfo : : getMetadata ( MetatypeType : : get ( concreteType ) , <nl> - defaultVarTy - > getPointerTo ( ) , Size ( 0 ) , <nl> - Alignment ( 1 ) ) ; <nl> + entity . getDefaultDeclarationType ( * this ) - > getPointerTo ( ) , <nl> + Size ( 0 ) , Alignment ( 1 ) ) ; <nl> <nl> / / Define the variable . <nl> llvm : : GlobalVariable * var = cast < llvm : : GlobalVariable > ( <nl> - getAddrOfLLVMVariable ( entity , alignment , init , defaultVarTy , DbgTy ) ) ; <nl> + getAddrOfLLVMVariable ( entity , init , DbgTy ) ) ; <nl> <nl> var - > setConstant ( isConstant ) ; <nl> if ( ! section . empty ( ) ) <nl> llvm : : GlobalValue * IRGenModule : : defineTypeMetadata ( CanType concreteType , <nl> <nl> / / For concrete metadata , declare the alias to its address point . <nl> auto directEntity = LinkEntity : : forTypeMetadata ( concreteType , <nl> - TypeMetadataAddress : : AddressPoint ) ; <nl> + TypeMetadataAddress : : AddressPoint ) ; <nl> <nl> llvm : : Constant * addr = var ; <nl> / / Do an adjustment if necessary . <nl> ConstantReference IRGenModule : : getAddrOfTypeMetadata ( CanType concreteType , <nl> <nl> llvm : : Type * defaultVarTy ; <nl> unsigned adjustmentIndex ; <nl> - Alignment alignment = getPointerAlignment ( ) ; <nl> <nl> ClassDecl * ObjCClass = nullptr ; <nl> <nl> ConstantReference IRGenModule : : getAddrOfTypeMetadata ( CanType concreteType , <nl> defaultVarTy - > getPointerTo ( ) , Size ( 0 ) , <nl> Alignment ( 1 ) ) ; <nl> <nl> - auto addr = getAddrOfLLVMVariable ( entity , alignment , ConstantInit ( ) , <nl> - defaultVarTy , DbgTy , refKind ) ; <nl> + auto addr = getAddrOfLLVMVariable ( entity , ConstantInit ( ) , DbgTy , refKind , <nl> + defaultVarTy ) ; <nl> <nl> / / FIXME : MC breaks when emitting alias references on some platforms <nl> / / ( rdar : / / problem / 22450593 ) . Work around this by referring to the aliasee <nl> IRGenModule : : getAddrOfTypeMetadataPattern ( NominalTypeDecl * D , <nl> if ( ! init ) <nl> IRGen . noteUseOfTypeMetadata ( D ) ; <nl> <nl> - auto alignment = getPointerAlignment ( ) ; <nl> LinkEntity entity = LinkEntity : : forTypeMetadataPattern ( D ) ; <nl> - auto addr = getAddrOfLLVMVariable ( entity , alignment , init , <nl> - Int8Ty , DebugTypeInfo ( ) ) ; <nl> + auto addr = getAddrOfLLVMVariable ( entity , init , DebugTypeInfo ( ) ) ; <nl> <nl> if ( init ) { <nl> auto var = cast < llvm : : GlobalVariable > ( addr ) ; <nl> IRGenModule : : getAddrOfTypeMetadataPattern ( NominalTypeDecl * D , <nl> llvm : : Constant * <nl> IRGenModule : : getAddrOfClassMetadataBounds ( ClassDecl * D , <nl> ForDefinition_t forDefinition ) { <nl> - / / StoredClassMetadataBounds <nl> - auto layoutTy = llvm : : StructType : : get ( getLLVMContext ( ) , { <nl> - SizeTy , / / Immediate members offset <nl> - Int32Ty , / / Negative size in words <nl> - Int32Ty / / Positive size in words <nl> - } ) ; <nl> - <nl> LinkEntity entity = LinkEntity : : forClassMetadataBaseOffset ( D ) ; <nl> - return getAddrOfLLVMVariable ( entity , getPointerAlignment ( ) , forDefinition , <nl> - layoutTy , DebugTypeInfo ( ) ) ; <nl> + return getAddrOfLLVMVariable ( entity , forDefinition , DebugTypeInfo ( ) ) ; <nl> } <nl> <nl> / / / Return the address of a generic type ' s metadata instantiation cache . <nl> llvm : : Constant * <nl> IRGenModule : : getAddrOfTypeMetadataInstantiationCache ( NominalTypeDecl * D , <nl> ForDefinition_t forDefinition ) { <nl> auto entity = LinkEntity : : forTypeMetadataInstantiationCache ( D ) ; <nl> - auto ty = llvm : : ArrayType : : get ( Int8PtrTy , NumGenericMetadataPrivateDataWords ) ; <nl> - return getAddrOfLLVMVariable ( entity , getPointerAlignment ( ) , <nl> - forDefinition , ty , DebugTypeInfo ( ) ) ; <nl> + return getAddrOfLLVMVariable ( entity , forDefinition , DebugTypeInfo ( ) ) ; <nl> } <nl> <nl> llvm : : Function * <nl> llvm : : Constant * IRGenModule : : getAddrOfTypeContextDescriptor ( NominalTypeDecl * D , <nl> IRGen . noteUseOfTypeContextDescriptor ( D , requireMetadata ) ; <nl> <nl> auto entity = LinkEntity : : forNominalTypeDescriptor ( D ) ; <nl> - return getAddrOfLLVMVariable ( entity , Alignment ( 4 ) , <nl> + return getAddrOfLLVMVariable ( entity , <nl> definition , <nl> - TypeContextDescriptorTy , <nl> DebugTypeInfo ( ) ) ; <nl> } <nl> <nl> llvm : : Constant * IRGenModule : : <nl> getAddrOfReflectionBuiltinDescriptor ( CanType type , <nl> ConstantInit definition ) { <nl> auto entity = LinkEntity : : forReflectionBuiltinDescriptor ( type ) ; <nl> - return getAddrOfLLVMVariable ( entity , Alignment ( 4 ) , <nl> + return getAddrOfLLVMVariable ( entity , <nl> definition , <nl> - FieldDescriptorTy , <nl> DebugTypeInfo ( ) ) ; <nl> } <nl> <nl> llvm : : Constant * IRGenModule : : <nl> getAddrOfReflectionFieldDescriptor ( CanType type , <nl> ConstantInit definition ) { <nl> auto entity = LinkEntity : : forReflectionFieldDescriptor ( type ) ; <nl> - return getAddrOfLLVMVariable ( entity , Alignment ( 4 ) , <nl> + return getAddrOfLLVMVariable ( entity , <nl> definition , <nl> - FieldDescriptorTy , <nl> DebugTypeInfo ( ) ) ; <nl> } <nl> <nl> llvm : : Constant * IRGenModule : : <nl> getAddrOfReflectionAssociatedTypeDescriptor ( const ProtocolConformance * c , <nl> ConstantInit definition ) { <nl> auto entity = LinkEntity : : forReflectionAssociatedTypeDescriptor ( c ) ; <nl> - return getAddrOfLLVMVariable ( entity , Alignment ( 4 ) , <nl> + return getAddrOfLLVMVariable ( entity , <nl> definition , <nl> - FieldDescriptorTy , <nl> DebugTypeInfo ( ) ) ; <nl> } <nl> <nl> getAddrOfReflectionAssociatedTypeDescriptor ( const ProtocolConformance * c , <nl> llvm : : Constant * IRGenModule : : getAddrOfPropertyDescriptor ( AbstractStorageDecl * D , <nl> ConstantInit definition ) { <nl> auto entity = LinkEntity : : forPropertyDescriptor ( D ) ; <nl> - return getAddrOfLLVMVariable ( entity , Alignment ( 4 ) , <nl> + return getAddrOfLLVMVariable ( entity , <nl> definition , <nl> - TypeContextDescriptorTy , <nl> DebugTypeInfo ( ) ) ; <nl> } <nl> <nl> llvm : : Constant * IRGenModule : : getAddrOfProtocolDescriptor ( ProtocolDecl * D , <nl> } <nl> <nl> auto entity = LinkEntity : : forProtocolDescriptor ( D ) ; <nl> - return getAddrOfLLVMVariable ( entity , getPointerAlignment ( ) , definition , <nl> - ProtocolDescriptorStructTy , DebugTypeInfo ( ) ) ; <nl> + return getAddrOfLLVMVariable ( entity , definition , <nl> + DebugTypeInfo ( ) ) ; <nl> } <nl> <nl> llvm : : Constant * IRGenModule : : getAddrOfProtocolRequirementsBaseDescriptor ( <nl> ProtocolDecl * proto ) { <nl> auto entity = LinkEntity : : forProtocolRequirementsBaseDescriptor ( proto ) ; <nl> - return getAddrOfLLVMVariable ( entity , getPointerAlignment ( ) , ConstantInit ( ) , <nl> - ProtocolRequirementStructTy , <nl> + return getAddrOfLLVMVariable ( entity , ConstantInit ( ) , <nl> DebugTypeInfo ( ) ) ; <nl> } <nl> <nl> llvm : : GlobalValue * IRGenModule : : defineProtocolRequirementsBaseDescriptor ( <nl> llvm : : Constant * IRGenModule : : getAddrOfAssociatedTypeDescriptor ( <nl> AssociatedTypeDecl * assocType ) { <nl> auto entity = LinkEntity : : forAssociatedTypeDescriptor ( assocType ) ; <nl> - return getAddrOfLLVMVariable ( entity , getPointerAlignment ( ) , ConstantInit ( ) , <nl> - ProtocolRequirementStructTy , <nl> + return getAddrOfLLVMVariable ( entity , ConstantInit ( ) , <nl> DebugTypeInfo ( ) ) ; <nl> } <nl> <nl> llvm : : GlobalValue * IRGenModule : : defineAssociatedTypeDescriptor ( <nl> llvm : : Constant * IRGenModule : : getAddrOfAssociatedConformanceDescriptor ( <nl> AssociatedConformance conformance ) { <nl> auto entity = LinkEntity : : forAssociatedConformanceDescriptor ( conformance ) ; <nl> - return getAddrOfLLVMVariable ( entity , getPointerAlignment ( ) , ConstantInit ( ) , <nl> - ProtocolRequirementStructTy , DebugTypeInfo ( ) ) ; <nl> + return getAddrOfLLVMVariable ( entity , ConstantInit ( ) , DebugTypeInfo ( ) ) ; <nl> } <nl> <nl> llvm : : GlobalValue * IRGenModule : : defineAssociatedConformanceDescriptor ( <nl> llvm : : Constant * IRGenModule : : getAddrOfProtocolConformanceDescriptor ( <nl> const NormalProtocolConformance * conformance , <nl> ConstantInit definition ) { <nl> auto entity = LinkEntity : : forProtocolConformanceDescriptor ( conformance ) ; <nl> - return getAddrOfLLVMVariable ( entity , getPointerAlignment ( ) , definition , <nl> - ProtocolConformanceDescriptorTy , <nl> + return getAddrOfLLVMVariable ( entity , definition , <nl> DebugTypeInfo ( ) ) ; <nl> } <nl> <nl> llvm : : Constant * <nl> IRGenModule : : getAddrOfValueWitnessTable ( CanType concreteType , <nl> ConstantInit definition ) { <nl> LinkEntity entity = LinkEntity : : forValueWitnessTable ( concreteType ) ; <nl> - return getAddrOfLLVMVariable ( entity , getPointerAlignment ( ) , definition , <nl> - WitnessTableTy , DebugTypeInfo ( ) ) ; <nl> + return getAddrOfLLVMVariable ( entity , definition , DebugTypeInfo ( ) ) ; <nl> } <nl> <nl> static Address getAddrOfSimpleVariable ( IRGenModule & IGM , <nl> - llvm : : DenseMap < LinkEntity , llvm : : Constant * > & cache , <nl> - LinkEntity entity , <nl> - llvm : : Type * type , <nl> - Alignment alignment , <nl> - ForDefinition_t forDefinition ) { <nl> + llvm : : DenseMap < LinkEntity , llvm : : Constant * > & cache , <nl> + LinkEntity entity , <nl> + ForDefinition_t forDefinition ) { <nl> + auto alignment = entity . getAlignment ( IGM ) ; <nl> + auto type = entity . getDefaultDeclarationType ( IGM ) ; <nl> + <nl> / / Check whether it ' s already cached . <nl> llvm : : Constant * & entry = cache [ entity ] ; <nl> if ( entry ) { <nl> Address IRGenModule : : getAddrOfFieldOffset ( VarDecl * var , <nl> ForDefinition_t forDefinition ) { <nl> LinkEntity entity = LinkEntity : : forFieldOffset ( var ) ; <nl> return getAddrOfSimpleVariable ( * this , GlobalVars , entity , <nl> - SizeTy , getPointerAlignment ( ) , <nl> forDefinition ) ; <nl> } <nl> <nl> Address IRGenModule : : getAddrOfEnumCase ( EnumElementDecl * Case , <nl> ForDefinition_t forDefinition ) { <nl> LinkEntity entity = LinkEntity : : forEnumCase ( Case ) ; <nl> - auto addr = getAddrOfSimpleVariable ( * this , GlobalVars , entity , Int32Ty , <nl> - getPointerAlignment ( ) , forDefinition ) ; <nl> + auto addr = getAddrOfSimpleVariable ( * this , GlobalVars , entity , forDefinition ) ; <nl> <nl> auto * global = cast < llvm : : GlobalVariable > ( addr . getAddress ( ) ) ; <nl> global - > setConstant ( true ) ; <nl> IRGenModule : : getAddrOfWitnessTableLazyCacheVariable ( <nl> assert ( ! conformingType - > hasArchetype ( ) ) ; <nl> LinkEntity entity = <nl> LinkEntity : : forProtocolWitnessTableLazyCacheVariable ( conf , conformingType ) ; <nl> - auto variable = getAddrOfLLVMVariable ( entity , getPointerAlignment ( ) , <nl> - forDefinition , WitnessTablePtrTy , <nl> + auto variable = getAddrOfLLVMVariable ( entity , <nl> + forDefinition , <nl> DebugTypeInfo ( ) ) ; <nl> <nl> / / Zero - initialize if we ' re asking for a definition . <nl> IRGenModule : : getAddrOfWitnessTable ( const NormalProtocolConformance * conf , <nl> IRGen . addLazyWitnessTable ( conf ) ; <nl> <nl> auto entity = LinkEntity : : forDirectProtocolWitnessTable ( conf ) ; <nl> - return getAddrOfLLVMVariable ( entity , getPointerAlignment ( ) , definition , <nl> - WitnessTableTy , DebugTypeInfo ( ) ) ; <nl> + return getAddrOfLLVMVariable ( entity , definition , DebugTypeInfo ( ) ) ; <nl> } <nl> <nl> / / / Look up the address of a witness table pattern . <nl> IRGenModule : : getAddrOfWitnessTablePattern ( const NormalProtocolConformance * conf , <nl> IRGen . addLazyWitnessTable ( conf ) ; <nl> <nl> auto entity = LinkEntity : : forProtocolWitnessTablePattern ( conf ) ; <nl> - return getAddrOfLLVMVariable ( entity , getPointerAlignment ( ) , definition , <nl> - WitnessTableTy , DebugTypeInfo ( ) ) ; <nl> + return getAddrOfLLVMVariable ( entity , definition , DebugTypeInfo ( ) ) ; <nl> } <nl> <nl> llvm : : Function * <nl> mmm a / lib / IRGen / GenMeta . cpp <nl> ppp b / lib / IRGen / GenMeta . cpp <nl> namespace { <nl> <nl> / / The class containing the base method . <nl> auto * baseClass = cast < ClassDecl > ( baseRef . getDecl ( ) - > getDeclContext ( ) ) ; <nl> + IGM . IRGen . noteUseOfTypeContextDescriptor ( baseClass , DontRequireMetadata ) ; <nl> auto baseClassEntity = LinkEntity : : forNominalTypeDescriptor ( baseClass ) ; <nl> auto baseClassDescriptor = <nl> - IGM . getAddrOfLLVMVariableOrGOTEquivalent ( <nl> - baseClassEntity , IGM . getPointerAlignment ( ) , <nl> - IGM . Int8Ty ) ; <nl> + IGM . getAddrOfLLVMVariableOrGOTEquivalent ( baseClassEntity ) ; <nl> descriptor . addRelativeAddress ( baseClassDescriptor ) ; <nl> <nl> / / The base method . <nl> auto baseMethodEntity = LinkEntity : : forMethodDescriptor ( baseRef ) ; <nl> auto baseMethodDescriptor = <nl> - IGM . getAddrOfLLVMVariableOrGOTEquivalent ( <nl> - baseMethodEntity , Alignment ( 4 ) , <nl> - IGM . MethodDescriptorStructTy ) ; <nl> + IGM . getAddrOfLLVMVariableOrGOTEquivalent ( baseMethodEntity ) ; <nl> descriptor . addRelativeAddress ( baseMethodDescriptor ) ; <nl> <nl> / / The implementation of the override . <nl> IRGenModule : : getAddrOfSharedContextDescriptor ( LinkEntity entity , <nl> } <nl> } <nl> <nl> - return getAddrOfLLVMVariable ( entity , Alignment ( 4 ) , <nl> + return getAddrOfLLVMVariable ( entity , <nl> definition , <nl> - TypeContextDescriptorTy , <nl> DebugTypeInfo ( ) ) ; <nl> } <nl> <nl> mmm a / lib / IRGen / GenProto . cpp <nl> ppp b / lib / IRGen / GenProto . cpp <nl> namespace { <nl> / / Relative reference to the protocol descriptor . <nl> auto protocol = Conformance - > getProtocol ( ) ; <nl> auto descriptorRef = IGM . getAddrOfLLVMVariableOrGOTEquivalent ( <nl> - LinkEntity : : forProtocolDescriptor ( protocol ) , <nl> - IGM . getPointerAlignment ( ) , IGM . ProtocolDescriptorStructTy ) ; <nl> + LinkEntity : : forProtocolDescriptor ( protocol ) ) ; <nl> B . addRelativeAddress ( descriptorRef ) ; <nl> } <nl> <nl> namespace { <nl> auto assocType = entry . getAssociatedTypeWitness ( ) . Requirement ; <nl> auto assocTypeDescriptor = <nl> IGM . getAddrOfLLVMVariableOrGOTEquivalent ( <nl> - LinkEntity : : forAssociatedTypeDescriptor ( assocType ) , <nl> - Alignment ( 4 ) , IGM . ProtocolRequirementStructTy ) ; <nl> + LinkEntity : : forAssociatedTypeDescriptor ( assocType ) ) ; <nl> B . addRelativeAddress ( assocTypeDescriptor ) ; <nl> } else if ( entry . getKind ( ) = = SILWitnessTable : : AssociatedTypeProtocol ) { <nl> / / Associated conformance descriptor . <nl> namespace { <nl> witness . Protocol ) ; <nl> auto assocConformanceDescriptor = <nl> IGM . getAddrOfLLVMVariableOrGOTEquivalent ( <nl> - LinkEntity : : forAssociatedConformanceDescriptor ( requirement ) , <nl> - Alignment ( 4 ) , IGM . ProtocolRequirementStructTy ) ; <nl> + LinkEntity : : forAssociatedConformanceDescriptor ( requirement ) ) ; <nl> B . addRelativeAddress ( assocConformanceDescriptor ) ; <nl> } else if ( entry . getKind ( ) = = SILWitnessTable : : Method ) { <nl> / / Method descriptor . <nl> auto declRef = entry . getMethodWitness ( ) . Requirement ; <nl> auto requirement = <nl> IGM . getAddrOfLLVMVariableOrGOTEquivalent ( <nl> - LinkEntity : : forMethodDescriptor ( declRef ) , <nl> - Alignment ( 4 ) , IGM . ProtocolRequirementStructTy ) ; <nl> + LinkEntity : : forMethodDescriptor ( declRef ) ) ; <nl> B . addRelativeAddress ( requirement ) ; <nl> } else { <nl> / / Not part of the resilient witness table . <nl> mmm a / lib / IRGen / GenThunk . cpp <nl> ppp b / lib / IRGen / GenThunk . cpp <nl> IRGenModule : : getAddrOfMethodDescriptor ( SILDeclRef declRef , <nl> assert ( declRef . getOverriddenWitnessTableEntry ( ) = = declRef & & <nl> " Overriding protocol requirements do not have method descriptors " ) ; <nl> LinkEntity entity = LinkEntity : : forMethodDescriptor ( declRef ) ; <nl> - return getAddrOfLLVMVariable ( entity , Alignment ( 4 ) , forDefinition , <nl> - MethodDescriptorStructTy , DebugTypeInfo ( ) ) ; <nl> + return getAddrOfLLVMVariable ( entity , forDefinition , DebugTypeInfo ( ) ) ; <nl> } <nl> <nl> / / / Fetch the method lookup function for a resilient class . <nl> mmm a / lib / IRGen / IRGenModule . h <nl> ppp b / lib / IRGen / IRGenModule . h <nl> private : \ <nl> ForDefinition_t forDefinition ) ; <nl> llvm : : Constant * getAddrOfWitnessTable ( const NormalProtocolConformance * C , <nl> ConstantInit definition = ConstantInit ( ) ) ; <nl> - llvm : : Constant * getAddrOfWitnessTablePattern ( const NormalProtocolConformance * C , <nl> + llvm : : Constant * getAddrOfWitnessTablePattern ( <nl> + const NormalProtocolConformance * C , <nl> ConstantInit definition = ConstantInit ( ) ) ; <nl> <nl> llvm : : Function * <nl> private : \ <nl> GenericEnvironment * getGenericEnvironment ( ) ; <nl> <nl> ConstantReference <nl> - getAddrOfLLVMVariableOrGOTEquivalent ( LinkEntity entity , Alignment alignment , <nl> - llvm : : Type * defaultType , <nl> + getAddrOfLLVMVariableOrGOTEquivalent ( LinkEntity entity , <nl> ConstantReference : : Directness forceIndirect = ConstantReference : : Direct ) ; <nl> <nl> llvm : : Constant * <nl> private : \ <nl> llvm : : function_ref < void ( ) > emit ) ; <nl> <nl> llvm : : Constant * getAddrOfLLVMVariable ( LinkEntity entity , <nl> - Alignment alignment , <nl> ConstantInit definition , <nl> - llvm : : Type * defaultType , <nl> - DebugTypeInfo debugType ) ; <nl> + DebugTypeInfo debugType , <nl> + llvm : : Type * overrideDeclType = nullptr ) ; <nl> llvm : : Constant * getAddrOfLLVMVariable ( LinkEntity entity , <nl> - Alignment alignment , <nl> ForDefinition_t forDefinition , <nl> - llvm : : Type * defaultType , <nl> DebugTypeInfo debugType ) ; <nl> ConstantReference getAddrOfLLVMVariable ( LinkEntity entity , <nl> - Alignment alignment , <nl> ConstantInit definition , <nl> - llvm : : Type * defaultType , <nl> DebugTypeInfo debugType , <nl> - SymbolReferenceKind refKind ) ; <nl> + SymbolReferenceKind refKind , <nl> + llvm : : Type * overrideDeclType = nullptr ) ; <nl> <nl> void emitLazyPrivateDefinitions ( ) ; <nl> void addRuntimeResolvableType ( NominalTypeDecl * nominal ) ; <nl> mmm a / lib / IRGen / Linking . cpp <nl> ppp b / lib / IRGen / Linking . cpp <nl> bool LinkEntity : : isAvailableExternally ( IRGenModule & IGM ) const { <nl> } <nl> llvm_unreachable ( " bad link entity kind " ) ; <nl> } <nl> + <nl> + llvm : : Type * LinkEntity : : getDefaultDeclarationType ( IRGenModule & IGM ) const { <nl> + switch ( getKind ( ) ) { <nl> + case Kind : : ModuleDescriptor : <nl> + case Kind : : ExtensionDescriptor : <nl> + case Kind : : AnonymousDescriptor : <nl> + case Kind : : NominalTypeDescriptor : <nl> + case Kind : : PropertyDescriptor : <nl> + return IGM . TypeContextDescriptorTy ; <nl> + case Kind : : ProtocolDescriptor : <nl> + return IGM . ProtocolDescriptorStructTy ; <nl> + case Kind : : AssociatedTypeDescriptor : <nl> + case Kind : : AssociatedConformanceDescriptor : <nl> + case Kind : : ProtocolRequirementsBaseDescriptor : <nl> + return IGM . ProtocolRequirementStructTy ; <nl> + case Kind : : ProtocolConformanceDescriptor : <nl> + return IGM . ProtocolConformanceDescriptorTy ; <nl> + case Kind : : ObjCClassRef : <nl> + return IGM . ObjCClassPtrTy ; <nl> + case Kind : : ObjCClass : <nl> + case Kind : : ObjCMetaclass : <nl> + case Kind : : SwiftMetaclassStub : <nl> + return IGM . ObjCClassStructTy ; <nl> + case Kind : : TypeMetadataLazyCacheVariable : <nl> + return IGM . TypeMetadataPtrTy ; <nl> + case Kind : : TypeMetadataSingletonInitializationCache : <nl> + / / TODO : put a cache variable on IGM <nl> + return llvm : : StructType : : get ( IGM . getLLVMContext ( ) , <nl> + { IGM . TypeMetadataPtrTy , IGM . Int8PtrTy } ) ; <nl> + case Kind : : TypeMetadata : <nl> + switch ( getMetadataAddress ( ) ) { <nl> + case TypeMetadataAddress : : FullMetadata : <nl> + if ( getType ( ) . getClassOrBoundGenericClass ( ) ) <nl> + return IGM . FullHeapMetadataStructTy ; <nl> + else <nl> + return IGM . FullTypeMetadataStructTy ; <nl> + case TypeMetadataAddress : : AddressPoint : <nl> + return IGM . TypeMetadataStructTy ; <nl> + } <nl> + <nl> + case Kind : : TypeMetadataPattern : <nl> + / / TODO : Use a real type ? <nl> + return IGM . Int8Ty ; <nl> + <nl> + case Kind : : ClassMetadataBaseOffset : <nl> + / / TODO : put a cache variable on IGM <nl> + return llvm : : StructType : : get ( IGM . getLLVMContext ( ) , { <nl> + IGM . SizeTy , / / Immediate members offset <nl> + IGM . Int32Ty , / / Negative size in words <nl> + IGM . Int32Ty / / Positive size in words <nl> + } ) ; <nl> + <nl> + case Kind : : TypeMetadataInstantiationCache : <nl> + / / TODO : put a cache variable on IGM <nl> + return llvm : : ArrayType : : get ( IGM . Int8PtrTy , <nl> + NumGenericMetadataPrivateDataWords ) ; <nl> + case Kind : : ReflectionBuiltinDescriptor : <nl> + case Kind : : ReflectionFieldDescriptor : <nl> + case Kind : : ReflectionAssociatedTypeDescriptor : <nl> + return IGM . FieldDescriptorTy ; <nl> + case Kind : : ValueWitnessTable : <nl> + case Kind : : DirectProtocolWitnessTable : <nl> + case Kind : : ProtocolWitnessTablePattern : <nl> + return IGM . WitnessTableTy ; <nl> + case Kind : : FieldOffset : <nl> + return IGM . SizeTy ; <nl> + case Kind : : EnumCase : <nl> + return IGM . Int32Ty ; <nl> + case Kind : : ProtocolWitnessTableLazyCacheVariable : <nl> + return IGM . WitnessTablePtrTy ; <nl> + case Kind : : SILFunction : <nl> + return IGM . FunctionPtrTy - > getPointerTo ( ) ; <nl> + case Kind : : MethodDescriptor : <nl> + case Kind : : MethodDescriptorInitializer : <nl> + case Kind : : MethodDescriptorAllocator : <nl> + return IGM . MethodDescriptorStructTy ; <nl> + <nl> + default : <nl> + llvm_unreachable ( " declaration LLVM type not specified " ) ; <nl> + } <nl> + } <nl> + <nl> + Alignment LinkEntity : : getAlignment ( IRGenModule & IGM ) const { <nl> + switch ( getKind ( ) ) { <nl> + case Kind : : ModuleDescriptor : <nl> + case Kind : : ExtensionDescriptor : <nl> + case Kind : : AnonymousDescriptor : <nl> + case Kind : : NominalTypeDescriptor : <nl> + case Kind : : ProtocolDescriptor : <nl> + case Kind : : AssociatedTypeDescriptor : <nl> + case Kind : : AssociatedConformanceDescriptor : <nl> + case Kind : : ProtocolConformanceDescriptor : <nl> + case Kind : : ProtocolRequirementsBaseDescriptor : <nl> + case Kind : : ReflectionBuiltinDescriptor : <nl> + case Kind : : ReflectionFieldDescriptor : <nl> + case Kind : : ReflectionAssociatedTypeDescriptor : <nl> + case Kind : : PropertyDescriptor : <nl> + case Kind : : EnumCase : <nl> + case Kind : : MethodDescriptor : <nl> + case Kind : : MethodDescriptorInitializer : <nl> + case Kind : : MethodDescriptorAllocator : <nl> + return Alignment ( 4 ) ; <nl> + case Kind : : ObjCClassRef : <nl> + case Kind : : ObjCClass : <nl> + case Kind : : TypeMetadataLazyCacheVariable : <nl> + case Kind : : TypeMetadataSingletonInitializationCache : <nl> + case Kind : : TypeMetadata : <nl> + case Kind : : TypeMetadataPattern : <nl> + case Kind : : ClassMetadataBaseOffset : <nl> + case Kind : : TypeMetadataInstantiationCache : <nl> + case Kind : : ValueWitnessTable : <nl> + case Kind : : FieldOffset : <nl> + case Kind : : ProtocolWitnessTableLazyCacheVariable : <nl> + case Kind : : DirectProtocolWitnessTable : <nl> + case Kind : : ProtocolWitnessTablePattern : <nl> + case Kind : : ObjCMetaclass : <nl> + case Kind : : SwiftMetaclassStub : <nl> + return IGM . getPointerAlignment ( ) ; <nl> + case Kind : : SILFunction : <nl> + return Alignment ( 1 ) ; <nl> + default : <nl> + llvm_unreachable ( " alignment not specified " ) ; <nl> + } <nl> + } <nl> + <nl> + const SourceFile * LinkEntity : : getSourceFileForEmission ( ) const { <nl> + const SourceFile * sf ; <nl> + <nl> + / / Shared - linkage entities don ' t get emitted with any particular file . <nl> + if ( hasSharedVisibility ( getLinkage ( NotForDefinition ) ) ) <nl> + return nullptr ; <nl> + <nl> + auto getSourceFileForDeclContext = <nl> + [ ] ( const DeclContext * dc ) - > const SourceFile * { <nl> + if ( ! dc ) <nl> + return nullptr ; <nl> + return dc - > getParentSourceFile ( ) ; <nl> + } ; <nl> + <nl> + switch ( getKind ( ) ) { <nl> + case Kind : : DispatchThunk : <nl> + case Kind : : DispatchThunkInitializer : <nl> + case Kind : : DispatchThunkAllocator : <nl> + case Kind : : MethodDescriptor : <nl> + case Kind : : MethodDescriptorInitializer : <nl> + case Kind : : MethodDescriptorAllocator : <nl> + case Kind : : MethodLookupFunction : <nl> + case Kind : : EnumCase : <nl> + case Kind : : FieldOffset : <nl> + case Kind : : ObjCClass : <nl> + case Kind : : ObjCMetaclass : <nl> + case Kind : : SwiftMetaclassStub : <nl> + case Kind : : ClassMetadataBaseOffset : <nl> + case Kind : : PropertyDescriptor : <nl> + case Kind : : NominalTypeDescriptor : <nl> + case Kind : : TypeMetadataPattern : <nl> + case Kind : : TypeMetadataInstantiationCache : <nl> + case Kind : : TypeMetadataInstantiationFunction : <nl> + case Kind : : TypeMetadataSingletonInitializationCache : <nl> + case Kind : : TypeMetadataCompletionFunction : <nl> + case Kind : : ProtocolDescriptor : <nl> + case Kind : : ProtocolRequirementsBaseDescriptor : <nl> + case Kind : : AssociatedTypeDescriptor : <nl> + case Kind : : AssociatedConformanceDescriptor : <nl> + case Kind : : DefaultAssociatedConformanceAccessor : <nl> + sf = getSourceFileForDeclContext ( getDecl ( ) - > getDeclContext ( ) ) ; <nl> + if ( ! sf ) <nl> + return nullptr ; <nl> + break ; <nl> + <nl> + case Kind : : SILFunction : <nl> + sf = getSourceFileForDeclContext ( getSILFunction ( ) - > getDeclContext ( ) ) ; <nl> + if ( ! sf ) <nl> + return nullptr ; <nl> + break ; <nl> + <nl> + case Kind : : SILGlobalVariable : <nl> + if ( auto decl = getSILGlobalVariable ( ) - > getDecl ( ) ) { <nl> + sf = getSourceFileForDeclContext ( decl - > getDeclContext ( ) ) ; <nl> + if ( ! sf ) <nl> + return nullptr ; <nl> + } else { <nl> + return nullptr ; <nl> + } <nl> + break ; <nl> + <nl> + case Kind : : DirectProtocolWitnessTable : <nl> + case Kind : : ProtocolWitnessTablePattern : <nl> + case Kind : : ProtocolWitnessTableAccessFunction : <nl> + case Kind : : GenericProtocolWitnessTableInstantiationFunction : <nl> + case Kind : : AssociatedTypeWitnessTableAccessFunction : <nl> + case Kind : : ReflectionAssociatedTypeDescriptor : <nl> + case Kind : : ProtocolConformanceDescriptor : <nl> + case Kind : : ProtocolWitnessTableLazyCacheVariable : <nl> + case Kind : : ProtocolWitnessTableLazyAccessFunction : <nl> + sf = getSourceFileForDeclContext ( <nl> + getProtocolConformance ( ) - > getRootNormalConformance ( ) - > getDeclContext ( ) ) ; <nl> + if ( ! sf ) <nl> + return nullptr ; <nl> + break ; <nl> + <nl> + case Kind : : TypeMetadata : { <nl> + auto ty = getType ( ) ; <nl> + / / Only fully concrete nominal type metadata gets emitted eagerly . <nl> + auto nom = ty - > getAnyNominal ( ) ; <nl> + if ( ! nom | | nom - > isGenericContext ( ) ) <nl> + return nullptr ; <nl> + <nl> + sf = getSourceFileForDeclContext ( nom ) ; <nl> + if ( ! sf ) <nl> + return nullptr ; <nl> + break ; <nl> + } <nl> + <nl> + / / Always shared linkage <nl> + case Kind : : ModuleDescriptor : <nl> + case Kind : : ExtensionDescriptor : <nl> + case Kind : : AnonymousDescriptor : <nl> + case Kind : : ObjCClassRef : <nl> + case Kind : : TypeMetadataAccessFunction : <nl> + case Kind : : TypeMetadataLazyCacheVariable : <nl> + case Kind : : ForeignTypeMetadataCandidate : <nl> + return nullptr ; <nl> + <nl> + / / TODO <nl> + case Kind : : CoroutineContinuationPrototype : <nl> + case Kind : : ReflectionFieldDescriptor : <nl> + case Kind : : ReflectionBuiltinDescriptor : <nl> + case Kind : : ValueWitness : <nl> + case Kind : : ValueWitnessTable : <nl> + return nullptr ; <nl> + } <nl> + <nl> + return sf ; <nl> + } <nl>
[ IRGen ] Centralize alignment / default type information in LinkEntity .
apple/swift
602b38e444591187a04907de8e2ae2c964b4f345
2018-10-23T16:57:03Z
mmm a / Jenkinsfile <nl> ppp b / Jenkinsfile <nl> pipeline { <nl> unstash ' buildUbuntu ' <nl> sh ' ' ' <nl> . $ HOME / . bash_profile <nl> - mongod - f / etc / mongod . conf > / dev / null 2 > & 1 & <nl> + if ! pgrep mongod & > / dev / null ; <nl> + mongod - f / etc / mongod . conf > / dev / null 2 > & 1 & <nl> + fi <nl> cd build <nl> printf " Waiting for testing to be available . . . " <nl> while / usr / bin / pgrep - x ctest > / dev / null ; do sleep 1 ; done <nl> pipeline { <nl> unstash ' buildMacOS ' <nl> sh ' ' ' <nl> . $ HOME / . bash_profile <nl> - mongod - f / usr / local / etc / mongod . conf > / dev / null 2 > & 1 & <nl> + if ! pgrep mongod & > / dev / null ; <nl> + mongod - f / etc / mongod . conf > / dev / null 2 > & 1 & <nl> + fi <nl> cd build <nl> ctest - - output - on - failure <nl> ' ' ' <nl> pipeline { <nl> unstash ' buildFedora ' <nl> sh ' ' ' <nl> . $ HOME / . bash_profile <nl> - mongod - f / etc / mongod . conf > / dev / null 2 > & 1 & <nl> + if ! pgrep mongod & > / dev / null ; <nl> + mongod - f / etc / mongod . conf > / dev / null 2 > & 1 & <nl> + fi <nl> cd build <nl> printf " Waiting for testing to be available . . . " <nl> while / usr / bin / pgrep - x ctest > / dev / null ; do sleep 1 ; done <nl>
- Ensure mongod isn ' t already running
EOSIO/eos
7ecc7212aa4c37795ae7d29104a6e29d6ea707aa
2018-03-23T22:23:48Z
mmm a / torch / csrc / jit / function . cpp <nl> ppp b / torch / csrc / jit / function . cpp <nl> FunctionSchema defaultSchemaFor ( const Function & function ) { <nl> } <nl> } / / namespace <nl> <nl> - struct RecursiveMethodCallError : public std : : exception { } ; <nl> void placeholderCreator ( Function & ) { <nl> throw RecursiveMethodCallError ( ) ; <nl> } <nl> IValue Function : : operator ( ) ( <nl> } <nl> <nl> void Function : : ensure_defined ( ) { <nl> - try { <nl> - if ( function_creator_ ) { <nl> - auto creator = function_creator_ ; <nl> - function_creator_ = placeholderCreator ; <nl> - creator ( * this ) ; <nl> - function_creator_ = nullptr ; <nl> - } <nl> - } catch ( RecursiveMethodCallError & ) { <nl> - throw script : : ErrorReport ( ) / / TODO : once lower_first_class methods is <nl> - / / removed re - establish callsite info for <nl> - / / debugging <nl> - < < " method ' " < < name ( ) < < " ' is called recursively . " <nl> - < < " Recursive calls are not supported " ; <nl> + if ( function_creator_ ) { <nl> + auto creator = function_creator_ ; <nl> + function_creator_ = placeholderCreator ; <nl> + creator ( * this ) ; <nl> + function_creator_ = nullptr ; <nl> } <nl> check_single_output ( ) ; <nl> } <nl> mmm a / torch / csrc / jit / function . h <nl> ppp b / torch / csrc / jit / function . h <nl> namespace torch { <nl> namespace jit { <nl> <nl> using Kwargs = std : : unordered_map < std : : string , IValue > ; <nl> + struct RecursiveMethodCallError : public std : : exception { } ; <nl> <nl> TORCH_API void preoptimizeGraph ( std : : shared_ptr < Graph > & graph ) ; <nl> <nl> mmm a / torch / csrc / jit / script / error_report . cpp <nl> ppp b / torch / csrc / jit / script / error_report . cpp <nl> ErrorReport : : ErrorReport ( const ErrorReport & e ) <nl> error_stack ( e . error_stack . begin ( ) , e . error_stack . end ( ) ) { } <nl> <nl> # ifndef C10_MOBILE <nl> - ErrorReport : : ErrorReport ( ) <nl> - : context ( c10 : : nullopt ) , error_stack ( calls . begin ( ) , calls . end ( ) ) { } <nl> ErrorReport : : ErrorReport ( SourceRange r ) <nl> : context ( std : : move ( r ) ) , error_stack ( calls . begin ( ) , calls . end ( ) ) { } <nl> <nl> ErrorReport : : CallStack : : ~ CallStack ( ) { <nl> calls . pop_back ( ) ; <nl> } <nl> # else / / defined C10_MOBILE <nl> - ErrorReport : : ErrorReport ( ) <nl> - : context ( c10 : : nullopt ) { } <nl> ErrorReport : : ErrorReport ( SourceRange r ) <nl> : context ( std : : move ( r ) ) { } <nl> <nl> mmm a / torch / csrc / jit / script / error_report . h <nl> ppp b / torch / csrc / jit / script / error_report . h <nl> struct Call { <nl> struct CAFFE2_API ErrorReport : public std : : exception { <nl> ErrorReport ( const ErrorReport & e ) ; <nl> <nl> - ErrorReport ( ) ; <nl> explicit ErrorReport ( SourceRange r ) ; <nl> explicit ErrorReport ( const TreeRef & tree ) : ErrorReport ( tree - > range ( ) ) { } <nl> explicit ErrorReport ( const Token & tok ) : ErrorReport ( tok . range ) { } <nl> mmm a / torch / csrc / jit / script / sugared_value . h <nl> ppp b / torch / csrc / jit / script / sugared_value . h <nl> struct FunctionValue : public SugaredValue { <nl> size_t n_binders ) override { <nl> std : : vector < const FunctionSchema * > schemas ; <nl> for ( Function * callee : callees_ ) { <nl> - callee - > ensure_defined ( ) ; <nl> + try { <nl> + callee - > ensure_defined ( ) ; <nl> + } catch ( const RecursiveMethodCallError & ) { <nl> + throw script : : ErrorReport ( loc ) <nl> + < < " function ' " < < callee - > name ( ) < < " ' is called recursively . " <nl> + < < " Recursive calls are not supported " ; <nl> + } <nl> schemas . push_back ( & callee - > getSchema ( ) ) ; <nl> } <nl> auto match = matchSchemas ( schemas , loc , * f . graph ( ) , inputs , attributes ) ; <nl> struct MethodValue : public SugaredValue { <nl> if ( auto class_type = self_ - > type ( ) - > cast < ClassType > ( ) ) { <nl> auto method = class_type - > getMethod ( method_name ) ; <nl> TORCH_INTERNAL_ASSERT ( method ) ; <nl> - method - > ensure_defined ( ) ; <nl> + try { <nl> + method - > ensure_defined ( ) ; <nl> + } catch ( const RecursiveMethodCallError & ) { <nl> + throw script : : ErrorReport ( loc ) <nl> + < < " method ' " < < method - > name ( ) < < " ' is called recursively . " <nl> + < < " Recursive calls are not supported " ; <nl> + } <nl> schemas . push_back ( & method - > getSchema ( ) ) ; <nl> } else if ( auto interface_type = self_ - > type ( ) - > cast < InterfaceType > ( ) ) { <nl> schemas . push_back ( interface_type - > getMethod ( method_name ) ) ; <nl>
[ jit ] Delete the ErrorReport default constructor ( )
pytorch/pytorch
d85c913bfd7c15d41d402e2bb63543e2f8c14c5d
2020-02-19T07:44:32Z
mmm a / lib / PrintAsObjC / DeclAndTypePrinter . cpp <nl> ppp b / lib / PrintAsObjC / DeclAndTypePrinter . cpp <nl> class DeclAndTypePrinter : : Implementation <nl> / / upper - bounded keys . <nl> else if ( swiftNominal = = ctx . getDictionaryDecl ( ) & & <nl> isNSObjectOrAnyHashable ( ctx , typeArgs [ 0 ] ) ) { <nl> - if ( ! owningPrinter . NSCopyingType ) { <nl> - if ( auto proto = ctx . getNSCopyingDecl ( ) ) <nl> - owningPrinter . NSCopyingType = proto - > getDeclaredInterfaceType ( ) ; <nl> - else <nl> - owningPrinter . NSCopyingType = Type ( ) ; <nl> - } <nl> - if ( * owningPrinter . NSCopyingType ) { <nl> - rewrittenArgsBuf [ 0 ] = * owningPrinter . NSCopyingType ; <nl> + if ( auto proto = ctx . getNSCopyingDecl ( ) ) { <nl> + rewrittenArgsBuf [ 0 ] = proto - > getDeclaredInterfaceType ( ) ; <nl> rewrittenArgsBuf [ 1 ] = typeArgs [ 1 ] ; <nl> typeArgs = rewrittenArgsBuf ; <nl> } <nl> mmm a / lib / PrintAsObjC / DeclAndTypePrinter . h <nl> ppp b / lib / PrintAsObjC / DeclAndTypePrinter . h <nl> class DeclAndTypePrinter { <nl> / / / Cached for convenience . <nl> Identifier ID_CFTypeRef ; <nl> <nl> - / / / The protocol type ' NSCopying ' , or a null type if Foundation has not been <nl> - / / / imported . <nl> - / / / <nl> - / / / Cached for convenience . <nl> - Optional < Type > NSCopyingType ; <nl> - <nl> Implementation getImpl ( ) ; <nl> <nl> public : <nl>
[ NFC ] [ PrintAsObjC ] Don ’ t cache NSCopyingType
apple/swift
21426ea748a07f6d6cc837ccd52d41cce91b9d0d
2019-09-19T01:05:39Z
mmm a / docs / tutorial / application - packaging . md <nl> ppp b / docs / tutorial / application - packaging . md <nl> path names on Windows , slightly speed up ` require ` and conceal your source code <nl> from cursory inspection , you can choose to package your app into an [ asar ] [ asar ] <nl> archive with little changes to your source code . <nl> <nl> - # # Generating ` asar ` Archive <nl> + Most users will get this feature for free , since it ' s supported out of the box <nl> + by [ ` electron - packager ` ] [ electron - packager ] , [ ` electron - forge ` ] [ electron - forge ] , <nl> + and [ ` electron - builder ` ] [ electron - builder ] . If you are not using any of these <nl> + tools , read on . <nl> + <nl> + # # Generating ` asar ` Archives <nl> <nl> An [ asar ] [ asar ] archive is a simple tar - like format that concatenates files <nl> into a single file . Electron can read arbitrary files from it without unpacking <nl> require ( ' / path / to / example . asar / dir / module . js ' ) <nl> You can also display a web page in an ` asar ` archive with ` BrowserWindow ` : <nl> <nl> ` ` ` javascript <nl> - const { BrowserWindow } = require ( ' electron ' ) <nl> - let win = new BrowserWindow ( { width : 800 , height : 600 } ) <nl> + const { BrowserWindow } = require ( ' electron ' ) <nl> + const win = new BrowserWindow ( ) <nl> + <nl> win . loadURL ( ' file : / / / path / to / example . asar / static / index . html ' ) <nl> ` ` ` <nl> <nl> and ` command ` s are executed under shell . There is no reliable way to determine <nl> whether a command uses a file in asar archive , and even if we do , we can not be <nl> sure whether we can replace the path in command without side effects . <nl> <nl> - # # Adding Unpacked Files in ` asar ` Archive <nl> + # # Adding Unpacked Files to ` asar ` Archives <nl> <nl> - As stated above , some Node APIs will unpack the file to filesystem when <nl> - calling , apart from the performance issues , it could also lead to false alerts <nl> - of virus scanners . <nl> + As stated above , some Node APIs will unpack the file to the filesystem when <nl> + called . Apart from the performance issues , various anti - virus scanners might <nl> + be triggered by this behavior . <nl> <nl> - To work around this , you can unpack some files creating archives by using the <nl> - ` - - unpack ` option , an example of excluding shared libraries of native modules <nl> - is : <nl> + As a workaround , you can leave various files unpacked using the ` - - unpack ` option . <nl> + In the following example , shared libaries of native Node . js modules will not be <nl> + packed : <nl> <nl> ` ` ` sh <nl> $ asar pack app app . asar - - unpack * . node <nl> ` ` ` <nl> <nl> - After running the command , apart from the ` app . asar ` , there is also an <nl> - ` app . asar . unpacked ` folder generated which contains the unpacked files , you <nl> - should copy it together with ` app . asar ` when shipping it to users . <nl> + After running the command , you will notice that a folder named ` app . asar . unpacked ` <nl> + was created together with the ` app . asar ` file . It contains the unpacked files <nl> + and should be shipped together with the ` app . asar ` archive . <nl> <nl> [ asar ] : https : / / github . com / electron / asar <nl> + [ electron - packager ] : https : / / github . com / electron - userland / electron - packager <nl> + [ electron - forge ] : https : / / github . com / electron - userland / electron - forge <nl> + [ electron - builder ] : https : / / github . com / electron - userland / electron - builder <nl> + <nl>
: memo : Document asar
electron/electron
3c66e810c061f441bdaab0449ae09c720eca3d48
2018-02-19T23:50:38Z
mmm a / src / compiler / arm64 / code - generator - arm64 . cc <nl> ppp b / src / compiler / arm64 / code - generator - arm64 . cc <nl> void CodeGenerator : : AssembleArchInstruction ( Instruction * instr ) { <nl> break ; <nl> case kArm64Float32ToInt64 : <nl> __ Fcvtzs ( i . OutputRegister64 ( ) , i . InputFloat32Register ( 0 ) ) ; <nl> + if ( i . OutputCount ( ) > 1 ) { <nl> + __ Cmp ( i . OutputRegister ( 0 ) , 1 ) ; <nl> + __ Ccmp ( i . OutputRegister ( 0 ) , - 1 , VFlag , vc ) ; <nl> + __ Fccmp ( i . InputFloat32Register ( 0 ) , i . InputFloat32Register ( 0 ) , VFlag , <nl> + vc ) ; <nl> + __ Cset ( i . OutputRegister ( 1 ) , vc ) ; <nl> + } <nl> break ; <nl> case kArm64Float64ToInt64 : <nl> __ Fcvtzs ( i . OutputRegister ( 0 ) , i . InputDoubleRegister ( 0 ) ) ; <nl> mmm a / src / compiler / arm64 / instruction - selector - arm64 . cc <nl> ppp b / src / compiler / arm64 / instruction - selector - arm64 . cc <nl> void InstructionSelector : : VisitChangeFloat64ToUint32 ( Node * node ) { <nl> } <nl> <nl> <nl> - void InstructionSelector : : VisitTruncateFloat32ToInt64 ( Node * node ) { <nl> - VisitRR ( this , kArm64Float32ToInt64 , node ) ; <nl> + void InstructionSelector : : VisitTryTruncateFloat32ToInt64 ( Node * node ) { <nl> + Arm64OperandGenerator g ( this ) ; <nl> + <nl> + InstructionOperand inputs [ ] = { g . UseRegister ( node - > InputAt ( 0 ) ) } ; <nl> + InstructionOperand outputs [ 2 ] ; <nl> + size_t output_count = 0 ; <nl> + outputs [ output_count + + ] = g . DefineAsRegister ( node ) ; <nl> + <nl> + Node * success_output = NodeProperties : : FindProjection ( node , 1 ) ; <nl> + if ( success_output ) { <nl> + outputs [ output_count + + ] = g . DefineAsRegister ( success_output ) ; <nl> + } <nl> + <nl> + Emit ( kArm64Float32ToInt64 , output_count , outputs , 1 , inputs ) ; <nl> } <nl> <nl> <nl> mmm a / src / compiler / instruction - selector . cc <nl> ppp b / src / compiler / instruction - selector . cc <nl> void InstructionSelector : : VisitNode ( Node * node ) { <nl> return MarkAsWord32 ( node ) , VisitChangeFloat64ToInt32 ( node ) ; <nl> case IrOpcode : : kChangeFloat64ToUint32 : <nl> return MarkAsWord32 ( node ) , VisitChangeFloat64ToUint32 ( node ) ; <nl> - case IrOpcode : : kTruncateFloat32ToInt64 : <nl> - return MarkAsWord64 ( node ) , VisitTruncateFloat32ToInt64 ( node ) ; <nl> + case IrOpcode : : kTryTruncateFloat32ToInt64 : <nl> + return MarkAsWord64 ( node ) , VisitTryTruncateFloat32ToInt64 ( node ) ; <nl> case IrOpcode : : kTryTruncateFloat64ToInt64 : <nl> return MarkAsWord64 ( node ) , VisitTryTruncateFloat64ToInt64 ( node ) ; <nl> case IrOpcode : : kTruncateFloat32ToUint64 : <nl> void InstructionSelector : : VisitChangeUint32ToUint64 ( Node * node ) { <nl> } <nl> <nl> <nl> - void InstructionSelector : : VisitTruncateFloat32ToInt64 ( Node * node ) { <nl> + void InstructionSelector : : VisitTryTruncateFloat32ToInt64 ( Node * node ) { <nl> UNIMPLEMENTED ( ) ; <nl> } <nl> <nl> void InstructionSelector : : VisitProjection ( Node * node ) { <nl> switch ( value - > opcode ( ) ) { <nl> case IrOpcode : : kInt32AddWithOverflow : <nl> case IrOpcode : : kInt32SubWithOverflow : <nl> + case IrOpcode : : kTryTruncateFloat32ToInt64 : <nl> case IrOpcode : : kTryTruncateFloat64ToInt64 : <nl> case IrOpcode : : kTryTruncateFloat64ToUint64 : <nl> if ( ProjectionIndexOf ( node - > op ( ) ) = = 0u ) { <nl> mmm a / src / compiler / machine - operator . cc <nl> ppp b / src / compiler / machine - operator . cc <nl> CheckedStoreRepresentation CheckedStoreRepresentationOf ( Operator const * op ) { <nl> V ( ChangeFloat32ToFloat64 , Operator : : kNoProperties , 1 , 0 , 1 ) \ <nl> V ( ChangeFloat64ToInt32 , Operator : : kNoProperties , 1 , 0 , 1 ) \ <nl> V ( ChangeFloat64ToUint32 , Operator : : kNoProperties , 1 , 0 , 1 ) \ <nl> - V ( TruncateFloat32ToInt64 , Operator : : kNoProperties , 1 , 0 , 1 ) \ <nl> + V ( TryTruncateFloat32ToInt64 , Operator : : kNoProperties , 1 , 0 , 2 ) \ <nl> V ( TryTruncateFloat64ToInt64 , Operator : : kNoProperties , 1 , 0 , 2 ) \ <nl> V ( TruncateFloat32ToUint64 , Operator : : kNoProperties , 1 , 0 , 1 ) \ <nl> V ( TryTruncateFloat64ToUint64 , Operator : : kNoProperties , 1 , 0 , 2 ) \ <nl> mmm a / src / compiler / machine - operator . h <nl> ppp b / src / compiler / machine - operator . h <nl> class MachineOperatorBuilder final : public ZoneObject { <nl> const Operator * ChangeFloat32ToFloat64 ( ) ; <nl> const Operator * ChangeFloat64ToInt32 ( ) ; / / narrowing <nl> const Operator * ChangeFloat64ToUint32 ( ) ; / / narrowing <nl> - const Operator * TruncateFloat32ToInt64 ( ) ; <nl> + const Operator * TryTruncateFloat32ToInt64 ( ) ; <nl> const Operator * TryTruncateFloat64ToInt64 ( ) ; <nl> const Operator * TruncateFloat32ToUint64 ( ) ; <nl> const Operator * TryTruncateFloat64ToUint64 ( ) ; <nl> mmm a / src / compiler / mips64 / code - generator - mips64 . cc <nl> ppp b / src / compiler / mips64 / code - generator - mips64 . cc <nl> void CodeGenerator : : AssembleArchInstruction ( Instruction * instr ) { <nl> } <nl> case kMips64TruncLS : { <nl> FPURegister scratch = kScratchDoubleReg ; <nl> + Register tmp_fcsr = kScratchReg ; <nl> + Register result = kScratchReg2 ; <nl> + <nl> + bool load_status = instr - > OutputCount ( ) > 1 ; <nl> + if ( load_status ) { <nl> + / / Save FCSR . <nl> + __ cfc1 ( tmp_fcsr , FCSR ) ; <nl> + / / Clear FPU flags . <nl> + __ ctc1 ( zero_reg , FCSR ) ; <nl> + } <nl> / / Other arches use round to zero here , so we follow . <nl> __ trunc_l_s ( scratch , i . InputDoubleRegister ( 0 ) ) ; <nl> __ dmfc1 ( i . OutputRegister ( ) , scratch ) ; <nl> + if ( load_status ) { <nl> + __ cfc1 ( result , FCSR ) ; <nl> + / / Check for overflow and NaNs . <nl> + __ andi ( result , result , <nl> + ( kFCSROverflowFlagMask | kFCSRInvalidOpFlagMask ) ) ; <nl> + __ Slt ( result , zero_reg , result ) ; <nl> + __ xori ( result , result , 1 ) ; <nl> + __ mov ( i . OutputRegister ( 1 ) , result ) ; <nl> + / / Restore FCSR <nl> + __ ctc1 ( tmp_fcsr , FCSR ) ; <nl> + } <nl> break ; <nl> } <nl> case kMips64TruncLD : { <nl> mmm a / src / compiler / mips64 / instruction - selector - mips64 . cc <nl> ppp b / src / compiler / mips64 / instruction - selector - mips64 . cc <nl> void InstructionSelector : : VisitChangeFloat64ToUint32 ( Node * node ) { <nl> } <nl> <nl> <nl> - void InstructionSelector : : VisitTruncateFloat32ToInt64 ( Node * node ) { <nl> - VisitRR ( this , kMips64TruncLS , node ) ; <nl> + void InstructionSelector : : VisitTryTruncateFloat32ToInt64 ( Node * node ) { <nl> + Mips64OperandGenerator g ( this ) ; <nl> + InstructionOperand inputs [ ] = { g . UseRegister ( node - > InputAt ( 0 ) ) } ; <nl> + InstructionOperand outputs [ 2 ] ; <nl> + size_t output_count = 0 ; <nl> + outputs [ output_count + + ] = g . DefineAsRegister ( node ) ; <nl> + <nl> + Node * success_output = NodeProperties : : FindProjection ( node , 1 ) ; <nl> + if ( success_output ) { <nl> + outputs [ output_count + + ] = g . DefineAsRegister ( success_output ) ; <nl> + } <nl> + <nl> + this - > Emit ( kMips64TruncLS , output_count , outputs , 1 , inputs ) ; <nl> } <nl> <nl> <nl> mmm a / src / compiler / opcodes . h <nl> ppp b / src / compiler / opcodes . h <nl> <nl> V ( ChangeFloat32ToFloat64 ) \ <nl> V ( ChangeFloat64ToInt32 ) \ <nl> V ( ChangeFloat64ToUint32 ) \ <nl> - V ( TruncateFloat32ToInt64 ) \ <nl> + V ( TryTruncateFloat32ToInt64 ) \ <nl> V ( TryTruncateFloat64ToInt64 ) \ <nl> V ( TruncateFloat32ToUint64 ) \ <nl> V ( TryTruncateFloat64ToUint64 ) \ <nl> mmm a / src / compiler / raw - machine - assembler . h <nl> ppp b / src / compiler / raw - machine - assembler . h <nl> class RawMachineAssembler { <nl> return AddNode ( machine ( ) - > ChangeFloat64ToUint32 ( ) , a ) ; <nl> } <nl> Node * TruncateFloat32ToInt64 ( Node * a ) { <nl> - return AddNode ( machine ( ) - > TruncateFloat32ToInt64 ( ) , a ) ; <nl> + / / TODO ( ahaas ) : Remove this function as soon as it is not used anymore in <nl> + / / WebAssembly . <nl> + return AddNode ( machine ( ) - > TryTruncateFloat32ToInt64 ( ) , a ) ; <nl> + } <nl> + Node * TryTruncateFloat32ToInt64 ( Node * a ) { <nl> + return AddNode ( machine ( ) - > TryTruncateFloat32ToInt64 ( ) , a ) ; <nl> } <nl> Node * TruncateFloat64ToInt64 ( Node * a ) { <nl> / / TODO ( ahaas ) : Remove this function as soon as it is not used anymore in <nl> mmm a / src / compiler / typer . cc <nl> ppp b / src / compiler / typer . cc <nl> Type * Typer : : Visitor : : TypeChangeFloat64ToUint32 ( Node * node ) { <nl> } <nl> <nl> <nl> - Type * Typer : : Visitor : : TypeTruncateFloat32ToInt64 ( Node * node ) { <nl> + Type * Typer : : Visitor : : TypeTryTruncateFloat32ToInt64 ( Node * node ) { <nl> return Type : : Internal ( ) ; <nl> } <nl> <nl> mmm a / src / compiler / verifier . cc <nl> ppp b / src / compiler / verifier . cc <nl> void Verifier : : Visitor : : Check ( Node * node ) { <nl> case IrOpcode : : kChangeFloat32ToFloat64 : <nl> case IrOpcode : : kChangeFloat64ToInt32 : <nl> case IrOpcode : : kChangeFloat64ToUint32 : <nl> - case IrOpcode : : kTruncateFloat32ToInt64 : <nl> + case IrOpcode : : kTryTruncateFloat32ToInt64 : <nl> case IrOpcode : : kTryTruncateFloat64ToInt64 : <nl> case IrOpcode : : kTruncateFloat32ToUint64 : <nl> case IrOpcode : : kTryTruncateFloat64ToUint64 : <nl> mmm a / src / compiler / x64 / code - generator - x64 . cc <nl> ppp b / src / compiler / x64 / code - generator - x64 . cc <nl> void CodeGenerator : : AssembleArchInstruction ( Instruction * instr ) { <nl> } else { <nl> __ Cvttss2siq ( i . OutputRegister ( ) , i . InputOperand ( 0 ) ) ; <nl> } <nl> + if ( instr - > OutputCount ( ) > 1 ) { <nl> + __ Set ( i . OutputRegister ( 1 ) , 0x8000000000000000 ) ; <nl> + __ subq ( i . OutputRegister ( 1 ) , i . OutputRegister ( 0 ) ) ; <nl> + } <nl> break ; <nl> case kSSEFloat64ToInt64 : <nl> if ( instr - > InputAt ( 0 ) - > IsDoubleRegister ( ) ) { <nl> mmm a / src / compiler / x64 / instruction - selector - x64 . cc <nl> ppp b / src / compiler / x64 / instruction - selector - x64 . cc <nl> void InstructionSelector : : VisitChangeFloat64ToUint32 ( Node * node ) { <nl> } <nl> <nl> <nl> - void InstructionSelector : : VisitTruncateFloat32ToInt64 ( Node * node ) { <nl> + void InstructionSelector : : VisitTryTruncateFloat32ToInt64 ( Node * node ) { <nl> X64OperandGenerator g ( this ) ; <nl> - Emit ( kSSEFloat32ToInt64 , g . DefineAsRegister ( node ) , g . Use ( node - > InputAt ( 0 ) ) ) ; <nl> + InstructionOperand inputs [ ] = { g . UseRegister ( node - > InputAt ( 0 ) ) } ; <nl> + InstructionOperand outputs [ 2 ] ; <nl> + size_t output_count = 0 ; <nl> + outputs [ output_count + + ] = g . DefineAsRegister ( node ) ; <nl> + <nl> + Node * success_output = NodeProperties : : FindProjection ( node , 1 ) ; <nl> + if ( success_output ) { <nl> + outputs [ output_count + + ] = g . DefineAsRegister ( success_output ) ; <nl> + } <nl> + <nl> + Emit ( kSSEFloat32ToInt64 , output_count , outputs , 1 , inputs ) ; <nl> } <nl> <nl> <nl> mmm a / test / cctest / compiler / test - run - machops . cc <nl> ppp b / test / cctest / compiler / test - run - machops . cc <nl> TEST ( RunBitcastFloat64ToInt64 ) { <nl> } <nl> <nl> <nl> - TEST ( RunTruncateFloat32ToInt64 ) { <nl> + TEST ( RunTryTruncateFloat32ToInt64WithoutCheck ) { <nl> BufferedRawMachineAssemblerTester < int64_t > m ( kMachFloat32 ) ; <nl> - m . Return ( m . TruncateFloat32ToInt64 ( m . Parameter ( 0 ) ) ) ; <nl> + m . Return ( m . TryTruncateFloat32ToInt64 ( m . Parameter ( 0 ) ) ) ; <nl> <nl> FOR_INT64_INPUTS ( i ) { <nl> float input = static_cast < float > ( * i ) ; <nl> TEST ( RunTruncateFloat32ToInt64 ) { <nl> CHECK_EQ ( static_cast < int64_t > ( input ) , m . Call ( input ) ) ; <nl> } <nl> } <nl> - FOR_FLOAT32_INPUTS ( j ) { <nl> - if ( * j < 9223372036854775808 . 0 & & * j > - 9223372036854775809 . 0 ) { <nl> - CHECK_EQ ( static_cast < int64_t > ( * j ) , m . Call ( * j ) ) ; <nl> + } <nl> + <nl> + <nl> + TEST ( RunTryTruncateFloat32ToInt64WithCheck ) { <nl> + int64_t success = 0 ; <nl> + BufferedRawMachineAssemblerTester < int64_t > m ( kMachFloat32 ) ; <nl> + Node * trunc = m . TryTruncateFloat32ToInt64 ( m . Parameter ( 0 ) ) ; <nl> + Node * val = m . Projection ( 0 , trunc ) ; <nl> + Node * check = m . Projection ( 1 , trunc ) ; <nl> + m . StoreToPointer ( & success , kMachInt64 , check ) ; <nl> + m . Return ( val ) ; <nl> + <nl> + FOR_FLOAT32_INPUTS ( i ) { <nl> + if ( * i < 9223372036854775808 . 0 & & * i > - 9223372036854775809 . 0 ) { <nl> + CHECK_EQ ( static_cast < int64_t > ( * i ) , m . Call ( * i ) ) ; <nl> + CHECK_NE ( 0 , success ) ; <nl> + } else { <nl> + m . Call ( * i ) ; <nl> + CHECK_EQ ( 0 , success ) ; <nl> } <nl> } <nl> } <nl>
[ turbofan ] Change TruncateFloat32ToInt64 to TryTruncateFloat32ToInt64 .
v8/v8
28261daa47d406d73e40bf4afba16ee61f300089
2015-12-10T08:12:23Z
mmm a / arangod / Actions / ActionDispatcherThread . h <nl> ppp b / arangod / Actions / ActionDispatcherThread . h <nl> <nl> <nl> # include " Dispatcher / DispatcherThread . h " <nl> <nl> + <nl> / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> / / - - SECTION - - class ActionDispatcherThread <nl> / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> mmm a / arangod / Actions / RestActionHandler . cpp <nl> ppp b / arangod / Actions / RestActionHandler . cpp <nl> <nl> <nl> # include " RestActionHandler . h " <nl> <nl> - # include " Actions / ActionDispatcherThread . h " <nl> + / / # include " Actions / ActionDispatcherThread . h " <nl> # include " Actions / actions . h " <nl> # include " Basics / StringUtils . h " <nl> # include " Rest / HttpRequest . h " <nl> mmm a / arangod / Ahuacatl / ahuacatl - ast - node . c <nl> ppp b / arangod / Ahuacatl / ahuacatl - ast - node . c <nl> bool TRI_PushArrayAql ( TRI_aql_context_t * const context , <nl> / / / @ brief get the boolean value of a node <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> <nl> - inline bool TRI_GetBooleanNodeValueAql ( const TRI_aql_node_t * const node ) { <nl> + bool TRI_GetBooleanNodeValueAql ( const TRI_aql_node_t * const node ) { <nl> assert ( node ) ; <nl> assert ( node - > _type = = TRI_AQL_NODE_VALUE ) ; <nl> <nl> mmm a / arangod / Ahuacatl / ahuacatl - codegen . c <nl> ppp b / arangod / Ahuacatl / ahuacatl - codegen . c <nl> <nl> # include " Ahuacatl / ahuacatl - collections . h " <nl> # include " Ahuacatl / ahuacatl - index . h " <nl> # include " Ahuacatl / ahuacatl - functions . h " <nl> + # include " Ahuacatl / ahuacatl - node . h " <nl> # include " Ahuacatl / ahuacatl - scope . h " <nl> <nl> / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> static TRI_aql_scope_e NextScopeType ( TRI_aql_codegen_js_t * const generator , <nl> <nl> static void StartScope ( TRI_aql_codegen_js_t * const generator , <nl> TRI_string_buffer_t * const buffer , <nl> - const TRI_aql_scope_e const type , <nl> + const TRI_aql_scope_e type , <nl> const TRI_aql_codegen_register_t listRegister , <nl> const TRI_aql_codegen_register_t keyRegister , <nl> const TRI_aql_codegen_register_t ownRegister , <nl> static void ProcessFilter ( TRI_aql_codegen_js_t * const generator , <nl> / / / this is a dispatcher function only <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> <nl> - static void ProcessNode ( TRI_aql_codegen_js_t * generator , const TRI_aql_node_t * const node ) { <nl> + static void ProcessNode ( TRI_aql_codegen_js_t * const generator , const TRI_aql_node_t * const node ) { <nl> if ( node = = NULL ) { <nl> return ; <nl> } <nl> mmm a / arangod / Ahuacatl / ahuacatl - node . c <nl> ppp b / arangod / Ahuacatl / ahuacatl - node . c <nl> <nl> / / / @ { <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> <nl> - inline bool TRI_IsTopLevelTypeAql ( const TRI_aql_node_type_e type ) { <nl> + bool TRI_IsTopLevelTypeAql ( const TRI_aql_node_type_e type ) { <nl> if ( type = = TRI_AQL_NODE_SCOPE_START | | <nl> type = = TRI_AQL_NODE_SCOPE_END | | <nl> type = = TRI_AQL_NODE_SUBQUERY | | <nl> const char * TRI_NodeNameAql ( const TRI_aql_node_type_e type ) { <nl> / / / @ brief return true if a node is a list node <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> <nl> - inline bool TRI_IsListNodeAql ( const TRI_aql_node_t * const node ) { <nl> + bool TRI_IsListNodeAql ( const TRI_aql_node_t * const node ) { <nl> return ( node - > _type = = TRI_AQL_NODE_LIST ) ; <nl> } <nl> <nl> bool TRI_IsConstantValueNodeAql ( const TRI_aql_node_t * const node ) { <nl> / / / @ brief checks if a node value is numeric <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> <nl> - inline bool TRI_IsNumericValueNodeAql ( const TRI_aql_node_t * const node ) { <nl> + bool TRI_IsNumericValueNodeAql ( const TRI_aql_node_t * const node ) { <nl> assert ( node ) ; <nl> <nl> if ( node - > _type ! = TRI_AQL_NODE_VALUE ) { <nl> inline bool TRI_IsNumericValueNodeAql ( const TRI_aql_node_t * const node ) { <nl> / / / @ brief checks if a node value is boolean <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> <nl> - inline bool TRI_IsBooleanValueNodeAql ( const TRI_aql_node_t * const node ) { <nl> + bool TRI_IsBooleanValueNodeAql ( const TRI_aql_node_t * const node ) { <nl> assert ( node ) ; <nl> <nl> return ( node - > _type = = TRI_AQL_NODE_VALUE & & node - > _value . _type = = TRI_AQL_TYPE_BOOL ) ; <nl> mmm a / arangod / Ahuacatl / ahuacatl - optimiser . c <nl> ppp b / arangod / Ahuacatl / ahuacatl - optimiser . c <nl> static TRI_aql_node_t * OptimiseUnaryArithmeticOperation ( TRI_aql_context_t * cons <nl> TRI_SetErrorContextAql ( context , TRI_ERROR_QUERY_INVALID_ARITHMETIC_VALUE , NULL ) ; <nl> return node ; <nl> } <nl> + <nl> <nl> if ( node - > _type = = TRI_AQL_NODE_OPERATOR_UNARY_PLUS ) { <nl> / / + number = > number <nl> static TRI_aql_node_t * OptimiseBinaryArithmeticOperation ( TRI_aql_context_t * con <nl> <nl> isEligibleLhs = TRI_IsConstantValueNodeAql ( lhs ) ; <nl> isEligibleRhs = TRI_IsConstantValueNodeAql ( rhs ) ; <nl> - <nl> + <nl> if ( isEligibleLhs & & ! TRI_IsNumericValueNodeAql ( lhs ) ) { <nl> / / node is not a numeric value = > error <nl> TRI_SetErrorContextAql ( context , TRI_ERROR_QUERY_INVALID_ARITHMETIC_VALUE , NULL ) ; <nl> static TRI_aql_node_t * OptimiseBinaryArithmeticOperation ( TRI_aql_context_t * con <nl> return node ; <nl> } <nl> <nl> + <nl> if ( ! isEligibleLhs | | ! isEligibleRhs ) { <nl> return node ; <nl> } <nl> mmm a / arangod / BitIndexes / bitarrayIndex . c <nl> ppp b / arangod / BitIndexes / bitarrayIndex . c <nl> static bool isEqualJson ( TRI_json_t * left , TRI_json_t * right ) { <nl> default : { <nl> assert ( false ) ; <nl> } <nl> - } <nl> + } <nl> + <nl> + return false ; / / shut the vc + + up <nl> } <nl> <nl> <nl> mmm a / arangod / PriorityQueue / pqueueindex . c <nl> ppp b / arangod / PriorityQueue / pqueueindex . c <nl> static int CompareShapeTypes ( const TRI_shaped_json_t * left , const TRI_shaped_js <nl> <nl> } <nl> assert ( false ) ; <nl> + return 0 ; / / shut the vc + + up <nl> } <nl> <nl> <nl> mmm a / arangod / RestServer / ArangoServer . cpp <nl> ppp b / arangod / RestServer / ArangoServer . cpp <nl> <nl> # include " Admin / RestHandlerCreator . h " <nl> # include " Basics / ProgramOptions . h " <nl> # include " Basics / ProgramOptionsDescription . h " <nl> - # include " Basics / Random . h " <nl> + # include " Basics / RandomGenerator . h " <nl> # include " Basics / Utf8Helper . h " <nl> # include " BasicsC / files . h " <nl> # include " BasicsC / init . h " <nl> <nl> # include " HttpServer / RedirectHandler . h " <nl> <nl> # include " Logger / Logger . h " <nl> - # include " Rest / Initialise . h " <nl> + # include " Rest / InitialiseRest . h " <nl> # include " Rest / OperationMode . h " <nl> # include " RestHandler / ConnectionStatisticsHandler . h " <nl> # include " RestHandler / RequestStatisticsHandler . h " <nl> <nl> # include " RestHandler / RestEdgeHandler . h " <nl> # include " RestHandler / RestImportHandler . h " <nl> # include " Scheduler / ApplicationScheduler . h " <nl> + <nl> + # ifndef _WIN32 <nl> # include " V8 / V8LineEditor . h " <nl> + # endif <nl> + <nl> # include " V8 / v8 - conv . h " <nl> # include " V8 / v8 - utils . h " <nl> # include " V8Server / ApplicationV8 . h " <nl> void ArangoServer : : buildApplicationServer ( ) { <nl> <nl> _applicationServer = new ApplicationServer ( " arangod " , " [ < options > ] < database - directory > " , TRIAGENS_VERSION ) ; <nl> _applicationServer - > setSystemConfigFile ( " arangod . conf " ) ; <nl> - _applicationServer - > setUserConfigFile ( " . arango / arangod . conf " ) ; <nl> + _applicationServer - > setUserConfigFile ( string ( " . arango " ) + string ( 1 , TRI_DIR_SEPARATOR_CHAR ) + string ( " arangod . conf " ) ) ; <nl> <nl> / / . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . <nl> / / multi - threading scheduler and dispatcher <nl> int ArangoServer : : executeConsole ( OperationMode : : server_operation_mode_e mode ) { <nl> / / . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . <nl> <nl> case OperationMode : : MODE_CONSOLE : { <nl> + # ifndef _WIN32 <nl> context - > _context - > Global ( ) - > Set ( v8 : : String : : New ( " DATABASEPATH " ) , v8 : : String : : New ( _databasePath . c_str ( ) ) , v8 : : ReadOnly ) ; <nl> context - > _context - > Global ( ) - > Set ( v8 : : String : : New ( " VALGRIND " ) , _runningOnValgrind ? v8 : : True ( ) : v8 : : False ( ) , v8 : : ReadOnly ) ; <nl> V8LineEditor * console = new V8LineEditor ( context - > _context , " . arango " ) ; <nl> int ArangoServer : : executeConsole ( OperationMode : : server_operation_mode_e mode ) { <nl> console - > close ( ) ; <nl> <nl> delete console ; <nl> - <nl> + # endif <nl> break ; <nl> } <nl> <nl> mmm a / arangod / RestServer / arango . cpp <nl> ppp b / arangod / RestServer / arango . cpp <nl> <nl> # include " Basics / Common . h " <nl> <nl> # include " RestServer / ArangoServer . h " <nl> - # include " ResultGenerator / Initialise . h " <nl> + # include " ResultGenerator / InitialiseGenerator . h " <nl> <nl> using namespace triagens ; <nl> using namespace triagens : : rest ; <nl> using namespace triagens : : arango ; <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> <nl> int main ( int argc , char * argv [ ] ) { <nl> + int res = 0 ; <nl> + <nl> TRIAGENS_RESULT_GENERATOR_INITIALISE ( argc , argv ) ; <nl> TRI_InitialiseVocBase ( ) ; <nl> <nl> int main ( int argc , char * argv [ ] ) { <nl> ArangoServer server ( argc , argv ) ; <nl> <nl> <nl> - int res = server . start ( ) ; <nl> + res = server . start ( ) ; <nl> <nl> <nl> / / shutdown <nl> mmm a / arangod / SkipLists / compare . h <nl> ppp b / arangod / SkipLists / compare . h <nl> static int CompareShapeTypes ( const TRI_shaped_json_t * left , const TRI_shaped_js <nl> } / / end of switch ( leftType ) <nl> <nl> assert ( false ) ; <nl> + <nl> + return 0 ; / / shut the vc + + up <nl> } <nl> <nl> <nl> mmm a / arangod / V8Server / v8 - actions . cpp <nl> ppp b / arangod / V8Server / v8 - actions . cpp <nl> using namespace triagens : : basics ; <nl> using namespace triagens : : rest ; <nl> using namespace triagens : : arango ; <nl> <nl> + <nl> / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> / / - - SECTION - - forward declarations <nl> / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> mmm a / arangod / VocBase / compactor . c <nl> ppp b / arangod / VocBase / compactor . c <nl> <nl> / / / @ author Copyright 2011 , triagens GmbH , Cologne , Germany <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> <nl> + # ifdef _WIN32 <nl> + # include " BasicsC / win - utils . h " <nl> + # endif <nl> + <nl> # include " compactor . h " <nl> <nl> # include " BasicsC / conversions . h " <nl> mmm a / arangod / VocBase / document - collection . c <nl> ppp b / arangod / VocBase / document - collection . c <nl> static int GeoIndexFromJson ( TRI_document_collection_t * sim , <nl> else { <nl> assert ( false ) ; <nl> } <nl> + <nl> + return 0 ; / / shut the vc + + up <nl> } <nl> <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> mmm a / arangod / VocBase / general - cursor . c <nl> ppp b / arangod / VocBase / general - cursor . c <nl> TRI_general_cursor_t * TRI_CreateGeneralCursor ( TRI_general_cursor_result_t * resu <nl> / / / @ brief exclusively lock a general cursor <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> <nl> - inline void TRI_LockGeneralCursor ( TRI_general_cursor_t * const cursor ) { <nl> + void TRI_LockGeneralCursor ( TRI_general_cursor_t * const cursor ) { <nl> TRI_LockMutex ( & cursor - > _lock ) ; <nl> } <nl> <nl> inline void TRI_LockGeneralCursor ( TRI_general_cursor_t * const cursor ) { <nl> / / / @ brief unlock a general cursor <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> <nl> - inline void TRI_UnlockGeneralCursor ( TRI_general_cursor_t * const cursor ) { <nl> + void TRI_UnlockGeneralCursor ( TRI_general_cursor_t * const cursor ) { <nl> assert ( cursor ) ; <nl> <nl> TRI_UnlockMutex ( & cursor - > _lock ) ; <nl> mmm a / arangosh / V8Client / arangoimp . cpp <nl> ppp b / arangosh / V8Client / arangoimp . cpp <nl> <nl> # include " ImportHelper . h " <nl> # include " Logger / Logger . h " <nl> # include " Rest / Endpoint . h " <nl> - # include " Rest / Initialise . h " <nl> + # include " Rest / InitialiseRest . h " <nl> # include " SimpleHttpClient / SimpleHttpClient . h " <nl> # include " SimpleHttpClient / SimpleHttpResult . h " <nl> # include " V8Client / V8ClientConnection . h " <nl> mmm a / arangosh / V8Client / arangosh . cpp <nl> ppp b / arangosh / V8Client / arangosh . cpp <nl> <nl> # include " BasicsC / init . h " <nl> # include " BasicsC / strings . h " <nl> # include " Rest / Endpoint . h " <nl> - # include " Rest / Initialise . h " <nl> + # include " Rest / InitialiseRest . h " <nl> # include " SimpleHttpClient / SimpleHttpClient . h " <nl> # include " SimpleHttpClient / SimpleHttpResult . h " <nl> # include " V8 / JSLoader . h " <nl> mmm a / lib / ApplicationServer / ApplicationServer . cpp <nl> ppp b / lib / ApplicationServer / ApplicationServer . cpp <nl> <nl> <nl> # include " ApplicationServer / ApplicationFeature . h " <nl> # include " Basics / FileUtils . h " <nl> - # include " Basics / Random . h " <nl> + # include " Basics / RandomGenerator . h " <nl> # include " Basics / StringUtils . h " <nl> # include " Basics / delete_object . h " <nl> # include " BasicsC / conversions . h " <nl> string const ApplicationServer : : OPTIONS_SERVER = " Server Options " ; <nl> / / / @ brief constructor <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> <nl> + # ifdef _WIN32 <nl> + ApplicationServer : : ApplicationServer ( string const & name , string const & title , string const & version ) <nl> + : _options ( ) , <nl> + _description ( ) , <nl> + _descriptionFile ( ) , <nl> + _arguments ( ) , <nl> + _features ( ) , <nl> + _exitOnParentDeath ( false ) , <nl> + _watchParent ( 0 ) , <nl> + _stopping ( 0 ) , <nl> + _name ( name ) , <nl> + _title ( title ) , <nl> + _version ( version ) , <nl> + _configFile ( ) , <nl> + _userConfigFile ( ) , <nl> + _systemConfigFile ( ) , <nl> + _systemConfigPath ( ) , <nl> + _uid ( ) , <nl> + _realUid ( 0 ) , <nl> + _effectiveUid ( 0 ) , <nl> + _gid ( ) , <nl> + _realGid ( 0 ) , <nl> + _effectiveGid ( 0 ) , <nl> + _logApplicationName ( " triagens " ) , <nl> + _logHostName ( " - " ) , <nl> + _logFacility ( " - " ) , <nl> + _logLevel ( " info " ) , <nl> + _logFormat ( ) , <nl> + _logSeverity ( " human " ) , <nl> + _logFile ( " + " ) , <nl> + _logPrefix ( ) , <nl> + _logSyslog ( ) , <nl> + _logThreadId ( false ) , <nl> + _logLineNumber ( false ) , <nl> + _randomGenerator ( 5 ) { <nl> + } <nl> + # else <nl> ApplicationServer : : ApplicationServer ( string const & name , string const & title , string const & version ) <nl> : _options ( ) , <nl> _description ( ) , <nl> ApplicationServer : : ApplicationServer ( string const & name , string const & title , s <nl> _logLineNumber ( false ) , <nl> _randomGenerator ( 3 ) { <nl> } <nl> + # endif <nl> <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> / / / @ brief destructor <nl> bool ApplicationServer : : parse ( int argc , <nl> <nl> try { <nl> switch ( _randomGenerator ) { <nl> - case 1 : Random : : selectVersion ( Random : : RAND_MERSENNE ) ; break ; <nl> - case 2 : Random : : selectVersion ( Random : : RAND_RANDOM ) ; break ; <nl> - case 3 : Random : : selectVersion ( Random : : RAND_URANDOM ) ; break ; <nl> - case 4 : Random : : selectVersion ( Random : : RAND_COMBINED ) ; break ; <nl> - default : break ; <nl> + case 1 : { <nl> + Random : : selectVersion ( Random : : RAND_MERSENNE ) ; <nl> + break ; <nl> + } <nl> + case 2 : { <nl> + Random : : selectVersion ( Random : : RAND_RANDOM ) ; <nl> + break ; <nl> + } <nl> + case 3 : { <nl> + Random : : selectVersion ( Random : : RAND_URANDOM ) ; <nl> + break ; <nl> + } <nl> + case 4 : { <nl> + Random : : selectVersion ( Random : : RAND_COMBINED ) ; <nl> + break ; <nl> + } <nl> + case 5 : { <nl> + Random : : selectVersion ( Random : : RAND_WIN32 ) ; <nl> + break ; <nl> + } <nl> + default : { <nl> + break ; <nl> + } <nl> } <nl> } <nl> catch ( . . . ) { <nl> bool ApplicationServer : : parse ( int argc , <nl> exit ( EXIT_FAILURE ) ; <nl> } <nl> <nl> + <nl> for ( vector < ApplicationFeature * > : : iterator i = _features . begin ( ) ; i ! = _features . end ( ) ; + + i ) { <nl> ok = ( * i ) - > parsePhase2 ( _options ) ; <nl> <nl> bool ApplicationServer : : readConfigurationFile ( ) { <nl> / / nothing has been specified on the command line regarding configuration file <nl> if ( ! _userConfigFile . empty ( ) ) { <nl> <nl> + / / . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . <nl> / / first attempt to obtain a default configuration file from the users home directory <nl> - string homeDir = string ( getenv ( " HOME " ) ) ; <nl> + / / . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . <nl> + <nl> + / / . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . <nl> + / / Under windows there is no ' HOME ' directory as such so getenv ( " HOME " ) <nl> + / / may return NULL - - which it does under windows <nl> + / / A safer approach below <nl> + / / . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . <nl> + <nl> + string homeDir ; <nl> + string homeEnv ; <nl> + const char * envResult ; <nl> + <nl> + # ifdef _WIN32 <nl> + string homeDrive ; <nl> + string homePath ; <nl> + <nl> + homeEnv = string ( " % HOMEDRIVE % and / or % HOMEPATH % " ) ; <nl> + <nl> + envResult = getenv ( " HOMEDRIVE " ) ; <nl> + if ( envResult ! = 0 ) { <nl> + homeDrive = string ( envResult ) ; <nl> + } <nl> + <nl> + envResult = getenv ( " HOMEPATH " ) ; <nl> + if ( envResult ! = 0 ) { <nl> + homePath = string ( envResult ) ; <nl> + } <nl> + <nl> + if ( ! homeDrive . empty ( ) & & ! homePath . empty ( ) ) { <nl> + homeDir = homeDrive + homePath ; <nl> + } <nl> + else { <nl> + homeDir = string ( " " ) ; <nl> + } <nl> + # else <nl> + homeEnv = string ( " $ HOME " ) ; <nl> + envResult = getenv ( " HOME " ) ; <nl> + if ( envResult ! = 0 ) { <nl> + homeDir = string ( envResult ) ; <nl> + } <nl> + else { <nl> + homeDir = string ( " " ) ; <nl> + } <nl> + # endif <nl> <nl> if ( ! homeDir . empty ( ) ) { <nl> - if ( homeDir [ homeDir . size ( ) - 1 ] ! = ' / ' ) { <nl> - homeDir + = " / " + _userConfigFile ; <nl> + if ( homeDir [ homeDir . size ( ) - 1 ] ! = TRI_DIR_SEPARATOR_CHAR ) { <nl> + homeDir + = TRI_DIR_SEPARATOR_CHAR + _userConfigFile ; <nl> } <nl> else { <nl> homeDir + = _userConfigFile ; <nl> bool ApplicationServer : : readConfigurationFile ( ) { <nl> } <nl> } <nl> else { <nl> - LOGGER_DEBUG < < " no user init file , $ HOME is empty " ; <nl> + LOGGER_DEBUG < < " no user init file , " < < homeEnv < < " is empty " ; <nl> } <nl> } <nl> <nl> similarity index 96 % <nl> rename from lib / Basics / Initialise . cpp <nl> rename to lib / Basics / InitialiseBasics . cpp <nl> mmm a / lib / Basics / Initialise . cpp <nl> ppp b / lib / Basics / InitialiseBasics . cpp <nl> <nl> / / / @ author Copyright 2009 - 2012 , triAGENS GmbH , Cologne , Germany <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> <nl> - # include " Basics / Initialise . h " <nl> + # include " Basics / InitialiseBasics . h " <nl> <nl> # include " BasicsC / init . h " <nl> # include " BasicsC / error . h " <nl> <nl> # include " BasicsC / random . h " <nl> <nl> # include " Logger / Logger . h " <nl> - # include " Basics / Random . h " <nl> + # include " Basics / RandomGenerator . h " <nl> <nl> # ifdef TRI_BROKEN_CXA_GUARD <nl> # include < pthread . h > <nl> similarity index 96 % <nl> rename from lib / Basics / Initialise . h <nl> rename to lib / Basics / InitialiseBasics . h <nl> mmm a / lib / Basics / Initialise . h <nl> ppp b / lib / Basics / InitialiseBasics . h <nl> <nl> / / / @ author Copyright 2009 - 2012 , triAGENS GmbH , Cologne , Germany <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> <nl> - # ifndef TRIAGENS_BASICS_INITIALISE_H <nl> - # define TRIAGENS_BASICS_INITIALISE_H 1 <nl> + # ifndef TRIAGENS_BASICS_INITIALISE_BASICS_H <nl> + # define TRIAGENS_BASICS_INITIALISE_BASICS_H 1 <nl> <nl> # include " Basics / Common . h " <nl> <nl> similarity index 87 % <nl> rename from lib / Basics / Random . cpp <nl> rename to lib / Basics / RandomGenerator . cpp <nl> mmm a / lib / Basics / Random . cpp <nl> ppp b / lib / Basics / RandomGenerator . cpp <nl> <nl> / / / @ author Copyright 2009 - 2012 , triAGENS GmbH , Cologne , Germany <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> <nl> - # include " Random . h " <nl> + # include " RandomGenerator . h " <nl> <nl> # include " BasicsC / mersenne . h " <nl> # include " BasicsC / socket - utils . h " <nl> namespace RandomHelper { <nl> uint32_t rseed ; <nl> } ; <nl> <nl> + template < int N > <nl> + class RandomDeviceWin32 : public RandomDevice { <nl> + # ifndef _WIN32 <nl> + public : <nl> + RandomDeviceWin32 ( ) { assert ( false ) ; } <nl> + ~ RandomDeviceWin32 ( ) { } <nl> + uint32_t random ( ) { return 0 ; } <nl> + # else <nl> + public : <nl> + RandomDeviceWin32 ( ) : cryptoHandle ( 0 ) , pos ( 0 ) { <nl> + CryptAcquireContext ( & cryptoHandle , NULL , NULL , PROV_RSA_FULL , 0 ) ; <nl> + if ( cryptoHandle = = 0 ) { <nl> + THROW_INTERNAL_ERROR ( " cannot create cryptographic windows handle " ) ; <nl> + } <nl> + fillBuffer ( ) ; <nl> + } <nl> + <nl> + <nl> + ~ RandomDeviceWin32 ( ) { <nl> + if ( cryptoHandle ! = 0 ) { <nl> + CryptReleaseContext ( cryptoHandle , 0 ) ; <nl> + } <nl> + } <nl> + <nl> + <nl> + uint32_t random ( ) { <nl> + if ( pos > = N ) { <nl> + fillBuffer ( ) ; <nl> + } <nl> + <nl> + return buffer [ pos + + ] ; <nl> + } <nl> <nl> + private : <nl> + void fillBuffer ( ) { <nl> + size_t n = sizeof ( buffer ) ; <nl> + BYTE * ptr = reinterpret_cast < BYTE * > ( & buffer ) ; <nl> + <nl> + / / fill the buffer with random characters <nl> + int result = CryptGenRandom ( cryptoHandle , n , ptr ) ; <nl> + if ( result = = 0 ) { <nl> + LOGGER_FATAL < < " read on random device failed : nothing read " ; <nl> + THROW_INTERNAL_ERROR ( " read on random device failed " ) ; <nl> + } <nl> + pos = 0 ; <nl> + } <nl> + <nl> + private : <nl> + HCRYPTPROV cryptoHandle ; <nl> + uint32_t buffer [ N ] ; <nl> + size_t pos ; <nl> + # endif <nl> + } ; <nl> <nl> RandomDevice * randomDevice = 0 ; <nl> RandomDevice * urandomDevice = 0 ; <nl> RandomDevice * combinedDevice = 0 ; <nl> + RandomDevice * win32Device = 0 ; <nl> } <nl> <nl> / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> namespace triagens { <nl> } ; <nl> <nl> <nl> + / / RANDOM DEVICE <nl> + struct UniformIntegerWin32 : public UniformIntegerImpl , private RandomHelper : : UniformGenerator { <nl> + UniformIntegerWin32 ( RandomHelper : : RandomDevice * device ) : RandomHelper : : UniformGenerator ( device ) { <nl> + } <nl> + <nl> + int32_t random ( int32_t left , int32_t right ) { <nl> + return RandomHelper : : UniformGenerator : : random ( left , right ) ; <nl> + } <nl> + } ; <nl> + <nl> + <nl> <nl> / / current implementation ( see version at the top of the file ) <nl> UniformIntegerImpl * uniformInteger = new UniformIntegerMersenne ; <nl> namespace triagens { <nl> / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> <nl> random_e selectVersion ( random_e newVersion ) { <nl> + <nl> MUTEX_LOCKER ( RandomLock ) ; <nl> <nl> random_e oldVersion = version ; <nl> namespace triagens { <nl> uniformInteger = 0 ; <nl> } <nl> <nl> + <nl> switch ( version ) { <nl> - case RAND_MERSENNE : <nl> + <nl> + case RAND_MERSENNE : { <nl> uniformInteger = new UniformIntegerMersenne ; <nl> break ; <nl> + } <nl> <nl> - case RAND_RANDOM : <nl> + case RAND_RANDOM : { <nl> if ( RandomHelper : : randomDevice = = 0 ) { <nl> RandomHelper : : randomDevice = new RandomHelper : : RandomDeviceDirect < 1024 > ( " / dev / random " ) ; <nl> } <nl> namespace triagens { <nl> uniformInteger = new UniformIntegerRandom ( RandomHelper : : randomDevice ) ; <nl> <nl> break ; <nl> + } <nl> <nl> - case RAND_URANDOM : <nl> + case RAND_URANDOM : { <nl> if ( RandomHelper : : urandomDevice = = 0 ) { <nl> RandomHelper : : urandomDevice = new RandomHelper : : RandomDeviceDirect < 1024 > ( " / dev / urandom " ) ; <nl> } <nl> namespace triagens { <nl> uniformInteger = new UniformIntegerRandom ( RandomHelper : : urandomDevice ) ; <nl> <nl> break ; <nl> + } <nl> <nl> - case RAND_COMBINED : <nl> + case RAND_COMBINED : { <nl> if ( RandomHelper : : combinedDevice = = 0 ) { <nl> RandomHelper : : combinedDevice = new RandomHelper : : RandomDeviceCombined < 600 > ( " / dev / random " ) ; <nl> } <nl> namespace triagens { <nl> uniformInteger = new UniformIntegerRandom ( RandomHelper : : combinedDevice ) ; <nl> <nl> break ; <nl> + } <nl> + <nl> + case RAND_WIN32 : { <nl> + if ( RandomHelper : : win32Device = = 0 ) { <nl> + RandomHelper : : win32Device = new RandomHelper : : RandomDeviceWin32 < 1024 > ( ) ; <nl> + } <nl> + uniformInteger = new UniformIntegerWin32 ( RandomHelper : : win32Device ) ; <nl> + break ; <nl> + } <nl> <nl> - default : <nl> + default : { <nl> THROW_INTERNAL_ERROR ( " unknown random generator " ) ; <nl> + } <nl> + <nl> } <nl> <nl> return oldVersion ; <nl> similarity index 95 % <nl> rename from lib / Basics / Random . h <nl> rename to lib / Basics / RandomGenerator . h <nl> mmm a / lib / Basics / Random . h <nl> ppp b / lib / Basics / RandomGenerator . h <nl> <nl> / / / @ author Copyright 2009 - 2012 , triAGENS GmbH , Cologne , Germany <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> <nl> - # ifndef TRIAGENS_BASICS_RANDOM_H <nl> - # define TRIAGENS_BASICS_RANDOM_H 1 <nl> + # ifndef TRIAGENS_BASICS_RANDOM_GENERATOR_H <nl> + # define TRIAGENS_BASICS_RANDOM_GENERATOR_H 1 <nl> <nl> # include " Basics / Common . h " <nl> <nl> + # ifdef _WIN32 <nl> + # include < Wincrypt . h > <nl> + # endif <nl> + <nl> namespace triagens { <nl> namespace basics { <nl> <nl> namespace triagens { <nl> RAND_MERSENNE = 1 , <nl> RAND_RANDOM = 2 , <nl> RAND_URANDOM = 3 , <nl> - RAND_COMBINED = 4 <nl> + RAND_COMBINED = 4 , <nl> + RAND_WIN32 = 5 / / uses the built in cryptographic services offered and recommended by microsoft ( e . g . CryptGenKey ( . . . ) ) <nl> } ; <nl> <nl> <nl> mmm a / lib / Basics / StringUtils . h <nl> ppp b / lib / Basics / StringUtils . h <nl> <nl> / / / Copyright holder is triAGENS GmbH , Cologne , Germany <nl> / / / <nl> / / / @ author Dr . Frank Celler <nl> - / / / @ author Dr . Oreste Costa - Panaia <nl> + / / / @ author Dr . O <nl> / / / @ author Copyright 2005 - 2012 , triAGENS GmbH , Cologne , Germany <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> <nl> mmm a / lib / BasicsC / files . c <nl> ppp b / lib / BasicsC / files . c <nl> char * TRI_Dirname ( char const * path ) { <nl> m = 0 ; <nl> <nl> if ( 1 < n ) { <nl> - if ( path [ n - 1 ] = = ' / ' ) { <nl> + if ( path [ n - 1 ] = = TRI_DIR_SEPARATOR_CHAR ) { <nl> m = 1 ; <nl> } <nl> } <nl> char * TRI_Dirname ( char const * path ) { <nl> if ( n = = 0 ) { <nl> return TRI_DuplicateString ( " . " ) ; <nl> } <nl> - else if ( n = = 1 & & * path = = ' / ' ) { <nl> - return TRI_DuplicateString ( " / " ) ; <nl> + else if ( n = = 1 & & * path = = TRI_DIR_SEPARATOR_CHAR ) { <nl> + return TRI_DuplicateString ( TRI_DIR_SEPARATOR_STR ) ; <nl> } <nl> else if ( n - m = = 1 & & * path = = ' . ' ) { <nl> return TRI_DuplicateString ( " . " ) ; <nl> char * TRI_Dirname ( char const * path ) { <nl> } <nl> <nl> for ( p = path + ( n - m - 1 ) ; path < p ; - - p ) { <nl> - if ( * p = = ' / ' ) { <nl> + if ( * p = = TRI_DIR_SEPARATOR_CHAR ) { <nl> break ; <nl> } <nl> } <nl> <nl> if ( path = = p ) { <nl> - if ( * p = = ' / ' ) { <nl> - return TRI_DuplicateString ( " / " ) ; <nl> + if ( * p = = TRI_DIR_SEPARATOR_CHAR ) { <nl> + return TRI_DuplicateString ( TRI_DIR_SEPARATOR_STR ) ; <nl> } <nl> else { <nl> return TRI_DuplicateString ( " . " ) ; <nl> char * TRI_Basename ( char const * path ) { <nl> m = 0 ; <nl> <nl> if ( 1 < n ) { <nl> - if ( path [ n - 1 ] = = ' / ' ) { <nl> + if ( path [ n - 1 ] = = TRI_DIR_SEPARATOR_CHAR ) { <nl> m = 1 ; <nl> } <nl> } <nl> char * TRI_Basename ( char const * path ) { <nl> if ( n = = 0 ) { <nl> return TRI_DuplicateString ( " " ) ; <nl> } <nl> - else if ( n = = 1 & & * path = = ' / ' ) { <nl> + else if ( n = = 1 & & * path = = TRI_DIR_SEPARATOR_CHAR ) { <nl> return TRI_DuplicateString ( " " ) ; <nl> } <nl> else if ( n - m = = 1 & & * path = = ' . ' ) { <nl> char * TRI_Basename ( char const * path ) { <nl> } <nl> <nl> for ( p = path + ( n - m - 1 ) ; path < p ; - - p ) { <nl> - if ( * p = = ' / ' ) { <nl> + if ( * p = = TRI_DIR_SEPARATOR_CHAR ) { <nl> break ; <nl> } <nl> } <nl> <nl> if ( path = = p ) { <nl> - if ( * p = = ' / ' ) { <nl> + if ( * p = = TRI_DIR_SEPARATOR_CHAR ) { <nl> return TRI_DuplicateString2 ( path + 1 , n - m ) ; <nl> } <nl> } <nl> char * TRI_Basename ( char const * path ) { <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> <nl> char * TRI_Concatenate2File ( char const * path , char const * name ) { <nl> - return TRI_Concatenate3String ( path , " / " , name ) ; <nl> + return TRI_Concatenate3String ( path , TRI_DIR_SEPARATOR_STR , name ) ; <nl> } <nl> <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> char * TRI_Concatenate2File ( char const * path , char const * name ) { <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> <nl> char * TRI_Concatenate3File ( char const * path1 , char const * path2 , char const * name ) { <nl> - return TRI_Concatenate5String ( path1 , " / " , path2 , " / " , name ) ; <nl> + return TRI_Concatenate5String ( path1 , TRI_DIR_SEPARATOR_STR , path2 , TRI_DIR_SEPARATOR_STR , name ) ; <nl> } <nl> <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> char * TRI_LocateBinaryPath ( char const * argv0 ) { <nl> char * binaryPath = NULL ; <nl> size_t i ; <nl> <nl> - / / check if name contains a ' / ' <nl> + / / check if name contains a ' / ' ( or ' \ ' for windows ) <nl> p = argv0 ; <nl> <nl> - for ( ; * p & & * p ! = ' / ' ; + + p ) { <nl> + for ( ; * p & & * p ! = TRI_DIR_SEPARATOR_CHAR ; + + p ) { <nl> } <nl> <nl> / / contains a path <nl> mmm a / lib / BasicsC / locks - win32 . c <nl> ppp b / lib / BasicsC / locks - win32 . c <nl> void TRI_ReadLockReadWriteLock ( TRI_read_write_lock_t * lock ) { <nl> LeaveCriticalSection ( & lock - > _lockReaders ) ; <nl> <nl> if ( WaitForSingleObject ( lock - > _writerEvent , 0 ) ! = WAIT_OBJECT_0 ) { <nl> + exit ( EXIT_FAILURE ) ; <nl> EnterCriticalSection ( & lock - > _lockReaders ) ; <nl> DecrementReaders ( lock ) ; <nl> LeaveCriticalSection ( & lock - > _lockReaders ) ; <nl> void TRI_ReadUnlockReadWriteLock ( TRI_read_write_lock_t * lock ) { <nl> exit ( EXIT_FAILURE ) ; <nl> } <nl> <nl> - LeaveCriticalSection ( & lock - > _lockWriter ) ; <nl> + LeaveCriticalSection ( & lock - > _lockReaders ) ; <nl> } <nl> <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> void TRI_WriteLockReadWriteLock ( TRI_read_write_lock_t * lock ) { <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> <nl> void TRI_WriteUnlockReadWriteLock ( TRI_read_write_lock_t * lock ) { <nl> + / / printf ( " % s : % s : % s : % d : % s : % d \ n " , " oreste " , __FILE__ , __FUNCTION__ , __LINE__ , " ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! " , ( uint64_t ) ( lock ) ) ; <nl> EnterCriticalSection ( & lock - > _lockReaders ) ; <nl> <nl> / / a write lock eists <nl> mmm a / lib / BasicsC / logging . c <nl> ppp b / lib / BasicsC / logging . c <nl> <nl> # include " win - utils . h " <nl> # endif <nl> <nl> - # include " logging . h " <nl> + # include " BasicsC / logging . h " <nl> <nl> # ifdef TRI_ENABLE_SYSLOG <nl> # define SYSLOG_NAMES <nl> mmm a / lib / BasicsC / operating - system . h <nl> ppp b / lib / BasicsC / operating - system . h <nl> <nl> / / / @ { <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> <nl> - # define TRI_DIR_SEPARATOR_CHAR ' / ' <nl> # define TRI_HAVE_GETGRGID 1 <nl> # define TRI_HAVE_GETPWNAM 1 <nl> # define TRI_HAVE_GETPWUID 1 <nl> <nl> <nl> # ifdef __APPLE__ <nl> <nl> + # define TRI_DIR_SEPARATOR_CHAR ' / ' <nl> + # define TRI_DIR_SEPARATOR_STR " / " <nl> + <nl> # define TRI_HAVE_POSIX 1 <nl> <nl> # define TRI_HAVE_DLFCN_H 1 <nl> <nl> <nl> # ifdef __CYGWIN__ <nl> <nl> + # define TRI_DIR_SEPARATOR_CHAR ' / ' <nl> + # define TRI_DIR_SEPARATOR_STR " / " <nl> + <nl> # define TRI_HAVE_POSIX 1 <nl> <nl> # define TRI_HAVE_DLFCN_H 1 <nl> <nl> <nl> # ifdef __linux__ <nl> <nl> + # define TRI_DIR_SEPARATOR_CHAR ' / ' <nl> + # define TRI_DIR_SEPARATOR_STR " / " <nl> + <nl> # define TRI_HAVE_POSIX 1 <nl> <nl> # define TRI_HAVE_DLFCN_H 1 <nl> <nl> <nl> # if defined ( _WIN32 ) & & defined ( _MSC_VER ) <nl> <nl> + # define TRI_DIR_SEPARATOR_CHAR ' \ \ ' <nl> + # define TRI_DIR_SEPARATOR_STR " \ \ " <nl> + <nl> # define _CRT_SECURE_NO_WARNINGS 1 <nl> # define _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES 1 <nl> <nl> typedef unsigned int bool ; <nl> / / . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . <nl> # define inline _inline <nl> <nl> + / / . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . <nl> + / / windows uses _alloca instead of alloca <nl> + / / . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . <nl> + # define alloca _alloca <nl> + <nl> + <nl> + <nl> # endif <nl> <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> mmm a / lib / BasicsC / random . c <nl> ppp b / lib / BasicsC / random . c <nl> static unsigned long SeedRandom ( void ) { <nl> / / / @ brief generates a 16 bit random unsigned integer <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> <nl> - uint16_t TRI_UInt16Random ( ) { <nl> + uint16_t TRI_UInt16Random ( void ) { <nl> # if RAND_MAX = = 2147483647 <nl> <nl> return rand ( ) & 0xFFFF ; <nl> uint16_t TRI_UInt16Random ( ) { <nl> / / / @ brief generates a 32 bit random unsigned integer <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> <nl> - uint32_t TRI_UInt32Random ( ) { <nl> + uint32_t TRI_UInt32Random ( void ) { <nl> # if RAND_MAX = = 2147483647 <nl> <nl> uint32_t l1 ; <nl> uint32_t TRI_UInt32Random ( ) { <nl> / / / @ brief initialises the random components <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> <nl> - void TRI_InitialiseRandom ( ) { <nl> + void TRI_InitialiseRandom ( void ) { <nl> if ( Initialised ) { <nl> return ; <nl> } <nl> void TRI_InitialiseRandom ( ) { <nl> / / / @ brief shut downs the logging components <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> <nl> - void TRI_ShutdownRandom ( ) { <nl> + void TRI_ShutdownRandom ( void ) { <nl> if ( ! Initialised ) { <nl> return ; <nl> } <nl> void TRI_ShutdownRandom ( ) { <nl> Initialised = false ; <nl> } <nl> <nl> + <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> / / / @ } <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> mmm a / lib / BasicsC / threads - win32 . c <nl> ppp b / lib / BasicsC / threads - win32 . c <nl> bool TRI_StartThread ( TRI_thread_t * thread , const char * name , void ( * starter ) ( v <nl> return true ; <nl> } <nl> <nl> + <nl> + / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> + / / / @ brief attempts to stop / terminate a thread <nl> + / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> + <nl> + void TRI_StopThread ( TRI_thread_t * thread ) { <nl> + TerminateThread ( thread , 0 ) ; <nl> + } <nl> + <nl> + <nl> + <nl> + / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> + / / / @ brief waits for a thread to finish <nl> + / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> + <nl> + void TRI_DetachThread ( TRI_thread_t * thread ) { <nl> + / / TODO : no native implementation <nl> + } <nl> + <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> / / / @ brief waits for a thread to finish <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> void TRI_JoinThread ( TRI_thread_t * thread ) { <nl> WaitForSingleObject ( * thread , INFINITE ) ; <nl> } <nl> <nl> + <nl> + <nl> + / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> + / / / @ brief sends a signal to a thread <nl> + / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> + <nl> + bool TRI_SignalThread ( TRI_thread_t * thread , int signum ) { <nl> + / / TODO : NO NATIVE implementation of signals <nl> + } <nl> + <nl> + <nl> + / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> + / / / @ brief checks if this thread is the thread passed as a parameter <nl> + / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> + <nl> + bool TRI_IsSelfThread ( TRI_thread_t * thread ) { <nl> + return ( GetCurrentThreadId ( ) = = GetThreadId ( thread ) ) ; <nl> + } <nl> + <nl> + <nl> + / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> + / / / @ brief allow cancellation <nl> + / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> + <nl> + void TRI_AllowCancelation ( void ) { <nl> + / / TODO : No native implementation of this <nl> + } <nl> + <nl> + <nl> + <nl> + <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> / / / @ } <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> mmm a / lib / BasicsC / win - utils . c <nl> ppp b / lib / BasicsC / win - utils . c <nl> <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> <nl> # include < windows . h > <nl> + # include < io . h > <nl> # include " win - utils . h " <nl> <nl> + / * <nl> + # include < fcntl . h > <nl> + # include < sys / types . h > <nl> + # include < sys / stat . h > <nl> + # include < stdio . h > <nl> + # include < share . h > <nl> + * / <nl> + <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> / / / @ addtogroup Windows_Utilties <nl> / / / @ { <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> <nl> + int ftruncate ( int fd , long newSize ) { <nl> + int result = _chsize ( fd , newSize ) ; <nl> + return result ; <nl> + } <nl> + <nl> <nl> int getpagesize ( void ) { <nl> static int pageSize = 0 ; / / only define it once <nl> mmm a / lib / BasicsC / win - utils . h <nl> ppp b / lib / BasicsC / win - utils . h <nl> extern " C " { <nl> / / / @ { <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> <nl> + <nl> + / / . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . <nl> + / / windows equivalent of ftruncate ( the truncation of an open file ) is <nl> + / / _chsize <nl> + / / . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . <nl> + <nl> + int ftruncate ( int , long ) ; <nl> + <nl> + <nl> / / . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . <nl> / / windows does not have a function called getpagesize - - create one here <nl> / / . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . <nl> mmm a / lib / HttpServer / ApplicationEndpointServer . cpp <nl> ppp b / lib / HttpServer / ApplicationEndpointServer . cpp <nl> <nl> <nl> # include " Basics / delete_object . h " <nl> # include " Basics / ssl - helper . h " <nl> - # include " Basics / Random . h " <nl> + # include " Basics / RandomGenerator . h " <nl> # include " Dispatcher / ApplicationDispatcher . h " <nl> # include " HttpServer / HttpHandlerFactory . h " <nl> # include " HttpServer / HttpServer . h " <nl> bool ApplicationEndpointServer : : parsePhase2 ( ProgramOptions & options ) { <nl> } <nl> <nl> OperationMode : : server_operation_mode_e mode = OperationMode : : determineMode ( options ) ; <nl> - if ( 0 = = _endpoints . size ( ) & & mode = = OperationMode : : MODE_SERVER ) { <nl> + if ( _endpoints . size ( ) = = 0 & & mode = = OperationMode : : MODE_SERVER ) { <nl> LOGGER_FATAL < < " no endpoint has been specified , giving up " ; <nl> cerr < < " no endpoint has been specified , giving up \ n " ; <nl> LOGGER_INFO < < " please use the ' - - server . endpoint ' option " ; <nl> mmm a / lib / Makefile . files <nl> ppp b / lib / Makefile . files <nl> lib_libarango_a_SOURCES = \ <nl> lib / Basics / ConditionVariable . cpp \ <nl> lib / Basics / Exceptions . cpp \ <nl> lib / Basics / FileUtils . cpp \ <nl> - lib / Basics / Initialise . cpp \ <nl> + lib / Basics / InitialiseBasics . cpp \ <nl> lib / Basics / LibraryLoader . cpp \ <nl> lib / Basics / Mutex . cpp \ <nl> lib / Basics / MutexLocker . cpp \ <nl> lib / Basics / ProgramOptions . cpp \ <nl> lib / Basics / ProgramOptionsDescription . cpp \ <nl> - lib / Basics / Random . cpp \ <nl> + lib / Basics / RandomGenerator . cpp \ <nl> lib / Basics / ReadLocker . cpp \ <nl> lib / Basics / ReadUnlocker . cpp \ <nl> lib / Basics / ReadWriteLock . cpp \ <nl> lib_libarango_a_SOURCES = \ <nl> lib / Rest / Handler . cpp \ <nl> lib / Rest / HttpRequest . cpp \ <nl> lib / Rest / HttpResponse . cpp \ <nl> - lib / Rest / Initialise . cpp \ <nl> + lib / Rest / InitialiseRest . cpp \ <nl> lib / Rest / JsonContainer . cpp \ <nl> lib / Rest / SslInterface . cpp \ <nl> lib / Rest / Url . cpp \ <nl> lib_libarango_fe_a_SOURCES = \ <nl> lib / HttpServer / RedirectHandler . cpp \ <nl> lib / HttpServer / ServiceUnavailableHandler . cpp \ <nl> lib / ResultGenerator / HtmlResultGenerator . cpp \ <nl> - lib / ResultGenerator / Initialise . cpp \ <nl> + lib / ResultGenerator / InitialiseGenerator . cpp \ <nl> lib / ResultGenerator / JsonResultGenerator . cpp \ <nl> lib / ResultGenerator / JsonXResultGenerator . cpp \ <nl> lib / ResultGenerator / OutputGenerator . cpp \ <nl> mmm a / lib / ProgramOptions / program - options . c <nl> ppp b / lib / ProgramOptions / program - options . c <nl> typedef struct po_visit_functions_s { <nl> / / / @ { <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> <nl> - # ifdef __TCHAR_DEFINED <nl> - <nl> - struct option * InitOptionStructure ( struct option * option , <nl> - TCHAR const * name , <nl> - int hasArg , <nl> - int * flag , <nl> - int val ) { <nl> - option - > name = name ; <nl> - option - > has_arg = hasArg ; <nl> - option - > flag = flag ; <nl> - option - > val = 256 + val ; <nl> - <nl> - return option ; <nl> - } <nl> - <nl> - # else <nl> - <nl> struct option * InitOptionStructure ( struct option * option , <nl> char const * name , <nl> int hasArg , <nl> struct option * InitOptionStructure ( struct option * option , <nl> return option ; <nl> } <nl> <nl> - # endif <nl> - <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> / / / @ brief frees a atomic option <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> static void CreateDoubleOption ( po_double_t * desc , void const * input , void * o <nl> TRI_program_options_t * po ; <nl> struct option doubleOpt ; <nl> <nl> - po = output ; <nl> + po = ( TRI_program_options_t * ) ( output ) ; <nl> <nl> - # ifdef __TCHAR_DEFINED <nl> InitOptionStructure ( & doubleOpt , desc - > base . _name , 1 , 0 , po - > _longopts . _length ) ; <nl> - # else <nl> - InitOptionStructure ( & doubleOpt , desc - > base . _name , 1 , 0 , po - > _longopts . _length ) ; <nl> - # endif <nl> + <nl> memset ( & item , 0 , sizeof ( item ) ) ; <nl> <nl> item . _desc = & desc - > base ; <nl> static void ParseFlagArg ( char const * userarg , void * value ) { <nl> <nl> assert ( value ! = NULL ) ; <nl> <nl> - flag = value ; <nl> + flag = ( po_flag_t * ) ( value ) ; <nl> <nl> if ( flag - > _value ! = NULL ) { <nl> if ( userarg = = NULL ) { <nl> static void CreateFlagOption ( po_flag_t * desc , void const * input , void * outpu <nl> TRI_program_options_t * po ; <nl> struct option flagOpt ; <nl> <nl> - po = output ; <nl> + po = ( TRI_program_options_t * ) ( output ) ; <nl> <nl> if ( desc - > _value = = 0 ) { <nl> InitOptionStructure ( & flagOpt , desc - > base . _name , 0 , 0 , po - > _longopts . _length ) ; <nl> static void ParseInt16Arg ( char const * userarg , void * value ) { <nl> <nl> assert ( value ! = NULL ) ; <nl> <nl> - desc = value ; <nl> + desc = ( po_int16_t * ) ( value ) ; <nl> tmp = TRI_Int32String ( userarg ) ; <nl> <nl> if ( TRI_errno ( ) = = TRI_ERROR_NO_ERROR ) { <nl> void CreateInt16Option ( po_int16_t * desc , void const * input , void * output ) { <nl> TRI_program_options_t * po ; <nl> struct option intOpt ; <nl> <nl> - po = output ; <nl> + po = ( TRI_program_options_t * ) ( output ) ; <nl> <nl> InitOptionStructure ( & intOpt , desc - > base . _name , 1 , 0 , po - > _longopts . _length ) ; <nl> <nl> static void ParseInt32Arg ( char const * userarg , void * value ) { <nl> <nl> assert ( value ! = NULL ) ; <nl> <nl> - desc = value ; <nl> + desc = ( po_int32_t * ) ( value ) ; <nl> tmp = TRI_Int32String ( userarg ) ; <nl> <nl> if ( TRI_errno ( ) = = TRI_ERROR_NO_ERROR ) { <nl> void CreateInt32Option ( po_int32_t * desc , void const * input , void * output ) { <nl> TRI_program_options_t * po ; <nl> struct option intOpt ; <nl> <nl> - po = output ; <nl> + po = ( TRI_program_options_t * ) ( output ) ; <nl> <nl> InitOptionStructure ( & intOpt , desc - > base . _name , 1 , 0 , po - > _longopts . _length ) ; <nl> <nl> static void ParseInt64Arg ( char const * userarg , void * value ) { <nl> <nl> assert ( value ! = NULL ) ; <nl> <nl> - desc = value ; <nl> + desc = ( po_int64_t * ) ( value ) ; <nl> tmp = TRI_Int64String ( userarg ) ; <nl> <nl> if ( TRI_errno ( ) = = TRI_ERROR_NO_ERROR ) { <nl> static void CreateInt64Option ( po_int64_t * desc , void const * input , void * out <nl> TRI_program_options_t * po ; <nl> struct option intOpt ; <nl> <nl> - po = output ; <nl> + po = ( TRI_program_options_t * ) ( output ) ; <nl> <nl> InitOptionStructure ( & intOpt , desc - > base . _name , 1 , 0 , po - > _longopts . _length ) ; <nl> <nl> static void CreateUInt16Option ( po_uint16_t * desc , void const * input , void * o <nl> TRI_program_options_t * po ; <nl> struct option intOpt ; <nl> <nl> - po = output ; <nl> + po = ( TRI_program_options_t * ) ( output ) ; <nl> <nl> InitOptionStructure ( & intOpt , desc - > base . _name , 1 , 0 , po - > _longopts . _length ) ; <nl> <nl> static void CreateUInt32Option ( po_uint32_t * desc , void const * input , void * o <nl> TRI_program_options_t * po ; <nl> struct option intOpt ; <nl> <nl> - po = output ; <nl> + po = ( TRI_program_options_t * ) ( output ) ; <nl> <nl> InitOptionStructure ( & intOpt , desc - > base . _name , 1 , 0 , po - > _longopts . _length ) ; <nl> <nl> static void CreateUInt64Option ( po_uint64_t * desc , void const * input , void * o <nl> TRI_program_options_t * po ; <nl> struct option intOpt ; <nl> <nl> - po = output ; <nl> + po = ( TRI_program_options_t * ) ( output ) ; <nl> <nl> InitOptionStructure ( & intOpt , desc - > base . _name , 1 , 0 , po - > _longopts . _length ) ; <nl> <nl> static void CreateVectorStringOption ( TRI_PO_vector_string_t * desc , void const <nl> TRI_program_options_t * po ; <nl> struct option vectorOpt ; <nl> <nl> - po = output ; <nl> + po = ( TRI_program_options_t * ) ( output ) ; <nl> <nl> InitOptionStructure ( & vectorOpt , desc - > base . _name , 1 , 0 , po - > _longopts . _length ) ; <nl> <nl> TRI_program_options_t * TRI_CreateProgramOptions ( TRI_PO_section_t * desc ) { <nl> po_visit_functions_t optionBuilders ; <nl> struct option nullOpt ; <nl> <nl> - po = TRI_Allocate ( TRI_CORE_MEM_ZONE , sizeof ( TRI_program_options_t ) , false ) ; <nl> + po = ( TRI_program_options_t * ) ( TRI_Allocate ( TRI_CORE_MEM_ZONE , sizeof ( TRI_program_options_t ) , false ) ) ; <nl> + <nl> + / / TODO : not safe since po could be 0 <nl> <nl> TRI_InitVector ( & po - > _longopts , TRI_CORE_MEM_ZONE , sizeof ( struct option ) ) ; <nl> TRI_InitVector ( & po - > _items , TRI_CORE_MEM_ZONE , sizeof ( TRI_PO_item_t ) ) ; <nl> char * TRI_UsagePODescription ( TRI_PO_section_t * desc ) { <nl> / / / @ brief parses a command line of arguments <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> <nl> - # ifdef __TCHAR_DEFINED <nl> - <nl> - bool TRI_ParseArgumentsProgramOptions ( TRI_program_options_t * options , <nl> - int argc , <nl> - char * * argv ) { <nl> - extern TCHAR * optarg ; <nl> - extern int optind ; <nl> - <nl> - TRI_string_buffer_t buffer ; <nl> - TRI_PO_item_t * item ; <nl> - char const * shortOptions ; <nl> - size_t i ; <nl> - int c ; <nl> - int idx ; <nl> - int maxIdx ; <nl> - <nl> - TRI_set_errno ( TRI_ERROR_NO_ERROR ) ; <nl> - <nl> - TRI_InitStringBuffer ( & buffer , TRI_CORE_MEM_ZONE ) ; <nl> - <nl> - for ( i = 0 ; i < options - > _items . _length ; + + i ) { <nl> - item = TRI_AtVector ( & options - > _items , i ) ; <nl> - <nl> - if ( item - > _desc - > _short ! = ' \ 0 ' ) { <nl> - TRI_AppendCharStringBuffer ( & buffer , item - > _desc - > _short ) ; <nl> - <nl> - if ( item - > _desc - > _type = = TRI_PO_FLAG ) { <nl> - po_flag_t * p ; <nl> - <nl> - p = ( po_flag_t * ) item - > _desc ; <nl> - <nl> - if ( p - > _value ! = 0 ) { <nl> - TRI_AppendCharStringBuffer ( & buffer , ' : ' ) ; <nl> - } <nl> - } <nl> - else { <nl> - TRI_AppendCharStringBuffer ( & buffer , ' : ' ) ; <nl> - } <nl> - } <nl> - } <nl> - <nl> - if ( TRI_LengthStringBuffer ( & buffer ) = = 0 ) { <nl> - shortOptions = " " ; <nl> - } <nl> - else { <nl> - shortOptions = TRI_BeginStringBuffer ( & buffer ) ; <nl> - } <nl> - <nl> - optind = 1 ; <nl> - maxIdx = options - > _items . _length ; <nl> - <nl> - while ( true ) { <nl> - c = getopt_long ( argc , argv , shortOptions , ( const struct option * ) options - > _longopts . _buffer , & idx ) ; <nl> - <nl> - if ( c = = - 1 ) { <nl> - for ( i = optind ; i < ( size_t ) argc ; + + i ) { <nl> - TRI_PushBackVectorString ( & options - > _arguments , TRI_DuplicateString ( argv [ i ] ) ) ; <nl> - } <nl> - <nl> - break ; <nl> - } <nl> - <nl> - if ( c < 256 ) { <nl> - for ( i = 0 ; i < options - > _items . _length ; + + i ) { <nl> - item = TRI_AtVector ( & options - > _items , i ) ; <nl> - <nl> - if ( item - > _desc - > _short = = c ) { <nl> - break ; <nl> - } <nl> - } <nl> - <nl> - if ( i = = options - > _items . _length ) { <nl> - TRI_set_errno ( TRI_ERROR_ILLEGAL_OPTION ) ; <nl> - TRI_DestroyStringBuffer ( & buffer ) ; <nl> - return false ; <nl> - } <nl> - } <nl> - else { <nl> - c - = 256 ; <nl> - <nl> - if ( c > = maxIdx ) { <nl> - TRI_set_errno ( TRI_ERROR_ILLEGAL_OPTION ) ; <nl> - TRI_DestroyStringBuffer ( & buffer ) ; <nl> - return false ; <nl> - } <nl> - <nl> - item = TRI_AtVector ( & options - > _items , c ) ; <nl> - } <nl> - <nl> - / / the opt . . are external variables <nl> - item - > _used = true ; <nl> - item - > parse ( optarg , item - > _desc ) ; <nl> - } <nl> - <nl> - TRI_AnnihilateStringBuffer ( & buffer ) ; <nl> - <nl> - return true ; <nl> - } <nl> - <nl> - # else <nl> - <nl> bool TRI_ParseArgumentsProgramOptions ( TRI_program_options_t * options , <nl> int argc , <nl> char * * argv ) { <nl> bool TRI_ParseArgumentsProgramOptions ( TRI_program_options_t * options , <nl> return true ; <nl> } <nl> <nl> - # endif <nl> - <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> / / / @ brief parses a text file containing the configuration variables <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> mmm a / lib / ProgramOptions / program - options . h <nl> ppp b / lib / ProgramOptions / program - options . h <nl> typedef enum { <nl> / / / @ brief abstract base structure for descriptions <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> <nl> - # ifdef __TCHAR_DEFINED <nl> - <nl> - typedef struct TRI_PO_desc_s { <nl> - TRI_PO_description_types_e _type ; <nl> - TCHAR * _name ; <nl> - char _short ; <nl> - char * _desc ; <nl> - } TRI_PO_desc_t ; <nl> - <nl> - # else <nl> - <nl> typedef struct TRI_PO_desc_s { <nl> TRI_PO_description_types_e _type ; <nl> char * _name ; <nl> typedef struct TRI_PO_desc_s { <nl> char * _desc ; <nl> } TRI_PO_desc_t ; <nl> <nl> - # endif <nl> <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> / / / @ brief description of attribute of type string <nl> mmm a / lib / Rest / AnyServer . cpp <nl> ppp b / lib / Rest / AnyServer . cpp <nl> AnyServer : : ~ AnyServer ( ) { <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> <nl> int AnyServer : : start ( ) { <nl> + <nl> if ( _applicationServer = = 0 ) { <nl> buildApplicationServer ( ) ; <nl> } <nl> mmm a / lib / Rest / HttpRequest . cpp <nl> ppp b / lib / Rest / HttpRequest . cpp <nl> <nl> <nl> using namespace triagens : : basics ; <nl> using namespace triagens : : rest ; <nl> - using namespace std ; <nl> <nl> / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> / / - - SECTION - - local constants <nl> mmm a / lib / Rest / HttpRequest . h <nl> ppp b / lib / Rest / HttpRequest . h <nl> <nl> # include " Basics / StringBuffer . h " <nl> # include " Rest / ConnectionInfo . h " <nl> <nl> + using namespace std ; <nl> + <nl> / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> / / - - SECTION - - class HttpRequest <nl> / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> similarity index 98 % <nl> rename from lib / Rest / Initialise . cpp <nl> rename to lib / Rest / InitialiseRest . cpp <nl> mmm a / lib / Rest / Initialise . cpp <nl> ppp b / lib / Rest / InitialiseRest . cpp <nl> <nl> / / / @ author Copyright 2009 - 2011 , triAGENS GmbH , Cologne , Germany <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> <nl> - # include " Initialise . h " <nl> + # include " InitialiseRest . h " <nl> <nl> # include < openssl / ssl . h > <nl> # include < openssl / err . h > <nl> <nl> <nl> # include " build . h " <nl> <nl> - # include " Basics / Initialise . h " <nl> + # include " Basics / InitialiseBasics . h " <nl> # include " Logger / Logger . h " <nl> # include " Rest / HttpResponse . h " <nl> # include " Rest / Url . h " <nl> similarity index 96 % <nl> rename from lib / Rest / Initialise . h <nl> rename to lib / Rest / InitialiseRest . h <nl> mmm a / lib / Rest / Initialise . h <nl> ppp b / lib / Rest / InitialiseRest . h <nl> <nl> / / / @ author Copyright 2009 - 2011 , triAGENS GmbH , Cologne , Germany <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> <nl> - # ifndef TRIAGENS_FYN_REST_INITIALISE_H <nl> - # define TRIAGENS_FYN_REST_INITIALISE_H 1 <nl> + # ifndef TRIAGENS_FYN_REST_INITIALISE_REST_H <nl> + # define TRIAGENS_FYN_REST_INITIALISE_REST_H 1 <nl> <nl> # include < Basics / Common . h > <nl> <nl> mmm a / lib / Rest / SslInterface . cpp <nl> ppp b / lib / Rest / SslInterface . cpp <nl> <nl> # include < openssl / evp . h > <nl> # include < openssl / hmac . h > <nl> <nl> - # include < Basics / Random . h > <nl> + # include < Basics / RandomGenerator . h > <nl> # include < Basics / StringUtils . h > <nl> <nl> using namespace triagens : : basics ; <nl> mmm a / lib / Rest / SslInterface . h <nl> ppp b / lib / Rest / SslInterface . h <nl> <nl> / / / <nl> / / / Copyright holder is triAGENS GmbH , Cologne , Germany <nl> / / / <nl> - / / / @ author Dr . Oreste Costa - Panaia <nl> + / / / @ author Dr . O <nl> / / / @ author Copyright 2011 , triagens GmbH , Cologne , Germany <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> <nl> similarity index 96 % <nl> rename from lib / ResultGenerator / Initialise . cpp <nl> rename to lib / ResultGenerator / InitialiseGenerator . cpp <nl> mmm a / lib / ResultGenerator / Initialise . cpp <nl> ppp b / lib / ResultGenerator / InitialiseGenerator . cpp <nl> <nl> / / / @ author Copyright 2009 - 2011 , triAGENS GmbH , Cologne , Germany <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> <nl> - # include " Initialise . h " <nl> + # include " InitialiseGenerator . h " <nl> <nl> - # include < Rest / Initialise . h > <nl> + # include < Rest / InitialiseRest . h > <nl> <nl> # include " ResultGenerator / HtmlResultGenerator . h " <nl> # include " ResultGenerator / JsonResultGenerator . h " <nl> similarity index 97 % <nl> rename from lib / ResultGenerator / Initialise . h <nl> rename to lib / ResultGenerator / InitialiseGenerator . h <nl> mmm a / lib / ResultGenerator / Initialise . h <nl> ppp b / lib / ResultGenerator / InitialiseGenerator . h <nl> <nl> / / / @ author Copyright 2009 - 2011 , triAGENS GmbH , Cologne , Germany <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> <nl> - # ifndef TRIAGENS_FYN_REST_INITIALISE2_H <nl> - # define TRIAGENS_FYN_REST_INITIALISE2_H 1 <nl> + # ifndef TRIAGENS_FYN_REST_INITIALISE_GENERATOR_H <nl> + # define TRIAGENS_FYN_REST_INITIALISE_GENERATOR_H 1 <nl> <nl> # include < Basics / Common . h > <nl> <nl> mmm a / lib / Scheduler / ApplicationScheduler . cpp <nl> ppp b / lib / Scheduler / ApplicationScheduler . cpp <nl> namespace { <nl> # include < windows . h > <nl> # include < stdio . h > <nl> <nl> - bool static CtrlHandler ( DWORD eventType ) ; <nl> - static SignalTask * localSignalTask ; <nl> + bool static CtrlHandler ( DWORD eventType ) ; <nl> + static SignalTask * localSignalTask ; <nl> <nl> # endif <nl> <nl> namespace { <nl> Scheduler * _scheduler ; <nl> } ; <nl> <nl> + <nl> # ifdef _WIN32 <nl> <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> mmm a / lib / Scheduler / Task . cpp <nl> ppp b / lib / Scheduler / Task . cpp <nl> <nl> # include " Scheduler / Scheduler . h " <nl> <nl> using namespace triagens : : rest ; <nl> + using namespace std ; <nl> <nl> / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> / / constructors and destructors <nl>
various changes for windows
arangodb/arangodb
aad73db128a851eb6a72435df79be0689870f09c
2012-10-22T12:51:31Z
mmm a / src / core / ext / transport / chttp2 / transport / chttp2_transport . c <nl> ppp b / src / core / ext / transport / chttp2 / transport / chttp2_transport . c <nl> static void init_transport ( grpc_exec_ctx * exec_ctx , grpc_chttp2_transport * t , <nl> . gain_d = 0 , <nl> . initial_control_value = log2 ( DEFAULT_WINDOW ) , <nl> . min_control_value = - 1 , <nl> - . max_control_value = 22 , <nl> + . max_control_value = 25 , <nl> . integral_range = 10 } ) ; <nl> <nl> grpc_chttp2_goaway_parser_init ( & t - > goaway_parser ) ; <nl> static void destroy_stream_locked ( grpc_exec_ctx * exec_ctx , void * sp , <nl> GRPC_ERROR_UNREF ( s - > read_closed_error ) ; <nl> GRPC_ERROR_UNREF ( s - > write_closed_error ) ; <nl> <nl> + if ( s - > incoming_window_delta > 0 ) { <nl> + GRPC_CHTTP2_FLOW_DEBIT_STREAM_INCOMING_WINDOW_DELTA ( <nl> + " destroy " , t , s , s - > incoming_window_delta ) ; <nl> + } else if ( s - > incoming_window_delta < 0 ) { <nl> + GRPC_CHTTP2_FLOW_CREDIT_STREAM_INCOMING_WINDOW_DELTA ( <nl> + " destroy " , t , s , - s - > incoming_window_delta ) ; <nl> + } <nl> + <nl> GRPC_CHTTP2_UNREF_TRANSPORT ( exec_ctx , t , " stream " ) ; <nl> <nl> GPR_TIMER_END ( " destroy_stream " , 0 ) ; <nl> static void update_bdp ( grpc_exec_ctx * exec_ctx , grpc_chttp2_transport * t , <nl> if ( delta = = 0 | | ( bdp ! = 0 & & delta > - 1024 & & delta < 1024 ) ) { <nl> return ; <nl> } <nl> + if ( grpc_bdp_estimator_trace ) { <nl> + gpr_log ( GPR_DEBUG , " % s : update initial window size to % d " , t - > peer_string , <nl> + ( int ) bdp ) ; <nl> + } <nl> push_setting ( exec_ctx , t , GRPC_CHTTP2_SETTINGS_INITIAL_WINDOW_SIZE , bdp ) ; <nl> } <nl> <nl> - / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - * INPUT PROCESSING - PARSING <nl> - * / <nl> - <nl> static grpc_error * try_http_parsing ( grpc_exec_ctx * exec_ctx , <nl> grpc_chttp2_transport * t ) { <nl> grpc_http_parser parser ; <nl> static void incoming_byte_stream_update_flow_control ( grpc_exec_ctx * exec_ctx , <nl> ( int64_t ) have_already ) { <nl> write_type = GRPC_CHTTP2_STREAM_WRITE_INITIATE_COVERED ; <nl> } <nl> - GRPC_CHTTP2_FLOW_CREDIT_STREAM ( " op " , t , s , incoming_window_delta , <nl> - add_max_recv_bytes ) ; <nl> + GRPC_CHTTP2_FLOW_CREDIT_STREAM_INCOMING_WINDOW_DELTA ( " op " , t , s , <nl> + add_max_recv_bytes ) ; <nl> GRPC_CHTTP2_FLOW_CREDIT_STREAM ( " op " , t , s , announce_window , <nl> add_max_recv_bytes ) ; <nl> if ( ( int64_t ) s - > incoming_window_delta + ( int64_t ) initial_window_size - <nl> mmm a / src / core / ext / transport / chttp2 / transport / internal . h <nl> ppp b / src / core / ext / transport / chttp2 / transport / internal . h <nl> struct grpc_chttp2_transport { <nl> / * * data to write next write * / <nl> grpc_slice_buffer qbuf ; <nl> <nl> - / * * window available to announce to peer * / <nl> - int64_t announce_incoming_window ; <nl> - / * * how much window would we like to have for incoming_window * / <nl> - uint32_t connection_window_target ; <nl> / * * how much data are we willing to buffer when the WRITE_BUFFER_HINT is set ? <nl> * / <nl> uint32_t write_buffer_size ; <nl> struct grpc_chttp2_transport { <nl> <nl> / * * window available for peer to send to us * / <nl> int64_t incoming_window ; <nl> + / * * calculating what we should give for incoming window : <nl> + we track the total amount of flow control over initial window size <nl> + across all streams : this is data that we want to receive right now ( it <nl> + has an outstanding read ) <nl> + and the total amount of flow control under initial window size across all <nl> + streams : this is data we ' ve read early <nl> + we want to adjust incoming_window such that : <nl> + incoming_window = total_over - max ( bdp - total_under , 0 ) * / <nl> + int64_t stream_total_over_incoming_window ; <nl> + int64_t stream_total_under_incoming_window ; <nl> <nl> / * deframing * / <nl> grpc_chttp2_deframe_transport_state deframe_state ; <nl> typedef enum { <nl> GRPC_CHTTP2_FLOW_CREDIT_COMMON ( phase , dst_context , 0 , dst_context , dst_var , \ <nl> amount ) <nl> <nl> + # define GRPC_CHTTP2_FLOW_STREAM_INCOMING_WINDOW_DELTA_PREUPDATE ( \ <nl> + phase , transport , dst_context ) \ <nl> + if ( dst_context - > incoming_window_delta < 0 ) { \ <nl> + transport - > stream_total_under_incoming_window + = \ <nl> + dst_context - > incoming_window_delta ; \ <nl> + } else if ( dst_context - > incoming_window_delta > 0 ) { \ <nl> + transport - > stream_total_over_incoming_window - = \ <nl> + dst_context - > incoming_window_delta ; \ <nl> + } <nl> + <nl> + # define GRPC_CHTTP2_FLOW_STREAM_INCOMING_WINDOW_DELTA_POSTUPDATE ( \ <nl> + phase , transport , dst_context ) \ <nl> + if ( dst_context - > incoming_window_delta < 0 ) { \ <nl> + transport - > stream_total_under_incoming_window - = \ <nl> + dst_context - > incoming_window_delta ; \ <nl> + } else if ( dst_context - > incoming_window_delta > 0 ) { \ <nl> + transport - > stream_total_over_incoming_window + = \ <nl> + dst_context - > incoming_window_delta ; \ <nl> + } <nl> + <nl> + # define GRPC_CHTTP2_FLOW_DEBIT_STREAM_INCOMING_WINDOW_DELTA ( \ <nl> + phase , transport , dst_context , amount ) \ <nl> + GRPC_CHTTP2_FLOW_STREAM_INCOMING_WINDOW_DELTA_PREUPDATE ( phase , transport , \ <nl> + dst_context ) ; \ <nl> + GRPC_CHTTP2_FLOW_DEBIT_STREAM ( phase , transport , dst_context , \ <nl> + incoming_window_delta , amount ) ; \ <nl> + GRPC_CHTTP2_FLOW_STREAM_INCOMING_WINDOW_DELTA_POSTUPDATE ( phase , transport , \ <nl> + dst_context ) ; <nl> + <nl> + # define GRPC_CHTTP2_FLOW_CREDIT_STREAM_INCOMING_WINDOW_DELTA ( \ <nl> + phase , transport , dst_context , amount ) \ <nl> + GRPC_CHTTP2_FLOW_STREAM_INCOMING_WINDOW_DELTA_PREUPDATE ( phase , transport , \ <nl> + dst_context ) ; \ <nl> + GRPC_CHTTP2_FLOW_CREDIT_STREAM ( phase , transport , dst_context , \ <nl> + incoming_window_delta , amount ) ; \ <nl> + GRPC_CHTTP2_FLOW_STREAM_INCOMING_WINDOW_DELTA_POSTUPDATE ( phase , transport , \ <nl> + dst_context ) ; <nl> + <nl> # define GRPC_CHTTP2_FLOW_DEBIT_COMMON ( phase , transport , id , dst_context , \ <nl> dst_var , amount ) \ <nl> do { \ <nl> void grpc_chttp2_fail_pending_writes ( grpc_exec_ctx * exec_ctx , <nl> grpc_chttp2_transport * t , <nl> grpc_chttp2_stream * s , grpc_error * error ) ; <nl> <nl> + uint32_t grpc_chttp2_target_incoming_window ( grpc_chttp2_transport * t ) ; <nl> + <nl> # endif / * GRPC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_INTERNAL_H * / <nl> mmm a / src / core / ext / transport / chttp2 / transport / parsing . c <nl> ppp b / src / core / ext / transport / chttp2 / transport / parsing . c <nl> static grpc_error * update_incoming_window ( grpc_exec_ctx * exec_ctx , <nl> return err ; <nl> } <nl> <nl> - uint32_t target_incoming_window = GPR_MAX ( <nl> - t - > settings [ GRPC_SENT_SETTINGS ] [ GRPC_CHTTP2_SETTINGS_INITIAL_WINDOW_SIZE ] , <nl> - 1024 ) ; <nl> - GRPC_CHTTP2_FLOW_DEBIT_TRANSPORT ( " parse " , t , incoming_window , <nl> - incoming_frame_size ) ; <nl> - if ( t - > incoming_window < = target_incoming_window / 2 ) { <nl> - grpc_chttp2_initiate_write ( exec_ctx , t , false , " flow_control " ) ; <nl> - } <nl> - <nl> if ( s ! = NULL ) { <nl> if ( incoming_frame_size > <nl> s - > incoming_window_delta + <nl> static grpc_error * update_incoming_window ( grpc_exec_ctx * exec_ctx , <nl> return err ; <nl> } <nl> <nl> - GRPC_CHTTP2_FLOW_DEBIT_STREAM ( " parse " , t , s , incoming_window_delta , <nl> - incoming_frame_size ) ; <nl> + GRPC_CHTTP2_FLOW_DEBIT_STREAM_INCOMING_WINDOW_DELTA ( " parse " , t , s , <nl> + incoming_frame_size ) ; <nl> if ( ( int64_t ) t - > settings [ GRPC_SENT_SETTINGS ] <nl> [ GRPC_CHTTP2_SETTINGS_INITIAL_WINDOW_SIZE ] + <nl> ( int64_t ) s - > incoming_window_delta - ( int64_t ) s - > announce_window < = <nl> static grpc_error * update_incoming_window ( grpc_exec_ctx * exec_ctx , <nl> s - > received_bytes + = incoming_frame_size ; <nl> } <nl> <nl> + uint32_t target_incoming_window = grpc_chttp2_target_incoming_window ( t ) ; <nl> + GRPC_CHTTP2_FLOW_DEBIT_TRANSPORT ( " parse " , t , incoming_window , <nl> + incoming_frame_size ) ; <nl> + if ( t - > incoming_window < = target_incoming_window / 2 ) { <nl> + grpc_chttp2_initiate_write ( exec_ctx , t , false , " flow_control " ) ; <nl> + } <nl> + <nl> return GRPC_ERROR_NONE ; <nl> } <nl> <nl> mmm a / src / core / ext / transport / chttp2 / transport / writing . c <nl> ppp b / src / core / ext / transport / chttp2 / transport / writing . c <nl> static bool stream_ref_if_not_destroyed ( gpr_refcount * r ) { <nl> return true ; <nl> } <nl> <nl> + uint32_t grpc_chttp2_target_incoming_window ( grpc_chttp2_transport * t ) { <nl> + return ( uint32_t ) GPR_MAX ( <nl> + ( int64_t ) ( ( 1u < < 31 ) - 1 ) , <nl> + t - > stream_total_over_incoming_window + <nl> + ( int64_t ) GPR_MAX ( <nl> + t - > settings [ GRPC_SENT_SETTINGS ] <nl> + [ GRPC_CHTTP2_SETTINGS_INITIAL_WINDOW_SIZE ] - <nl> + t - > stream_total_under_incoming_window , <nl> + 0 ) ) ; <nl> + } <nl> + <nl> bool grpc_chttp2_begin_write ( grpc_exec_ctx * exec_ctx , <nl> grpc_chttp2_transport * t ) { <nl> grpc_chttp2_stream * s ; <nl> bool grpc_chttp2_begin_write ( grpc_exec_ctx * exec_ctx , <nl> <nl> / * if the grpc_chttp2_transport is ready to send a window update , do so here <nl> also ; 3 / 4 is a magic number that will likely get tuned soon * / <nl> - uint32_t target_incoming_window = GPR_MAX ( <nl> - t - > settings [ GRPC_SENT_SETTINGS ] [ GRPC_CHTTP2_SETTINGS_INITIAL_WINDOW_SIZE ] , <nl> - 1024 ) ; <nl> + uint32_t target_incoming_window = grpc_chttp2_target_incoming_window ( t ) ; <nl> uint32_t threshold_to_send_transport_window_update = <nl> t - > outbuf . count > 0 ? 3 * target_incoming_window / 4 <nl> : target_incoming_window / 2 ; <nl> - if ( t - > incoming_window < = threshold_to_send_transport_window_update ) { <nl> + if ( t - > incoming_window < = threshold_to_send_transport_window_update & & <nl> + t - > incoming_window ! = target_incoming_window ) { <nl> maybe_initiate_ping ( exec_ctx , t , <nl> GRPC_CHTTP2_PING_BEFORE_TRANSPORT_WINDOW_UPDATE ) ; <nl> uint32_t announced = ( uint32_t ) GPR_CLAMP ( <nl> mmm a / src / core / lib / channel / http_server_filter . c <nl> ppp b / src / core / lib / channel / http_server_filter . c <nl> static grpc_error * server_filter_incoming_metadata ( grpc_exec_ctx * exec_ctx , <nl> GRPC_ERROR_STR_KEY , " : path " ) ) ; <nl> } <nl> <nl> - if ( b - > idx . named . host ! = NULL ) { <nl> + if ( b - > idx . named . host ! = NULL & & b - > idx . named . authority = = NULL ) { <nl> + grpc_linked_mdelem * el = b - > idx . named . host ; <nl> + grpc_mdelem md = GRPC_MDELEM_REF ( el - > md ) ; <nl> + grpc_metadata_batch_remove ( exec_ctx , b , el ) ; <nl> add_error ( <nl> error_name , & error , <nl> - grpc_metadata_batch_substitute ( <nl> - exec_ctx , b , b - > idx . named . host , <nl> - grpc_mdelem_from_slices ( <nl> - exec_ctx , GRPC_MDSTR_AUTHORITY , <nl> - grpc_slice_ref_internal ( GRPC_MDVALUE ( b - > idx . named . host - > md ) ) ) ) ) ; <nl> + grpc_metadata_batch_add_head ( <nl> + exec_ctx , b , el , grpc_mdelem_from_slices ( <nl> + exec_ctx , GRPC_MDSTR_AUTHORITY , <nl> + grpc_slice_ref_internal ( GRPC_MDVALUE ( md ) ) ) ) ) ; <nl> + GRPC_MDELEM_UNREF ( exec_ctx , md ) ; <nl> } <nl> <nl> if ( b - > idx . named . authority = = NULL ) { <nl> mmm a / src / core / lib / iomgr / ev_epoll_linux . c <nl> ppp b / src / core / lib / iomgr / ev_epoll_linux . c <nl> static void pollset_destroy ( grpc_pollset * pollset ) { <nl> gpr_mu_destroy ( & pollset - > po . mu ) ; <nl> } <nl> <nl> - static void pollset_reset ( grpc_pollset * pollset ) { <nl> - GPR_ASSERT ( pollset - > shutting_down ) ; <nl> - GPR_ASSERT ( ! pollset_has_workers ( pollset ) ) ; <nl> - pollset - > shutting_down = false ; <nl> - pollset - > finish_shutdown_called = false ; <nl> - pollset - > kicked_without_pollers = false ; <nl> - pollset - > shutdown_done = NULL ; <nl> - GPR_ASSERT ( pollset - > po . pi = = NULL ) ; <nl> - } <nl> - <nl> static bool maybe_do_workqueue_work ( grpc_exec_ctx * exec_ctx , <nl> polling_island * pi ) { <nl> if ( gpr_mu_trylock ( & pi - > workqueue_read_mu ) ) { <nl> static const grpc_event_engine_vtable vtable = { <nl> <nl> . pollset_init = pollset_init , <nl> . pollset_shutdown = pollset_shutdown , <nl> - . pollset_reset = pollset_reset , <nl> . pollset_destroy = pollset_destroy , <nl> . pollset_work = pollset_work , <nl> . pollset_kick = pollset_kick , <nl> mmm a / src / core / lib / iomgr / ev_poll_posix . c <nl> ppp b / src / core / lib / iomgr / ev_poll_posix . c <nl> static void pollset_destroy ( grpc_pollset * pollset ) { <nl> gpr_mu_destroy ( & pollset - > mu ) ; <nl> } <nl> <nl> - static void pollset_reset ( grpc_pollset * pollset ) { <nl> - GPR_ASSERT ( pollset - > shutting_down ) ; <nl> - GPR_ASSERT ( ! pollset_has_workers ( pollset ) ) ; <nl> - GPR_ASSERT ( pollset - > idle_jobs . head = = pollset - > idle_jobs . tail ) ; <nl> - GPR_ASSERT ( pollset - > fd_count = = 0 ) ; <nl> - pollset - > shutting_down = 0 ; <nl> - pollset - > called_shutdown = 0 ; <nl> - pollset - > kicked_without_pollers = 0 ; <nl> - } <nl> - <nl> static void pollset_add_fd ( grpc_exec_ctx * exec_ctx , grpc_pollset * pollset , <nl> grpc_fd * fd ) { <nl> gpr_mu_lock ( & pollset - > mu ) ; <nl> static const grpc_event_engine_vtable vtable = { <nl> <nl> . pollset_init = pollset_init , <nl> . pollset_shutdown = pollset_shutdown , <nl> - . pollset_reset = pollset_reset , <nl> . pollset_destroy = pollset_destroy , <nl> . pollset_work = pollset_work , <nl> . pollset_kick = pollset_kick , <nl> mmm a / src / core / lib / iomgr / ev_posix . c <nl> ppp b / src / core / lib / iomgr / ev_posix . c <nl> void grpc_pollset_shutdown ( grpc_exec_ctx * exec_ctx , grpc_pollset * pollset , <nl> g_event_engine - > pollset_shutdown ( exec_ctx , pollset , closure ) ; <nl> } <nl> <nl> - void grpc_pollset_reset ( grpc_pollset * pollset ) { <nl> - g_event_engine - > pollset_reset ( pollset ) ; <nl> - } <nl> - <nl> void grpc_pollset_destroy ( grpc_pollset * pollset ) { <nl> g_event_engine - > pollset_destroy ( pollset ) ; <nl> } <nl> mmm a / src / core / lib / iomgr / ev_posix . h <nl> ppp b / src / core / lib / iomgr / ev_posix . h <nl> typedef struct grpc_event_engine_vtable { <nl> void ( * pollset_init ) ( grpc_pollset * pollset , gpr_mu * * mu ) ; <nl> void ( * pollset_shutdown ) ( grpc_exec_ctx * exec_ctx , grpc_pollset * pollset , <nl> grpc_closure * closure ) ; <nl> - void ( * pollset_reset ) ( grpc_pollset * pollset ) ; <nl> void ( * pollset_destroy ) ( grpc_pollset * pollset ) ; <nl> grpc_error * ( * pollset_work ) ( grpc_exec_ctx * exec_ctx , grpc_pollset * pollset , <nl> grpc_pollset_worker * * worker , gpr_timespec now , <nl> mmm a / src / core / lib / iomgr / pollset . h <nl> ppp b / src / core / lib / iomgr / pollset . h <nl> void grpc_pollset_init ( grpc_pollset * pollset , gpr_mu * * mu ) ; <nl> * pollset ' s mutex must be held * / <nl> void grpc_pollset_shutdown ( grpc_exec_ctx * exec_ctx , grpc_pollset * pollset , <nl> grpc_closure * closure ) ; <nl> - / * * Reset the pollset to its initial state ( perhaps with some cached objects ) ; <nl> - * must have been previously shutdown * / <nl> - void grpc_pollset_reset ( grpc_pollset * pollset ) ; <nl> void grpc_pollset_destroy ( grpc_pollset * pollset ) ; <nl> <nl> / * Do some work on a pollset . <nl> mmm a / src / core / lib / iomgr / pollset_uv . c <nl> ppp b / src / core / lib / iomgr / pollset_uv . c <nl> void grpc_pollset_destroy ( grpc_pollset * pollset ) { <nl> } <nl> } <nl> <nl> - void grpc_pollset_reset ( grpc_pollset * pollset ) { <nl> - GPR_ASSERT ( pollset - > shutting_down ) ; <nl> - pollset - > shutting_down = 0 ; <nl> - } <nl> - <nl> static void timer_run_cb ( uv_timer_t * timer ) { } <nl> <nl> grpc_error * grpc_pollset_work ( grpc_exec_ctx * exec_ctx , grpc_pollset * pollset , <nl> mmm a / src / core / lib / iomgr / pollset_windows . c <nl> ppp b / src / core / lib / iomgr / pollset_windows . c <nl> void grpc_pollset_shutdown ( grpc_exec_ctx * exec_ctx , grpc_pollset * pollset , <nl> <nl> void grpc_pollset_destroy ( grpc_pollset * pollset ) { } <nl> <nl> - void grpc_pollset_reset ( grpc_pollset * pollset ) { <nl> - GPR_ASSERT ( pollset - > shutting_down ) ; <nl> - GPR_ASSERT ( <nl> - ! has_workers ( & pollset - > root_worker , GRPC_POLLSET_WORKER_LINK_POLLSET ) ) ; <nl> - pollset - > shutting_down = 0 ; <nl> - pollset - > is_iocp_worker = 0 ; <nl> - pollset - > kicked_without_pollers = 0 ; <nl> - pollset - > on_shutdown = NULL ; <nl> - } <nl> - <nl> grpc_error * grpc_pollset_work ( grpc_exec_ctx * exec_ctx , grpc_pollset * pollset , <nl> grpc_pollset_worker * * worker_hdl , <nl> gpr_timespec now , gpr_timespec deadline ) { <nl> mmm a / src / core / lib / surface / channel . c <nl> ppp b / src / core / lib / surface / channel . c <nl> grpc_channel * grpc_channel_create ( grpc_exec_ctx * exec_ctx , const char * target , <nl> } <nl> channel - > default_authority = grpc_mdelem_from_slices ( <nl> exec_ctx , GRPC_MDSTR_AUTHORITY , <nl> - grpc_slice_from_copied_string ( args - > args [ i ] . value . string ) ) ; <nl> + grpc_slice_intern ( <nl> + grpc_slice_from_static_string ( args - > args [ i ] . value . string ) ) ) ; <nl> } <nl> } else if ( 0 = = <nl> strcmp ( args - > args [ i ] . key , GRPC_SSL_TARGET_NAME_OVERRIDE_ARG ) ) { <nl> grpc_channel * grpc_channel_create ( grpc_exec_ctx * exec_ctx , const char * target , <nl> } else { <nl> channel - > default_authority = grpc_mdelem_from_slices ( <nl> exec_ctx , GRPC_MDSTR_AUTHORITY , <nl> - grpc_slice_from_copied_string ( args - > args [ i ] . value . string ) ) ; <nl> + grpc_slice_intern ( <nl> + grpc_slice_from_static_string ( args - > args [ i ] . value . string ) ) ) ; <nl> } <nl> } <nl> } else if ( 0 = = strcmp ( args - > args [ i ] . key , <nl> mmm a / src / core / lib / surface / completion_queue . c <nl> ppp b / src / core / lib / surface / completion_queue . c <nl> struct grpc_completion_queue { <nl> # define POLLSET_FROM_CQ ( cq ) ( ( grpc_pollset * ) ( cq + 1 ) ) <nl> # define CQ_FROM_POLLSET ( ps ) ( ( ( grpc_completion_queue * ) ps ) - 1 ) <nl> <nl> - static gpr_mu g_freelist_mu ; <nl> - static grpc_completion_queue * g_freelist ; <nl> - <nl> int grpc_cq_pluck_trace ; <nl> int grpc_cq_event_timeout_trace ; <nl> <nl> int grpc_cq_event_timeout_trace ; <nl> static void on_pollset_shutdown_done ( grpc_exec_ctx * exec_ctx , void * cc , <nl> grpc_error * error ) ; <nl> <nl> - void grpc_cq_global_init ( void ) { gpr_mu_init ( & g_freelist_mu ) ; } <nl> - <nl> - void grpc_cq_global_shutdown ( void ) { <nl> - gpr_mu_destroy ( & g_freelist_mu ) ; <nl> - while ( g_freelist ) { <nl> - grpc_completion_queue * next = g_freelist - > next_free ; <nl> - grpc_pollset_destroy ( POLLSET_FROM_CQ ( g_freelist ) ) ; <nl> - # ifndef NDEBUG <nl> - gpr_free ( g_freelist - > outstanding_tags ) ; <nl> - # endif <nl> - gpr_free ( g_freelist ) ; <nl> - g_freelist = next ; <nl> - } <nl> - } <nl> - <nl> grpc_completion_queue * grpc_completion_queue_create ( void * reserved ) { <nl> grpc_completion_queue * cc ; <nl> GPR_ASSERT ( ! reserved ) ; <nl> grpc_completion_queue * grpc_completion_queue_create ( void * reserved ) { <nl> <nl> GRPC_API_TRACE ( " grpc_completion_queue_create ( reserved = % p ) " , 1 , ( reserved ) ) ; <nl> <nl> - gpr_mu_lock ( & g_freelist_mu ) ; <nl> - if ( g_freelist = = NULL ) { <nl> - gpr_mu_unlock ( & g_freelist_mu ) ; <nl> - <nl> - cc = gpr_malloc ( sizeof ( grpc_completion_queue ) + grpc_pollset_size ( ) ) ; <nl> - grpc_pollset_init ( POLLSET_FROM_CQ ( cc ) , & cc - > mu ) ; <nl> + cc = gpr_malloc ( sizeof ( grpc_completion_queue ) + grpc_pollset_size ( ) ) ; <nl> + grpc_pollset_init ( POLLSET_FROM_CQ ( cc ) , & cc - > mu ) ; <nl> # ifndef NDEBUG <nl> - cc - > outstanding_tags = NULL ; <nl> - cc - > outstanding_tag_capacity = 0 ; <nl> + cc - > outstanding_tags = NULL ; <nl> + cc - > outstanding_tag_capacity = 0 ; <nl> # endif <nl> - } else { <nl> - cc = g_freelist ; <nl> - g_freelist = g_freelist - > next_free ; <nl> - gpr_mu_unlock ( & g_freelist_mu ) ; <nl> - / * pollset already initialized * / <nl> - } <nl> <nl> / * Initial ref is dropped by grpc_completion_queue_shutdown * / <nl> gpr_ref_init ( & cc - > pending_events , 1 ) ; <nl> void grpc_cq_internal_unref ( grpc_completion_queue * cc ) { <nl> # endif <nl> if ( gpr_unref ( & cc - > owning_refs ) ) { <nl> GPR_ASSERT ( cc - > completed_head . next = = ( uintptr_t ) & cc - > completed_head ) ; <nl> - grpc_pollset_reset ( POLLSET_FROM_CQ ( cc ) ) ; <nl> - gpr_mu_lock ( & g_freelist_mu ) ; <nl> - cc - > next_free = g_freelist ; <nl> - g_freelist = cc ; <nl> - gpr_mu_unlock ( & g_freelist_mu ) ; <nl> + grpc_pollset_destroy ( POLLSET_FROM_CQ ( cc ) ) ; <nl> + # ifndef NDEBUG <nl> + gpr_free ( cc - > outstanding_tags ) ; <nl> + # endif <nl> + gpr_free ( cc ) ; <nl> } <nl> } <nl> <nl> mmm a / src / core / lib / surface / completion_queue . h <nl> ppp b / src / core / lib / surface / completion_queue . h <nl> bool grpc_cq_is_non_listening_server_cq ( grpc_completion_queue * cc ) ; <nl> void grpc_cq_mark_server_cq ( grpc_completion_queue * cc ) ; <nl> int grpc_cq_is_server_cq ( grpc_completion_queue * cc ) ; <nl> <nl> - void grpc_cq_global_init ( void ) ; <nl> - void grpc_cq_global_shutdown ( void ) ; <nl> - <nl> # endif / * GRPC_CORE_LIB_SURFACE_COMPLETION_QUEUE_H * / <nl> mmm a / src / core / lib / surface / init . c <nl> ppp b / src / core / lib / surface / init . c <nl> void grpc_init ( void ) { <nl> grpc_iomgr_init ( ) ; <nl> grpc_executor_init ( ) ; <nl> gpr_timers_global_init ( ) ; <nl> - grpc_cq_global_init ( ) ; <nl> grpc_handshaker_factory_registry_init ( ) ; <nl> grpc_security_init ( ) ; <nl> for ( i = 0 ; i < g_number_of_plugins ; i + + ) { <nl> void grpc_shutdown ( void ) { <nl> gpr_mu_lock ( & g_init_mu ) ; <nl> if ( - - g_initializations = = 0 ) { <nl> grpc_executor_shutdown ( & exec_ctx ) ; <nl> - grpc_cq_global_shutdown ( ) ; <nl> grpc_iomgr_shutdown ( & exec_ctx ) ; <nl> gpr_timers_global_destroy ( ) ; <nl> grpc_tracer_shutdown ( ) ; <nl> mmm a / src / python / grpcio / grpc / _channel . py <nl> ppp b / src / python / grpcio / grpc / _channel . py <nl> def _start_unary_request ( request , timeout , request_serializer ) : <nl> return deadline , deadline_timespec , serialized_request , None <nl> <nl> <nl> - def _end_unary_response_blocking ( state , with_call , deadline ) : <nl> + def _end_unary_response_blocking ( state , call , with_call , deadline ) : <nl> if state . code is grpc . StatusCode . OK : <nl> if with_call : <nl> - rendezvous = _Rendezvous ( state , None , None , deadline ) <nl> + rendezvous = _Rendezvous ( state , call , None , deadline ) <nl> return state . response , rendezvous <nl> else : <nl> return state . response <nl> def _blocking ( self , request , timeout , metadata , credentials ) : <nl> _check_call_error ( call_error , metadata ) <nl> _handle_event ( completion_queue . poll ( ) , state , <nl> self . _response_deserializer ) <nl> - return state , deadline <nl> + return state , call , deadline <nl> <nl> def __call__ ( self , request , timeout = None , metadata = None , credentials = None ) : <nl> - state , deadline , = self . _blocking ( request , timeout , metadata , <nl> - credentials ) <nl> - return _end_unary_response_blocking ( state , False , deadline ) <nl> + state , call , deadline = self . _blocking ( request , timeout , metadata , <nl> + credentials ) <nl> + return _end_unary_response_blocking ( state , call , False , deadline ) <nl> <nl> def with_call ( self , request , timeout = None , metadata = None , credentials = None ) : <nl> - state , deadline , = self . _blocking ( request , timeout , metadata , <nl> - credentials ) <nl> - return _end_unary_response_blocking ( state , True , deadline ) <nl> + state , call , deadline = self . _blocking ( request , timeout , metadata , <nl> + credentials ) <nl> + return _end_unary_response_blocking ( state , call , True , deadline ) <nl> <nl> def future ( self , request , timeout = None , metadata = None , credentials = None ) : <nl> state , operations , deadline , deadline_timespec , rendezvous = self . _prepare ( <nl> def _blocking ( self , request_iterator , timeout , metadata , credentials ) : <nl> state . condition . notify_all ( ) <nl> if not state . due : <nl> break <nl> - return state , deadline <nl> + return state , call , deadline <nl> <nl> def __call__ ( self , <nl> request_iterator , <nl> timeout = None , <nl> metadata = None , <nl> credentials = None ) : <nl> - state , deadline , = self . _blocking ( request_iterator , timeout , metadata , <nl> - credentials ) <nl> - return _end_unary_response_blocking ( state , False , deadline ) <nl> + state , call , deadline = self . _blocking ( request_iterator , timeout , <nl> + metadata , credentials ) <nl> + return _end_unary_response_blocking ( state , call , False , deadline ) <nl> <nl> def with_call ( self , <nl> request_iterator , <nl> timeout = None , <nl> metadata = None , <nl> credentials = None ) : <nl> - state , deadline , = self . _blocking ( request_iterator , timeout , metadata , <nl> - credentials ) <nl> - return _end_unary_response_blocking ( state , True , deadline ) <nl> + state , call , deadline = self . _blocking ( request_iterator , timeout , <nl> + metadata , credentials ) <nl> + return _end_unary_response_blocking ( state , call , True , deadline ) <nl> <nl> def future ( self , <nl> request_iterator , <nl> mmm a / test / core / internal_api_canaries / iomgr . c <nl> ppp b / test / core / internal_api_canaries / iomgr . c <nl> static void test_code ( void ) { <nl> grpc_pollset_size ( ) ; <nl> grpc_pollset_init ( NULL , NULL ) ; <nl> grpc_pollset_shutdown ( NULL , NULL , NULL ) ; <nl> - grpc_pollset_reset ( NULL ) ; <nl> grpc_pollset_destroy ( NULL ) ; <nl> GRPC_ERROR_UNREF ( grpc_pollset_work ( NULL , NULL , NULL , <nl> gpr_now ( GPR_CLOCK_REALTIME ) , <nl> mmm a / test / cpp / microbenchmarks / bm_fullstack . cc <nl> ppp b / test / cpp / microbenchmarks / bm_fullstack . cc <nl> static void BM_StreamingPingPongMsgs ( benchmark : : State & state ) { <nl> } <nl> <nl> while ( state . KeepRunning ( ) ) { <nl> + GPR_TIMER_SCOPE ( " BenchmarkCycle " , 0 ) ; <nl> request_rw - > Write ( send_request , tag ( 0 ) ) ; / / Start client send <nl> response_rw . Read ( & recv_request , tag ( 1 ) ) ; / / Start server recv <nl> request_rw - > Read ( & recv_response , tag ( 2 ) ) ; / / Start client recv <nl> new file mode 100644 <nl> index 00000000000 . . 9259faf34d5 <nl> mmm / dev / null <nl> ppp b / tools / internal_ci / linux / grpc_interop . cfg <nl> <nl> + # ! / bin / bash <nl> + # Copyright 2017 , Google Inc . <nl> + # All rights reserved . <nl> + # <nl> + # Redistribution and use in source and binary forms , with or without <nl> + # modification , are permitted provided that the following conditions are <nl> + # met : <nl> + # <nl> + # * Redistributions of source code must retain the above copyright <nl> + # notice , this list of conditions and the following disclaimer . <nl> + # * Redistributions in binary form must reproduce the above <nl> + # copyright notice , this list of conditions and the following disclaimer <nl> + # in the documentation and / or other materials provided with the <nl> + # distribution . <nl> + # * Neither the name of Google Inc . nor the names of its <nl> + # contributors may be used to endorse or promote products derived from <nl> + # this software without specific prior written permission . <nl> + # <nl> + # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS <nl> + # " AS IS " AND ANY EXPRESS OR IMPLIED WARRANTIES , INCLUDING , BUT NOT <nl> + # LIMITED TO , THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR <nl> + # A PARTICULAR PURPOSE ARE DISCLAIMED . IN NO EVENT SHALL THE COPYRIGHT <nl> + # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT , INDIRECT , INCIDENTAL , <nl> + # SPECIAL , EXEMPLARY , OR CONSEQUENTIAL DAMAGES ( INCLUDING , BUT NOT <nl> + # LIMITED TO , PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES ; LOSS OF USE , <nl> + # DATA , OR PROFITS ; OR BUSINESS INTERRUPTION ) HOWEVER CAUSED AND ON ANY <nl> + # THEORY OF LIABILITY , WHETHER IN CONTRACT , STRICT LIABILITY , OR TORT <nl> + # ( INCLUDING NEGLIGENCE OR OTHERWISE ) ARISING IN ANY WAY OUT OF THE USE <nl> + # OF THIS SOFTWARE , EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE . <nl> + <nl> + # Config file for the internal CI ( in protobuf text format ) <nl> + <nl> + # Location of the continuous shell script in repository . <nl> + build_file : " grpc / tools / internal_ci / linux / grpc_interop . sh " <nl> + # grpc_interop tests can take 6 + hours to complete . <nl> + timeout_mins : 480 <nl> + action { <nl> + define_artifacts { <nl> + regex : " * * / sponge_log . xml " <nl> + } <nl> + } <nl> new file mode 100755 <nl> index 00000000000 . . 68bb4199e3d <nl> mmm / dev / null <nl> ppp b / tools / internal_ci / linux / grpc_interop . sh <nl> <nl> + # ! / usr / bin / env bash <nl> + # Copyright 2017 , Google Inc . <nl> + # All rights reserved . <nl> + # <nl> + # Redistribution and use in source and binary forms , with or without <nl> + # modification , are permitted provided that the following conditions are <nl> + # met : <nl> + # <nl> + # * Redistributions of source code must retain the above copyright <nl> + # notice , this list of conditions and the following disclaimer . <nl> + # * Redistributions in binary form must reproduce the above <nl> + # copyright notice , this list of conditions and the following disclaimer <nl> + # in the documentation and / or other materials provided with the <nl> + # distribution . <nl> + # * Neither the name of Google Inc . nor the names of its <nl> + # contributors may be used to endorse or promote products derived from <nl> + # this software without specific prior written permission . <nl> + # <nl> + # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS <nl> + # " AS IS " AND ANY EXPRESS OR IMPLIED WARRANTIES , INCLUDING , BUT NOT <nl> + # LIMITED TO , THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR <nl> + # A PARTICULAR PURPOSE ARE DISCLAIMED . IN NO EVENT SHALL THE COPYRIGHT <nl> + # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT , INDIRECT , INCIDENTAL , <nl> + # SPECIAL , EXEMPLARY , OR CONSEQUENTIAL DAMAGES ( INCLUDING , BUT NOT <nl> + # LIMITED TO , PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES ; LOSS OF USE , <nl> + # DATA , OR PROFITS ; OR BUSINESS INTERRUPTION ) HOWEVER CAUSED AND ON ANY <nl> + # THEORY OF LIABILITY , WHETHER IN CONTRACT , STRICT LIABILITY , OR TORT <nl> + # ( INCLUDING NEGLIGENCE OR OTHERWISE ) ARISING IN ANY WAY OUT OF THE USE <nl> + # OF THIS SOFTWARE , EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE . <nl> + <nl> + set - ex <nl> + <nl> + export LANG = en_US . UTF - 8 <nl> + <nl> + # Enter the gRPC repo root <nl> + cd $ ( dirname $ 0 ) / . . / . . / . . <nl> + <nl> + git submodule update - - init <nl> + <nl> + tools / run_tests / run_interop_tests . py - l all - s all - - cloud_to_prod - - cloud_to_prod_auth - - use_docker - - http2_interop - t - j 12 $ @ | | FAILED = " true " <nl> + tools / run_tests / run_interop_tests . py - l java - - use_docker - - http2_badserver_interop $ @ | | FAILED = " true " <nl> + tools / run_tests / run_interop_tests . py - l python - - use_docker - - http2_badserver_interop $ @ | | FAILED = " true " <nl> mmm a / tools / run_tests / python_utils / start_port_server . py <nl> ppp b / tools / run_tests / python_utils / start_port_server . py <nl> <nl> import sys <nl> import time <nl> import jobset <nl> + import socket <nl> <nl> def start_port_server ( port_server_port ) : <nl> # check if a compatible port server is running <nl> mmm a / tools / run_tests / run_microbenchmark . py <nl> ppp b / tools / run_tests / run_microbenchmark . py <nl> def collect_perf ( bm_name , args ) : <nl> subprocess . check_call ( <nl> [ ' make ' , bm_name , <nl> ' CONFIG = mutrace ' , ' - j ' , ' % d ' % multiprocessing . cpu_count ( ) ] ) <nl> + benchmarks = [ ] <nl> + profile_analysis = [ ] <nl> + cleanup = [ ] <nl> for line in subprocess . check_output ( [ ' bins / mutrace / % s ' % bm_name , <nl> ' - - benchmark_list_tests ' ] ) . splitlines ( ) : <nl> - subprocess . check_call ( [ ' perf ' , ' record ' , ' - o ' , ' % s - perf . data ' % fnize ( line ) , <nl> - ' - g ' , ' - c ' , ' 1000 ' , <nl> - ' bins / mutrace / % s ' % bm_name , <nl> - ' - - benchmark_filter = ^ % s $ ' % line , <nl> - ' - - benchmark_min_time = 10 ' ] ) <nl> - env = os . environ . copy ( ) <nl> - env . update ( { <nl> - ' PERF_BASE_NAME ' : fnize ( line ) , <nl> - ' OUTPUT_DIR ' : ' reports ' , <nl> - ' OUTPUT_FILENAME ' : fnize ( line ) , <nl> - } ) <nl> - subprocess . check_call ( [ ' tools / run_tests / performance / process_local_perf_flamegraphs . sh ' ] , <nl> - env = env ) <nl> - subprocess . check_call ( [ ' rm ' , ' % s - perf . data ' % fnize ( line ) ] ) <nl> - subprocess . check_call ( [ ' rm ' , ' % s - out . perf ' % fnize ( line ) ] ) <nl> + link ( line , ' % s . svg ' % fnize ( line ) ) <nl> + benchmarks . append ( <nl> + jobset . JobSpec ( [ ' perf ' , ' record ' , ' - o ' , ' % s - perf . data ' % fnize ( line ) , <nl> + ' - g ' , ' - F ' , ' 997 ' , <nl> + ' bins / mutrace / % s ' % bm_name , <nl> + ' - - benchmark_filter = ^ % s $ ' % line , <nl> + ' - - benchmark_min_time = 10 ' ] ) ) <nl> + profile_analysis . append ( <nl> + jobset . JobSpec ( [ ' tools / run_tests / performance / process_local_perf_flamegraphs . sh ' ] , <nl> + environ = { <nl> + ' PERF_BASE_NAME ' : fnize ( line ) , <nl> + ' OUTPUT_DIR ' : ' reports ' , <nl> + ' OUTPUT_FILENAME ' : fnize ( line ) , <nl> + } ) ) <nl> + cleanup . append ( jobset . JobSpec ( [ ' rm ' , ' % s - perf . data ' % fnize ( line ) ] ) ) <nl> + cleanup . append ( jobset . JobSpec ( [ ' rm ' , ' % s - out . perf ' % fnize ( line ) ] ) ) <nl> + # periodically flush out the list of jobs : temporary space required for this <nl> + # processing is large <nl> + if len ( benchmarks ) > = 20 : <nl> + # run up to half the cpu count : each benchmark can use up to two cores <nl> + # ( one for the microbenchmark , one for the data flush ) <nl> + jobset . run ( benchmarks , maxjobs = 1 , <nl> + add_env = { ' GRPC_TEST_PORT_SERVER ' : ' localhost : % d ' % port_server_port } ) <nl> + jobset . run ( profile_analysis , maxjobs = multiprocessing . cpu_count ( ) ) <nl> + jobset . run ( cleanup , maxjobs = multiprocessing . cpu_count ( ) ) <nl> + benchmarks = [ ] <nl> + profile_analysis = [ ] <nl> + cleanup = [ ] <nl> + # run the remaining benchmarks that weren ' t flushed <nl> + if len ( benchmarks ) : <nl> + jobset . run ( benchmarks , maxjobs = 1 , <nl> + add_env = { ' GRPC_TEST_PORT_SERVER ' : ' localhost : % d ' % port_server_port } ) <nl> + jobset . run ( profile_analysis , maxjobs = multiprocessing . cpu_count ( ) ) <nl> + jobset . run ( cleanup , maxjobs = multiprocessing . cpu_count ( ) ) <nl> <nl> def collect_summary ( bm_name , args ) : <nl> heading ( ' Summary : % s ' % bm_name ) <nl>
Merge github . com : grpc / grpc into bm_closure
grpc/grpc
d3b8cd66176cd9d3d06eba4787362419775cd6c9
2017-02-16T07:55:31Z
mmm a / InMemoryView . cpp <nl> ppp b / InMemoryView . cpp <nl> <nl> <nl> namespace watchman { <nl> <nl> + InMemoryView : : InMemoryView ( const w_string & root_path ) : root_path ( root_path ) { } <nl> + <nl> static void insert_at_head_of_file_list ( <nl> InMemoryView * view , <nl> struct watchman_file * file ) { <nl> void InMemoryView : : markFileChanged ( <nl> insert_at_head_of_file_list ( this , file ) ; <nl> } <nl> } <nl> + <nl> + const watchman_dir * InMemoryView : : resolveDir ( const w_string & dir_name ) const { <nl> + watchman_dir * dir ; <nl> + const char * dir_component ; <nl> + const char * dir_end ; <nl> + <nl> + if ( dir_name = = root_path ) { <nl> + return root_dir . get ( ) ; <nl> + } <nl> + <nl> + dir_component = dir_name . data ( ) ; <nl> + dir_end = dir_component + dir_name . size ( ) ; <nl> + <nl> + dir = root_dir . get ( ) ; <nl> + dir_component + = root_path . size ( ) + 1 ; / / Skip root path prefix <nl> + <nl> + w_assert ( dir_component < = dir_end , " impossible file name " ) ; <nl> + <nl> + while ( true ) { <nl> + w_string_t component ; <nl> + auto sep = ( const char * ) memchr ( <nl> + dir_component , WATCHMAN_DIR_SEP , dir_end - dir_component ) ; <nl> + / / Note : if sep is NULL it means that we ' re looking at the basename <nl> + / / component of the input directory name , which is the terminal <nl> + / / iteration of this search . <nl> + <nl> + w_string_new_len_typed_stack ( <nl> + & component , <nl> + dir_component , <nl> + sep ? ( uint32_t ) ( sep - dir_component ) <nl> + : ( uint32_t ) ( dir_end - dir_component ) , <nl> + W_STRING_BYTE ) ; <nl> + <nl> + auto child = dir - > getChildDir ( & component ) ; <nl> + if ( ! child ) { <nl> + return nullptr ; <nl> + } <nl> + <nl> + dir = child ; <nl> + <nl> + if ( ! sep ) { <nl> + / / We reached the end of the string <nl> + if ( dir ) { <nl> + / / We found the dir <nl> + return dir ; <nl> + } <nl> + / / Does not exist <nl> + return nullptr ; <nl> + } <nl> + <nl> + / / Skip to the next component for the next iteration <nl> + dir_component = sep + 1 ; <nl> + } <nl> + <nl> + return nullptr ; <nl> + } <nl> + <nl> + watchman_dir * InMemoryView : : resolveDir ( const w_string & dir_name , bool create ) { <nl> + watchman_dir * dir , * parent ; <nl> + const char * dir_component ; <nl> + const char * dir_end ; <nl> + <nl> + if ( dir_name = = root_path ) { <nl> + return root_dir . get ( ) ; <nl> + } <nl> + <nl> + dir_component = dir_name . data ( ) ; <nl> + dir_end = dir_component + dir_name . size ( ) ; <nl> + <nl> + dir = root_dir . get ( ) ; <nl> + dir_component + = root_path . size ( ) + 1 ; / / Skip root path prefix <nl> + <nl> + w_assert ( dir_component < = dir_end , " impossible file name " ) ; <nl> + <nl> + while ( true ) { <nl> + w_string_t component ; <nl> + auto sep = ( const char * ) memchr ( <nl> + dir_component , WATCHMAN_DIR_SEP , dir_end - dir_component ) ; <nl> + / / Note : if sep is NULL it means that we ' re looking at the basename <nl> + / / component of the input directory name , which is the terminal <nl> + / / iteration of this search . <nl> + <nl> + w_string_new_len_typed_stack ( <nl> + & component , <nl> + dir_component , <nl> + sep ? ( uint32_t ) ( sep - dir_component ) <nl> + : ( uint32_t ) ( dir_end - dir_component ) , <nl> + W_STRING_BYTE ) ; <nl> + <nl> + auto child = dir - > getChildDir ( & component ) ; <nl> + <nl> + if ( ! child & & ! create ) { <nl> + return nullptr ; <nl> + } <nl> + if ( ! child & & sep & & create ) { <nl> + / / A component in the middle wasn ' t present . Since we ' re in create <nl> + / / mode , we know that the leaf must exist . The assumption is that <nl> + / / we have another pending item for the parent . We ' ll create the <nl> + / / parent dir now and our other machinery will populate its contents <nl> + / / later . <nl> + w_string child_name ( dir_component , ( uint32_t ) ( sep - dir_component ) ) ; <nl> + <nl> + auto & new_child = dir - > dirs [ child_name ] ; <nl> + new_child . reset ( new watchman_dir ( child_name , dir ) ) ; <nl> + <nl> + child = new_child . get ( ) ; <nl> + } <nl> + <nl> + parent = dir ; <nl> + dir = child ; <nl> + <nl> + if ( ! sep ) { <nl> + / / We reached the end of the string <nl> + if ( dir ) { <nl> + / / We found the dir <nl> + return dir ; <nl> + } <nl> + / / We need to create the dir <nl> + break ; <nl> + } <nl> + <nl> + / / Skip to the next component for the next iteration <nl> + dir_component = sep + 1 ; <nl> + } <nl> + <nl> + w_string child_name ( dir_component , ( uint32_t ) ( dir_end - dir_component ) ) ; <nl> + auto & new_child = parent - > dirs [ child_name ] ; <nl> + new_child . reset ( new watchman_dir ( child_name , parent ) ) ; <nl> + <nl> + dir = new_child . get ( ) ; <nl> + <nl> + return dir ; <nl> + } <nl> } <nl> mmm a / InMemoryView . h <nl> ppp b / InMemoryView . h <nl> namespace watchman { <nl> / * * Keeps track of the state of the filesystem in - memory . * / <nl> struct InMemoryView { <nl> std : : unique_ptr < watchman_dir > root_dir ; <nl> + w_string root_path ; <nl> <nl> / * the most recently changed file * / <nl> struct watchman_file * latest_file { 0 } ; <nl> struct InMemoryView { <nl> / * Holds the list heads for all known suffixes * / <nl> std : : unordered_map < w_string , std : : unique_ptr < file_list_head > > suffixes ; <nl> <nl> + explicit InMemoryView ( const w_string & root_path ) ; <nl> + <nl> / * * Updates the otime for the file and bubbles it to the front of recency <nl> * index * / <nl> void markFileChanged ( <nl> watchman_file * file , <nl> const struct timeval & now , <nl> uint32_t tick ) ; <nl> + <nl> + watchman_dir * resolveDir ( const w_string & dirname , bool create ) ; <nl> + const watchman_dir * resolveDir ( const w_string & dirname ) const ; <nl> } ; <nl> } <nl> mmm a / root / dir . cpp <nl> ppp b / root / dir . cpp <nl> w_string watchman_dir : : getFullPath ( ) const { <nl> const watchman_dir * w_root_resolve_dir_read ( <nl> struct read_locked_watchman_root * lock , <nl> const w_string & dir_name ) { <nl> - watchman_dir * dir ; <nl> - const char * dir_component ; <nl> - const char * dir_end ; <nl> - <nl> - if ( w_string_equal ( dir_name , lock - > root - > root_path ) ) { <nl> - return lock - > root - > inner . view . root_dir . get ( ) ; <nl> - } <nl> - <nl> - dir_component = dir_name . data ( ) ; <nl> - dir_end = dir_component + dir_name . size ( ) ; <nl> - <nl> - dir = lock - > root - > inner . view . root_dir . get ( ) ; <nl> - dir_component + = lock - > root - > root_path . size ( ) + 1 ; / / Skip root path prefix <nl> - <nl> - w_assert ( dir_component < = dir_end , " impossible file name " ) ; <nl> - <nl> - while ( true ) { <nl> - w_string_t component ; <nl> - auto sep = ( const char * ) memchr ( <nl> - dir_component , WATCHMAN_DIR_SEP , dir_end - dir_component ) ; <nl> - / / Note : if sep is NULL it means that we ' re looking at the basename <nl> - / / component of the input directory name , which is the terminal <nl> - / / iteration of this search . <nl> - <nl> - w_string_new_len_typed_stack ( <nl> - & component , <nl> - dir_component , <nl> - sep ? ( uint32_t ) ( sep - dir_component ) <nl> - : ( uint32_t ) ( dir_end - dir_component ) , <nl> - W_STRING_BYTE ) ; <nl> - <nl> - auto child = dir - > getChildDir ( & component ) ; <nl> - if ( ! child ) { <nl> - return NULL ; <nl> - } <nl> - <nl> - dir = child ; <nl> - <nl> - if ( ! sep ) { <nl> - / / We reached the end of the string <nl> - if ( dir ) { <nl> - / / We found the dir <nl> - return dir ; <nl> - } <nl> - / / Does not exist <nl> - return NULL ; <nl> - } <nl> - <nl> - / / Skip to the next component for the next iteration <nl> - dir_component = sep + 1 ; <nl> - } <nl> - <nl> - return NULL ; <nl> + return lock - > root - > inner . view . resolveDir ( dir_name ) ; <nl> } <nl> <nl> watchman_dir * w_root_resolve_dir ( <nl> struct write_locked_watchman_root * lock , <nl> const w_string & dir_name , <nl> bool create ) { <nl> - watchman_dir * dir , * parent ; <nl> - const char * dir_component ; <nl> - const char * dir_end ; <nl> - <nl> - if ( w_string_equal ( dir_name , lock - > root - > root_path ) ) { <nl> - return lock - > root - > inner . view . root_dir . get ( ) ; <nl> - } <nl> - <nl> - dir_component = dir_name . data ( ) ; <nl> - dir_end = dir_component + dir_name . size ( ) ; <nl> - <nl> - dir = lock - > root - > inner . view . root_dir . get ( ) ; <nl> - dir_component + = lock - > root - > root_path . size ( ) + 1 ; / / Skip root path prefix <nl> - <nl> - w_assert ( dir_component < = dir_end , " impossible file name " ) ; <nl> - <nl> - while ( true ) { <nl> - w_string_t component ; <nl> - auto sep = ( const char * ) memchr ( <nl> - dir_component , WATCHMAN_DIR_SEP , dir_end - dir_component ) ; <nl> - / / Note : if sep is NULL it means that we ' re looking at the basename <nl> - / / component of the input directory name , which is the terminal <nl> - / / iteration of this search . <nl> - <nl> - w_string_new_len_typed_stack ( <nl> - & component , <nl> - dir_component , <nl> - sep ? ( uint32_t ) ( sep - dir_component ) <nl> - : ( uint32_t ) ( dir_end - dir_component ) , <nl> - W_STRING_BYTE ) ; <nl> - <nl> - auto child = dir - > getChildDir ( & component ) ; <nl> - <nl> - if ( ! child & & ! create ) { <nl> - return NULL ; <nl> - } <nl> - if ( ! child & & sep & & create ) { <nl> - / / A component in the middle wasn ' t present . Since we ' re in create <nl> - / / mode , we know that the leaf must exist . The assumption is that <nl> - / / we have another pending item for the parent . We ' ll create the <nl> - / / parent dir now and our other machinery will populate its contents <nl> - / / later . <nl> - w_string child_name ( dir_component , ( uint32_t ) ( sep - dir_component ) ) ; <nl> - <nl> - auto & new_child = dir - > dirs [ child_name ] ; <nl> - new_child . reset ( new watchman_dir ( child_name , dir ) ) ; <nl> - <nl> - child = new_child . get ( ) ; <nl> - } <nl> - <nl> - parent = dir ; <nl> - dir = child ; <nl> - <nl> - if ( ! sep ) { <nl> - / / We reached the end of the string <nl> - if ( dir ) { <nl> - / / We found the dir <nl> - return dir ; <nl> - } <nl> - / / We need to create the dir <nl> - break ; <nl> - } <nl> - <nl> - / / Skip to the next component for the next iteration <nl> - dir_component = sep + 1 ; <nl> - } <nl> - <nl> - w_string child_name ( dir_component , ( uint32_t ) ( dir_end - dir_component ) ) ; <nl> - auto & new_child = parent - > dirs [ child_name ] ; <nl> - new_child . reset ( new watchman_dir ( child_name , parent ) ) ; <nl> - <nl> - dir = new_child . get ( ) ; <nl> - <nl> - return dir ; <nl> + return lock - > root - > inner . view . resolveDir ( dir_name , create ) ; <nl> } <nl> <nl> watchman_file * watchman_dir : : getChildFile ( w_string name ) const { <nl> mmm a / root / init . cpp <nl> ppp b / root / init . cpp <nl> bool w_root_init ( w_root_t * root , char * * errmsg ) { <nl> } <nl> <nl> w_root_t * w_root_new ( const char * path , char * * errmsg ) { <nl> - auto root = new w_root_t ( ) ; <nl> + auto root = new w_root_t ( w_string ( path , W_STRING_BYTE ) ) ; <nl> <nl> + + live_roots ; <nl> pthread_rwlock_init ( & root - > lock , NULL ) ; <nl> w_root_t * w_root_new ( const char * path , char * * errmsg ) { <nl> root - > case_sensitive = is_case_sensitive_filesystem ( path ) ; <nl> <nl> w_pending_coll_init ( & root - > pending ) ; <nl> - root - > root_path = w_string ( path , W_STRING_BYTE ) ; <nl> <nl> load_root_config ( root , path ) ; <nl> root - > trigger_settle = ( int ) cfg_get_int ( <nl> void w_root_teardown ( w_root_t * root ) { <nl> / / delete the containing root ( that will call the Inner <nl> / / destructor ) . <nl> root - > inner . ~ Inner ( ) ; <nl> - new ( & root - > inner ) watchman_root : : Inner ; <nl> + new ( & root - > inner ) watchman_root : : Inner ( root - > root_path ) ; <nl> } <nl> <nl> - watchman_root : : Inner : : Inner ( ) { <nl> + watchman_root : : Inner : : Inner ( const w_string & root_path ) : view ( root_path ) { <nl> w_pending_coll_init ( & pending_symlink_targets ) ; <nl> } <nl> <nl> void w_root_delref_raw ( w_root_t * root ) { <nl> delete root ; <nl> } <nl> <nl> + watchman_root : : watchman_root ( const w_string & root_path ) <nl> + : root_path ( root_path ) , inner ( root_path ) { } <nl> + <nl> watchman_root : : ~ watchman_root ( ) { <nl> w_log ( W_LOG_DBG , " root : final ref on % s \ n " , root_path . c_str ( ) ) ; <nl> w_cancel_subscriptions_for_root ( this ) ; <nl> mmm a / watchman_root . h <nl> ppp b / watchman_root . h <nl> struct watchman_root { <nl> time_t last_cmd_timestamp { 0 } ; <nl> time_t last_reap_timestamp { 0 } ; <nl> <nl> - Inner ( ) ; <nl> + explicit Inner ( const w_string & root_path ) ; <nl> ~ Inner ( ) ; <nl> } inner ; <nl> <nl> + explicit watchman_root ( const w_string & root_path ) ; <nl> ~ watchman_root ( ) ; <nl> } ; <nl> <nl>
refactor dir resolving into InMemoryView class
facebook/watchman
ae557d073ce99da55c26082dc8c67400da19a9a2
2016-10-08T09:48:44Z
mmm a / src / core / hle / service / nvdrv / nvdrv . cpp <nl> ppp b / src / core / hle / service / nvdrv / nvdrv . cpp <nl> Module : : Module ( Core : : System & system ) { <nl> auto & kernel = system . Kernel ( ) ; <nl> for ( u32 i = 0 ; i < MaxNvEvents ; i + + ) { <nl> std : : string event_label = fmt : : format ( " NVDRV : : NvEvent_ { } " , i ) ; <nl> - events_interface . events [ i ] = Kernel : : WritableEvent : : CreateEventPair ( <nl> - kernel , Kernel : : ResetType : : Automatic , event_label ) ; <nl> + events_interface . events [ i ] = <nl> + Kernel : : WritableEvent : : CreateEventPair ( kernel , Kernel : : ResetType : : Manual , event_label ) ; <nl> events_interface . status [ i ] = EventState : : Free ; <nl> events_interface . registered [ i ] = false ; <nl> } <nl> mmm a / src / core / hle / service / nvflinger / nvflinger . cpp <nl> ppp b / src / core / hle / service / nvflinger / nvflinger . cpp <nl> const VI : : Layer * NVFlinger : : FindLayer ( u64 display_id , u64 layer_id ) const { <nl> <nl> void NVFlinger : : Compose ( ) { <nl> for ( auto & display : displays ) { <nl> + bool trigger_event = false ; <nl> / / Trigger vsync for this display at the end of drawing <nl> - SCOPE_EXIT ( { display . SignalVSyncEvent ( ) ; } ) ; <nl> + SCOPE_EXIT ( { <nl> + if ( trigger_event ) { <nl> + display . SignalVSyncEvent ( ) ; <nl> + } <nl> + } ) ; <nl> <nl> / / Don ' t do anything for displays without layers . <nl> if ( ! display . HasLayers ( ) ) <nl> void NVFlinger : : Compose ( ) { <nl> } <nl> <nl> const auto & igbp_buffer = buffer - > get ( ) . igbp_buffer ; <nl> + trigger_event = true ; <nl> <nl> / / Now send the buffer to the GPU for drawing . <nl> / / TODO ( Subv ) : Support more than just disp0 . The display device selection is probably based <nl>
Nvdrv : Correct Async regression and avoid signaling empty buffer vsyncs
yuzu-emu/yuzu
4e9f975935b4208b29e158dabe62f8ad1122a447
2019-10-04T23:59:47Z
mmm a / src / core / lib / iomgr / tcp_client_custom . cc <nl> ppp b / src / core / lib / iomgr / tcp_client_custom . cc <nl> static void on_alarm ( void * acp , grpc_error * error ) { <nl> } <nl> } <nl> <nl> - static void custom_connect_callback ( grpc_custom_socket * socket , <nl> - grpc_error * error ) { <nl> - grpc_core : : ExecCtx exec_ctx ; <nl> + static void custom_connect_callback_internal ( grpc_custom_socket * socket , <nl> + grpc_error * error ) { <nl> grpc_custom_tcp_connect * connect = socket - > connector ; <nl> int done ; <nl> grpc_closure * closure = connect - > closure ; <nl> static void custom_connect_callback ( grpc_custom_socket * socket , <nl> GRPC_CLOSURE_SCHED ( closure , error ) ; <nl> } <nl> <nl> + static void custom_connect_callback ( grpc_custom_socket * socket , <nl> + grpc_error * error ) { <nl> + if ( grpc_core : : ExecCtx : : Get ( ) = = nullptr ) { <nl> + / * If we are being run on a thread which does not have an exec_ctx created <nl> + * yet , we should create one . * / <nl> + grpc_core : : ExecCtx exec_ctx ; <nl> + custom_connect_callback_internal ( socket , error ) ; <nl> + } else { <nl> + custom_connect_callback_internal ( socket , error ) ; <nl> + } <nl> + } <nl> + <nl> static void tcp_connect ( grpc_closure * closure , grpc_endpoint * * ep , <nl> grpc_pollset_set * interested_parties , <nl> const grpc_channel_args * channel_args , <nl> mmm a / test / core / iomgr / tcp_client_uv_test . cc <nl> ppp b / test / core / iomgr / tcp_client_uv_test . cc <nl> void test_succeeds ( void ) { <nl> uv_close ( ( uv_handle_t * ) svr_handle , close_cb ) ; <nl> <nl> gpr_mu_unlock ( g_mu ) ; <nl> + grpc_core : : ExecCtx : : Get ( ) - > Flush ( ) ; <nl> } <nl> <nl> void test_fails ( void ) { <nl> void test_fails ( void ) { <nl> } <nl> <nl> gpr_mu_unlock ( g_mu ) ; <nl> + grpc_core : : ExecCtx : : Get ( ) - > Flush ( ) ; <nl> } <nl> <nl> static void destroy_pollset ( void * p , grpc_error * error ) { <nl> static void destroy_pollset ( void * p , grpc_error * error ) { <nl> <nl> int main ( int argc , char * * argv ) { <nl> grpc_closure destroyed ; <nl> - grpc_core : : ExecCtx exec_ctx ; <nl> grpc_test_init ( argc , argv ) ; <nl> grpc_init ( ) ; <nl> - g_pollset = static_cast < grpc_pollset * > ( gpr_malloc ( grpc_pollset_size ( ) ) ) ; <nl> - grpc_pollset_init ( g_pollset , & g_mu ) ; <nl> - <nl> - test_succeeds ( ) ; <nl> - gpr_log ( GPR_ERROR , " End of first test " ) ; <nl> - test_fails ( ) ; <nl> - GRPC_CLOSURE_INIT ( & destroyed , destroy_pollset , g_pollset , <nl> - grpc_schedule_on_exec_ctx ) ; <nl> - grpc_pollset_shutdown ( g_pollset , & destroyed ) ; <nl> - <nl> + { <nl> + grpc_core : : ExecCtx exec_ctx ; <nl> + g_pollset = static_cast < grpc_pollset * > ( gpr_malloc ( grpc_pollset_size ( ) ) ) ; <nl> + grpc_pollset_init ( g_pollset , & g_mu ) ; <nl> + <nl> + test_succeeds ( ) ; <nl> + gpr_log ( GPR_ERROR , " End of first test " ) ; <nl> + test_fails ( ) ; <nl> + GRPC_CLOSURE_INIT ( & destroyed , destroy_pollset , g_pollset , <nl> + grpc_schedule_on_exec_ctx ) ; <nl> + grpc_pollset_shutdown ( g_pollset , & destroyed ) ; <nl> + gpr_free ( g_pollset ) ; <nl> + } <nl> grpc_shutdown ( ) ; <nl> - gpr_free ( g_pollset ) ; <nl> return 0 ; <nl> } <nl> <nl> mmm a / test / core / iomgr / tcp_server_uv_test . cc <nl> ppp b / test / core / iomgr / tcp_server_uv_test . cc <nl> static void test_no_op ( void ) { <nl> grpc_tcp_server * s ; <nl> GPR_ASSERT ( GRPC_ERROR_NONE = = grpc_tcp_server_create ( NULL , NULL , & s ) ) ; <nl> grpc_tcp_server_unref ( s ) ; <nl> + grpc_core : : ExecCtx : : Get ( ) - > Flush ( ) ; <nl> } <nl> <nl> static void test_no_op_with_start ( void ) { <nl> static void test_no_op_with_start ( void ) { <nl> LOG_TEST ( " test_no_op_with_start " ) ; <nl> grpc_tcp_server_start ( s , NULL , 0 , on_connect , NULL ) ; <nl> grpc_tcp_server_unref ( s ) ; <nl> + grpc_core : : ExecCtx : : Get ( ) - > Flush ( ) ; <nl> } <nl> <nl> static void test_no_op_with_port ( void ) { <nl> static void test_no_op_with_port ( void ) { <nl> port > 0 ) ; <nl> <nl> grpc_tcp_server_unref ( s ) ; <nl> + grpc_core : : ExecCtx : : Get ( ) - > Flush ( ) ; <nl> } <nl> <nl> static void test_no_op_with_port_and_start ( void ) { <nl> static void test_no_op_with_port_and_start ( void ) { <nl> grpc_tcp_server_start ( s , NULL , 0 , on_connect , NULL ) ; <nl> <nl> grpc_tcp_server_unref ( s ) ; <nl> + grpc_core : : ExecCtx : : Get ( ) - > Flush ( ) ; <nl> } <nl> <nl> static void connect_cb ( uv_connect_t * req , int status ) { <nl> static void test_connect ( unsigned n ) { <nl> GPR_ASSERT ( weak_ref . server ! = NULL ) ; <nl> <nl> grpc_tcp_server_unref ( s ) ; <nl> - <nl> + grpc_core : : ExecCtx : : Get ( ) - > Flush ( ) ; <nl> / * Weak ref lost . * / <nl> GPR_ASSERT ( weak_ref . server = = NULL ) ; <nl> } <nl> static void destroy_pollset ( void * p , grpc_error * error ) { <nl> <nl> int main ( int argc , char * * argv ) { <nl> grpc_closure destroyed ; <nl> - grpc_core : : ExecCtx exec_ctx ; <nl> grpc_test_init ( argc , argv ) ; <nl> grpc_init ( ) ; <nl> - g_pollset = static_cast < grpc_pollset * > ( gpr_malloc ( grpc_pollset_size ( ) ) ) ; <nl> - grpc_pollset_init ( g_pollset , & g_mu ) ; <nl> - <nl> - test_no_op ( ) ; <nl> - test_no_op_with_start ( ) ; <nl> - test_no_op_with_port ( ) ; <nl> - test_no_op_with_port_and_start ( ) ; <nl> - test_connect ( 1 ) ; <nl> - test_connect ( 10 ) ; <nl> - <nl> - GRPC_CLOSURE_INIT ( & destroyed , destroy_pollset , g_pollset , <nl> - grpc_schedule_on_exec_ctx ) ; <nl> - grpc_pollset_shutdown ( g_pollset , & destroyed ) ; <nl> - <nl> + { <nl> + grpc_core : : ExecCtx exec_ctx ; <nl> + g_pollset = static_cast < grpc_pollset * > ( gpr_malloc ( grpc_pollset_size ( ) ) ) ; <nl> + grpc_pollset_init ( g_pollset , & g_mu ) ; <nl> + <nl> + test_no_op ( ) ; <nl> + test_no_op_with_start ( ) ; <nl> + test_no_op_with_port ( ) ; <nl> + test_no_op_with_port_and_start ( ) ; <nl> + test_connect ( 1 ) ; <nl> + test_connect ( 10 ) ; <nl> + <nl> + GRPC_CLOSURE_INIT ( & destroyed , destroy_pollset , g_pollset , <nl> + grpc_schedule_on_exec_ctx ) ; <nl> + grpc_pollset_shutdown ( g_pollset , & destroyed ) ; <nl> + <nl> + gpr_free ( g_pollset ) ; <nl> + } <nl> grpc_shutdown ( ) ; <nl> - gpr_free ( g_pollset ) ; <nl> return 0 ; <nl> } <nl> <nl>
Don ' t unnecessarily create exec_ctx
grpc/grpc
07504e66f321744ad76254c9be5a655edb943813
2018-10-25T19:30:46Z
mmm a / lib / Sema / CSStep . h <nl> ppp b / lib / Sema / CSStep . h <nl> template < typename P > class BindingStep : public SolverStep { <nl> / / / Check whether attempting binding choices should be stopped , <nl> / / / after current choice has been attempted , because optimal <nl> / / / solution has already been found , <nl> - virtual bool shouldStopAfter ( const typename P : : Element & choice ) const { <nl> - return false ; <nl> - } <nl> + virtual bool shouldStopAfter ( const typename P : : Element & choice ) const = 0 ; <nl> <nl> bool needsToComputeNext ( ) const { return Producer . needsToComputeNext ( ) ; } <nl> <nl> class DisjunctionStep final : public BindingStep < DisjunctionChoiceProducer > { <nl> bool shortCircuitDisjunctionAt ( Constraint * currentChoice , <nl> Constraint * lastSuccessfulChoice ) const ; <nl> <nl> + bool shouldStopAfter ( const DisjunctionChoice & choice ) const override { <nl> + return AnySolved & & choice . isEndOfDisjunctionPartition ( ) ; <nl> + } <nl> + <nl> / / / Attempt to apply given disjunction choice to constraint system . <nl> / / / This action is going to establish " active choice " of this disjunction <nl> / / / to point to a given choice . <nl> mmm a / lib / Sema / ConstraintSystem . h <nl> ppp b / lib / Sema / ConstraintSystem . h <nl> class DisjunctionChoice { <nl> unsigned Index ; <nl> Constraint * Choice ; <nl> bool ExplicitConversion ; <nl> + bool IsEndOfDisjunctionPartition ; <nl> <nl> public : <nl> - DisjunctionChoice ( unsigned index , Constraint * choice , bool explicitConversion ) <nl> - : Index ( index ) , Choice ( choice ) , ExplicitConversion ( explicitConversion ) { } <nl> + DisjunctionChoice ( unsigned index , Constraint * choice , bool explicitConversion , <nl> + bool isEndOfDisjunctionPartition ) <nl> + : Index ( index ) , Choice ( choice ) , ExplicitConversion ( explicitConversion ) , <nl> + IsEndOfDisjunctionPartition ( isEndOfDisjunctionPartition ) { } <nl> <nl> unsigned getIndex ( ) const { return Index ; } <nl> <nl> class DisjunctionChoice { <nl> return false ; <nl> } <nl> <nl> + bool isEndOfDisjunctionPartition ( ) const { <nl> + return IsEndOfDisjunctionPartition ; <nl> + } <nl> + <nl> / / FIXME : Both of the accessors below are required to support <nl> / / performance optimization hacks in constraint solver . <nl> <nl> class TypeVarBindingProducer : public BindingProducer < TypeVariableBinding > { <nl> / / / easy to work with disjunction and encapsulates <nl> / / / some other important information such as locator . <nl> class DisjunctionChoiceProducer : public BindingProducer < DisjunctionChoice > { <nl> + / / The disjunciton choices that this producer will iterate through . <nl> ArrayRef < Constraint * > Choices ; <nl> + <nl> + / / The ordering of disjunction choices . We index into Choices <nl> + / / through this vector in order to visit the disjunction choices in <nl> + / / the order we want to visit them . <nl> + SmallVector < unsigned , 8 > Ordering ; <nl> + <nl> + / / The index after the last element in a partition of the <nl> + / / disjunction choices . The choices are split into partitions where <nl> + / / we will visit all elements within a single partition before <nl> + / / moving to the elements of the next partition . If we visit all <nl> + / / choices within a single partition and have found a successful <nl> + / / solution with one of the choices in that partition , we stop <nl> + / / looking for other solutions <nl> + SmallVector < unsigned , 4 > PartitionEnd ; <nl> + <nl> + / / The index in the current partition of disjunction choices that we <nl> + / / are iterating over . <nl> + unsigned PartitionIndex = 0 ; <nl> + <nl> bool IsExplicitConversion ; <nl> <nl> unsigned Index = 0 ; <nl> class DisjunctionChoiceProducer : public BindingProducer < DisjunctionChoice > { <nl> IsExplicitConversion ( disjunction - > isExplicitConversion ( ) ) { <nl> assert ( disjunction - > getKind ( ) = = ConstraintKind : : Disjunction ) ; <nl> assert ( ! disjunction - > shouldRememberChoice ( ) | | disjunction - > getLocator ( ) ) ; <nl> + <nl> + / / Order and partition the disjunction choices . <nl> + partitionDisjunction ( ) ; <nl> } <nl> <nl> DisjunctionChoiceProducer ( ConstraintSystem & cs , <nl> ArrayRef < Constraint * > choices , <nl> ConstraintLocator * locator , bool explicitConversion ) <nl> : BindingProducer ( cs , locator ) , Choices ( choices ) , <nl> - IsExplicitConversion ( explicitConversion ) { } <nl> + IsExplicitConversion ( explicitConversion ) { <nl> + <nl> + / / Order and partition the disjunction choices . <nl> + partitionDisjunction ( ) ; <nl> + } <nl> <nl> Optional < Element > operator ( ) ( ) override { <nl> unsigned currIndex = Index ; <nl> class DisjunctionChoiceProducer : public BindingProducer < DisjunctionChoice > { <nl> return None ; <nl> <nl> + + Index ; <nl> - return DisjunctionChoice ( currIndex , Choices [ currIndex ] , <nl> - IsExplicitConversion ) ; <nl> + <nl> + bool endOfPartition = false ; <nl> + <nl> + if ( PartitionEnd [ PartitionIndex ] = = Index ) { <nl> + endOfPartition = true ; <nl> + + + PartitionIndex ; <nl> + assert ( PartitionIndex > = PartitionEnd . size ( ) | | <nl> + Index < PartitionEnd [ PartitionIndex ] ) ; <nl> + } <nl> + <nl> + return DisjunctionChoice ( currIndex , Choices [ Ordering [ currIndex ] ] , <nl> + IsExplicitConversion , endOfPartition ) ; <nl> + } <nl> + <nl> + / / Partition the choices in the disjunction into groups that we will <nl> + / / iterate over in an order appropriate to attempt to stop before we <nl> + / / have to visit all of the options . <nl> + void partitionDisjunction ( ) { <nl> + / / Temporarily keep the initial ordering and make them all part of <nl> + / / a single partition . <nl> + for ( unsigned long i = 0 , e = Choices . size ( ) ; i ! = e ; + + i ) <nl> + Ordering . push_back ( i ) ; <nl> + <nl> + PartitionEnd . push_back ( Choices . size ( ) ) ; <nl> } <nl> } ; <nl> } / / end namespace constraints <nl>
[ ConstraintSystem ] Add the notion of disjunction partitioning .
apple/swift
fb9354071b858d0486bdd58d59b818912b84fb3a
2018-09-21T23:10:47Z
mmm a / tensorflow / go / op / wrappers . go <nl> ppp b / tensorflow / go / op / wrappers . go <nl> func QuantizedConv2D ( scope * Scope , input tf . Output , filter tf . Output , min_input <nl> / / ResourceGatherAttr is an optional argument to ResourceGather . <nl> type ResourceGatherAttr func ( optionalAttr ) <nl> <nl> + / / ResourceGatherBatchDims sets the optional batch_dims attribute to value . <nl> + / / If not specified , defaults to 0 <nl> + func ResourceGatherBatchDims ( value int64 ) ResourceGatherAttr { <nl> + return func ( m optionalAttr ) { <nl> + m [ " batch_dims " ] = value <nl> + } <nl> + } <nl> + <nl> / / ResourceGatherValidateIndices sets the optional validate_indices attribute to value . <nl> / / If not specified , defaults to true <nl> func ResourceGatherValidateIndices ( value bool ) ResourceGatherAttr { <nl>
Go : Update generated wrapper functions for TensorFlow ops .
tensorflow/tensorflow
38410ebe1117a52e680e39da03c47e80a468646d
2019-03-11T10:54:57Z
mmm a / lib / SILGen / SILGenPoly . cpp <nl> ppp b / lib / SILGen / SILGenPoly . cpp <nl> substSelfTypeIntoProtocolRequirementType ( CanGenericFunctionType reqtTy , <nl> } <nl> return t - > isEqual ( selfParamTy ) ; <nl> } ; <nl> - / * <nl> + <nl> + # if 0 <nl> llvm : : errs ( ) < < " - - \ n " ; <nl> for ( auto & pair : subs ) { <nl> pair . first - > print ( llvm : : errs ( ) ) ; <nl> substSelfTypeIntoProtocolRequirementType ( CanGenericFunctionType reqtTy , <nl> pair . second - > dump ( ) ; <nl> llvm : : errs ( ) < < " \ n " ; <nl> } <nl> - * / <nl> + # endif <nl> <nl> / / Get the unapplied params . <nl> auto unappliedParams = reqtTy - > getGenericParams ( ) . slice ( 1 ) ; <nl>
Merge pull request from practicalswift / avoid - c - style - comments
apple/swift
7eb8ed3bdd7b926b8da9d6c7249e8c150c21664b
2016-02-22T00:31:25Z
mmm a / tensorflow / python / BUILD <nl> ppp b / tensorflow / python / BUILD <nl> tf_py_test ( <nl> " noasan " , # b / 168523121 <nl> " notsan " , # b / 168523121 <nl> ] , <nl> + tfrt_enabled = True , <nl> deps = [ <nl> " : _function_parameter_canonicalizer_binding_for_test " , <nl> " : client_testlib " , <nl> mmm a / tensorflow / python / eager / BUILD <nl> ppp b / tensorflow / python / eager / BUILD <nl> cuda_py_test ( <nl> " no_oss " , # TODO ( b / 168051787 ) : Enable . <nl> " no_pip " , # TODO ( b / 168051787 ) : Enable . <nl> ] , <nl> + tfrt_enabled = True , <nl> deps = [ <nl> " : pywrap_tensor_test_util " , <nl> " : test " , <nl>
Enable more TFRT test targets that are newly passing
tensorflow/tensorflow
bf41b29b6493302ec8004f5351ec36023307c00d
2020-09-15T01:36:03Z
mmm a / tensorflow / python / autograph / BUILD <nl> ppp b / tensorflow / python / autograph / BUILD <nl> py_strict_library ( <nl> srcs = [ <nl> " __init__ . py " , <nl> ] , <nl> - srcs_version = " PY2AND3 " , <nl> + srcs_version = " PY3 " , <nl> visibility = [ " / / visibility : public " ] , <nl> deps = [ <nl> " / / tensorflow / python : util " , <nl>
Mark the main AutoGraph target as Py3 - only .
tensorflow/tensorflow
721cd00d7cf3b2eeff51d25f297fe89fe7e3fa81
2020-10-16T15:37:42Z
mmm a / models / bvlc_googlenet / readme . md <nl> ppp b / models / bvlc_googlenet / readme . md <nl> caffemodel_url : http : / / dl . caffe . berkeleyvision . org / bvlc_googlenet . caffemodel <nl> license : unrestricted <nl> sha1 : 405fc5acd08a3bb12de8ee5e23a96bec22f08204 <nl> caffe_commit : bc614d1bd91896e3faceaf40b23b72dab47d44f5 <nl> - gist_id : 866e2aa1fd707b89b913 <nl> mmm <nl> <nl> This model is a replication of the model described in the [ GoogleNet ] ( http : / / arxiv . org / abs / 1409 . 4842 ) publication . We would like to thank Christian Szegedy for all his help in the replication of GoogleNet model . <nl>
Remove Gist from BVLC GoogleNet
BVLC/caffe
4cf2c5916c7331dc8b61bdb4922952ceb61e2651
2015-03-10T20:55:32Z
mmm a / hphp / hack / src / hhbc / semdiff / hhbc_destruct . ml <nl> ppp b / hphp / hack / src / hhbc / semdiff / hhbc_destruct . ml <nl> let uFCallAwait = <nl> let uFCallUnpack = pa ( function | ICall ( FCallUnpack np ) - > Some np | _ - > None ) <nl> let uFCallBuiltin = <nl> pa ( function | ICall ( FCallBuiltin ( np1 , np2 , str ) ) - > Some ( np1 , np2 , str ) | _ - > None ) <nl> + let uFatal = pa ( function | IOp ( Fatal fop ) - > Some fop | _ - > None ) <nl> <nl> ( * trivial parser , always succeds , reads nothing * ) <nl> let parse_any inp = Some ( ( ) , inp ) <nl> mmm a / hphp / hack / src / hhbc / semdiff / rhl . ml <nl> ppp b / hphp / hack / src / hhbc / semdiff / rhl . ml <nl> and specials pc pc ' ( ( props , vs , vs ' ) as asn ) assumed todo = <nl> check ( succ pc ) ( succ pc ' ) newnewasn <nl> ( add_assumption ( pc , pc ' ) asn assumed ) todo ) ) in <nl> <nl> + let string_fatal_pattern = uString $ $ uFatal in <nl> + let two_string_fatal_pattern = <nl> + ( string_fatal_pattern $ * $ string_fatal_pattern ) $ ? ( fun ( ( _s , fop ) , ( _s ' , fop ' ) ) - > <nl> + fop = fop ' ) in <nl> + let two_string_fatal_action = two_string_fatal_pattern $ > > <nl> + ( fun _ _ - > donext assumed todo ) in ( * success , nothing more to check here * ) <nl> + <nl> ( * last , failure , case for use in bigmatch * ) <nl> let failure_pattern_action = <nl> parse_any $ > > ( fun _ _ - > Some ( pc , pc ' , asn , assumed , todo ) ) in <nl> and specials pc pc ' ( ( props , vs , vs ' ) as asn ) assumed todo = <nl> notjmp_action ; <nl> concat_string_either_action ; <nl> fpassl_action ; <nl> + two_string_fatal_action ; <nl> failure_pattern_action ; <nl> ] in <nl> bigmatch_action ( ( prog_array , ip_of_pc pc ) , ( prog_array ' , ip_of_pc pc ' ) ) <nl>
string fatal pattern
facebook/hhvm
5b816d422f91f81c28fdec0a109b2e42c1398758
2017-06-13T15:35:55Z
mmm a / dlib / travis / build - and - test . sh <nl> ppp b / dlib / travis / build - and - test . sh <nl> if [ " $ VARIANT " = " old - cmake " ] ; then <nl> ls . . / cmake / 2 . 8 <nl> ls . . / cmake / 2 . 8 / bin / <nl> ls - l . . / cmake / 2 . 8 / bin / cmake <nl> - ls - l . . / cmake / 2 . 8 / bin / cmake <nl> - . . / cmake / 2 . 8 / bin / cmake . . / dlib / test / tools <nl> - . . / cmake / 2 . 8 / bin / cmake - - build . - - - j 2 <nl> + ln - s . . / cmake / 2 . 8 / bin / cmake cmake <nl> + ls - l cmake <nl> + . / cmake . . / dlib / test / tools <nl> + . / cmake - - build . - - - j 2 <nl> <nl> rm - rf * <nl> . . / cmake / 3 . 1 / bin / cmake . . / dlib / test / tools <nl>
more travis debug
davisking/dlib
613ac89063fcd327e8ae9bbe1ad6d613e82d5def
2018-03-30T13:49:45Z
mmm a / src / matmul . cpp <nl> ppp b / src / matmul . cpp <nl> <nl> # include < taichi / common / task . h > <nl> # include < taichi / math . h > <nl> # include < taichi / system / timer . h > <nl> + # include " tlang . h " <nl> # include < Eigen / Dense > <nl> <nl> TC_NAMESPACE_BEGIN <nl> real taichi_matmatmul ( ) { <nl> return Time : : get_time ( ) - t ; <nl> } <nl> <nl> - <nl> template < int dim , typename T > <nl> real AOS_matmatmul ( ) { <nl> struct Mat { <nl> real SOA_matmatmul ( ) { <nl> return Time : : get_time ( ) - t ; <nl> } ; <nl> <nl> + template < int dim , typename T > <nl> + real Tlang_matmatmul ( ) { <nl> + using namespace Tlang ; <nl> + <nl> + Expr a [ dim ] [ dim ] , b [ dim ] [ dim ] , c [ dim ] [ dim ] ; <nl> + <nl> + int simd_width = 32 / sizeof ( float32 ) ; <nl> + <nl> + for ( int i = 0 ; i < dim ; i + + ) { <nl> + for ( int j = 0 ; j < dim ; j + + ) { <nl> + a [ i ] [ j ] = load ( 0 , dim * dim , simd_width * ( i * dim + j ) ) ; <nl> + b [ i ] [ j ] = load ( 1 , dim * dim , simd_width * ( i * dim + j ) ) ; <nl> + } <nl> + } <nl> + <nl> + Expr ret ; <nl> + for ( int i = 0 ; i < dim ; i + + ) { <nl> + for ( int j = 0 ; j < dim ; j + + ) { <nl> + auto sum = a [ i ] [ 0 ] * b [ 0 ] [ j ] ; <nl> + for ( int k = 1 ; k < dim ; k + + ) { <nl> + sum = sum + a [ i ] [ k ] * b [ k ] [ j ] ; <nl> + } <nl> + ret . store ( sum , 2 , dim * dim , simd_width * ( i * dim + j ) ) ; <nl> + } <nl> + } <nl> + <nl> + CodeGen cg ; <nl> + auto func = cg . get ( ret ) ; <nl> + <nl> + AlignedAllocator A ( sizeof ( T ) * N * dim * dim ) ; <nl> + AlignedAllocator B ( sizeof ( T ) * N * dim * dim ) ; <nl> + AlignedAllocator C ( sizeof ( T ) * N * dim * dim ) ; <nl> + AlignedAllocator D ( sizeof ( T ) * N * dim * dim ) ; <nl> + <nl> + for ( int i = 0 ; i < N * dim * dim ; i + + ) { <nl> + A . get < T > ( ) [ i ] = rand ( ) ; <nl> + B . get < T > ( ) [ i ] = rand ( ) ; <nl> + } <nl> + <nl> + AOSOA_matmul < dim > ( A . get < T > ( ) , B . get < T > ( ) , D . get < T > ( ) ) ; <nl> + <nl> + auto t = Time : : get_time ( ) ; <nl> + func ( A . get < T > ( ) , B . get < T > ( ) , C . get < T > ( ) , N ) ; <nl> + t = Time : : get_time ( ) - t ; <nl> + <nl> + for ( int i = 0 ; i < N * dim * dim ; i + + ) { <nl> + auto a = C . get < T > ( ) [ i ] ; <nl> + auto b = D . get < T > ( ) [ i ] ; <nl> + TC_P ( a ) ; <nl> + TC_P ( b ) ; <nl> + TC_ASSERT ( std : : abs ( a - b ) < 1e - 5_f ) ; <nl> + } <nl> + <nl> + return t ; <nl> + } <nl> + <nl> # define BENCHMARK ( x ) \ <nl> { \ <nl> real t = x # # _matmatmul < dim , T > ( ) ; \ <nl> void run ( ) { <nl> BENCHMARK ( AOS2 ) ; <nl> BENCHMARK ( SOA ) ; <nl> BENCHMARK ( AOSOA ) ; <nl> + BENCHMARK ( Tlang ) ; <nl> fmt : : print ( " \ n " ) ; <nl> } <nl> <nl> auto benchmark_matmul = [ ] ( ) { <nl> run < 2 , float32 > ( ) ; <nl> run < 3 , float32 > ( ) ; <nl> run < 4 , float32 > ( ) ; <nl> + / * <nl> run < 2 , float64 > ( ) ; <nl> run < 3 , float64 > ( ) ; <nl> run < 4 , float64 > ( ) ; <nl> + * / <nl> } ; <nl> TC_REGISTER_TASK ( benchmark_matmul ) ; <nl> <nl> mmm a / src / tlang . cpp <nl> ppp b / src / tlang . cpp <nl> TC_NAMESPACE_BEGIN <nl> / / if branching is not supported <nl> <nl> using namespace Tlang ; <nl> - template < typename T > <nl> - Expr compile ( int dim ) { <nl> - Expr a [ dim ] [ dim ] , b [ dim ] [ dim ] , c [ dim ] [ dim ] ; <nl> - <nl> - int simd_width = 32 / sizeof ( float32 ) ; <nl> - <nl> - for ( int i = 0 ; i < dim ; i + + ) { <nl> - for ( int j = 0 ; j < dim ; j + + ) { <nl> - a [ i ] [ j ] = load ( 0 , 1 , simd_width * ( i * dim + j ) ) ; <nl> - b [ i ] [ j ] = load ( 1 , 1 , simd_width * ( i * dim + j ) ) ; <nl> - } <nl> - } <nl> - <nl> - Expr ret ; <nl> - for ( int i = 0 ; i < dim ; i + + ) { <nl> - for ( int j = 0 ; j < dim ; j + + ) { <nl> - auto sum = a [ i ] [ 0 ] * b [ 0 ] [ j ] ; <nl> - for ( int k = 1 ; k < dim ; k + + ) { <nl> - sum = sum + a [ i ] [ k ] * a [ k ] [ j ] ; <nl> - } <nl> - ret . store ( sum , 2 , 1 , simd_width * ( i * dim + j ) ) ; <nl> - } <nl> - } <nl> - return ret ; <nl> - } <nl> - <nl> - auto tlang = [ ] ( ) { <nl> - auto expr = compile < float32 > ( 3 ) ; <nl> - CodeGen cg ; <nl> - auto func = cg . get ( expr ) ; <nl> - TC_P ( func ) ; <nl> - } ; <nl> - TC_REGISTER_TASK ( tlang ) ; <nl> <nl> auto test_tlang = [ ] ( ) { <nl> Expr a = load ( 0 , 1 , 0 ) ; <nl> mmm a / src / tlang . h <nl> ppp b / src / tlang . h <nl> class Expr { <nl> } <nl> } ; <nl> <nl> - Expr load ( int stream_id , int stride , int offset ) { <nl> + inline Expr load ( int stream_id , int stride , int offset ) { <nl> auto n = std : : make_shared < Node > ( NodeType : : load ) ; <nl> n - > stream_id = stream_id ; <nl> n - > stride = stride ; <nl> class CodeGen { <nl> } else if ( node - > type = = NodeType : : load ) { <nl> auto stream_name = fmt : : format ( " stream { : 02d } " , node - > stream_id ) ; <nl> code + = <nl> - fmt : : format ( " __m256 { } = _mm256_load_ps ( & { } [ { } * i + { } ] ) ; \ n " , <nl> + fmt : : format ( " auto { } = _mm256_load_ps ( & { } [ { } * i + { } ] ) ; \ n " , <nl> node - > var_name , stream_name , node - > stride , node - > offset ) ; <nl> } else if ( node - > type = = NodeType : : store ) { <nl> auto stream_name = fmt : : format ( " stream { : 02d } " , node - > stream_id ) ; <nl>
works for 2x2 float32
taichi-dev/taichi
c0b57b0d10f8dfdd282e3b11acffd5ca2ee4bae0
2018-11-19T01:51:18Z
mmm a / modules / planning / math / smoothing_spline / spline_1d_constraint_test . cc <nl> ppp b / modules / planning / math / smoothing_spline / spline_1d_constraint_test . cc <nl> TEST ( Spline1dConstraint , add_second_derivative_boundary ) { <nl> } <nl> } <nl> <nl> + TEST ( Spline1dConstraint , add_smooth_constraint ) { <nl> + std : : vector < double > x_knots = { 0 . 0 , 1 . 0 , 2 . 0 } ; <nl> + int32_t spline_order = 6 ; <nl> + Spline1dConstraint constraint ( x_knots , spline_order ) ; <nl> + <nl> + constraint . AddSmoothConstraint ( ) ; <nl> + const auto mat = constraint . equality_constraint ( ) . constraint_matrix ( ) ; <nl> + const auto boundary = constraint . equality_constraint ( ) . constraint_boundary ( ) ; <nl> + <nl> + / / clang - format off <nl> + Eigen : : MatrixXd ref_mat = Eigen : : MatrixXd : : Zero ( 1 , 12 ) ; <nl> + ref_mat < < 1 , 1 , 1 , 1 , 1 , 1 , - 1 , - 0 , - 0 , - 0 , - 0 , - 0 ; <nl> + / / clang - format on <nl> + <nl> + for ( int i = 0 ; i < mat . rows ( ) ; + + i ) { <nl> + for ( int j = 0 ; j < mat . cols ( ) ; + + j ) { <nl> + EXPECT_DOUBLE_EQ ( mat ( i , j ) , ref_mat ( i , j ) ) ; <nl> + } <nl> + } <nl> + <nl> + for ( int i = 0 ; i < boundary . rows ( ) ; + + i ) { <nl> + EXPECT_DOUBLE_EQ ( boundary ( i , 0 ) , 0 . 0 ) ; <nl> + } <nl> + } <nl> + <nl> } / / namespace planning <nl> } / / namespace apollo <nl> mmm a / modules / planning / tasks / qp_spline_st_speed / qp_spline_st_graph . cc <nl> ppp b / modules / planning / tasks / qp_spline_st_speed / qp_spline_st_graph . cc <nl> Status QpSplineStGraph : : ApplyConstraint ( <nl> } <nl> <nl> / / monotone constraint <nl> - if ( ! constraint - > AddMonotoneInequalityConstraintAtKnots ( ) ) { <nl> + if ( ! constraint - > AddMonotoneInequalityConstraint ( t_evaluated_ ) ) { <nl> const std : : string msg = " add monotone inequality constraint failed ! " ; <nl> AERROR < < msg ; <nl> return Status ( ErrorCode : : PLANNING_ERROR , msg ) ; <nl> mmm a / modules / planning / tasks / task . h <nl> ppp b / modules / planning / tasks / task . h <nl> <nl> # define MODULES_PLANNING_TASKS_TASK_H_ <nl> <nl> # include < string > <nl> + <nl> + # include " modules / planning / proto / planning_config . pb . h " <nl> + <nl> # include " modules / common / status / status . h " <nl> # include " modules / planning / common / frame . h " <nl> # include " modules / planning / common / reference_line_info . h " <nl> - # include " modules / planning / proto / planning_config . pb . h " <nl> <nl> namespace apollo { <nl> namespace planning { <nl> mmm a / modules / planning / testdata / garage_test / result_follow_0 . pb . txt <nl> ppp b / modules / planning / testdata / garage_test / result_follow_0 . pb . txt <nl> trajectory_point { <nl> path_point { <nl> x : 586344 . 823005 <nl> y : 4140700 . 15992 <nl> + z : 0 <nl> theta : 1 . 3255010179499997 <nl> kappa : - 0 . 026050217221752478 <nl> - s : 8 . 6736173798840355e - 19 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 5 . 5999999046325684 <nl> - a : - 0 . 11957856303100001 <nl> + a : - 0 . 11957856303099991 <nl> relative_time : 0 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 5 . 5928650724269406 <nl> - a : - 0 . 16543373462277827 <nl> + a : - 0 . 16543373462277791 <nl> relative_time : 0 . 05 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 5 . 5834943401569284 <nl> - a : - 0 . 20902036701628185 <nl> + a : - 0 . 20902036701628124 <nl> relative_time : 0 . 1 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 5 . 5720002645709616 <nl> - a : - 0 . 25037326867085385 <nl> + a : - 0 . 25037326867085308 <nl> relative_time : 0 . 15000000000000002 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 5 . 5584936619945031 <nl> - a : - 0 . 2895272480458374 <nl> + a : - 0 . 28952724804583652 <nl> relative_time : 0 . 2 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 5 . 5430836083300488 <nl> - a : - 0 . 32651711360057573 <nl> + a : - 0 . 32651711360057473 <nl> relative_time : 0 . 25 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 5 . 525877439057127 <nl> - a : - 0 . 36137767379441194 <nl> + a : - 0 . 36137767379441083 <nl> relative_time : 0 . 3 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 5069807492323 <nl> - a : - 0 . 39414373708668926 <nl> + v : 5 . 5069807492323006 <nl> + a : - 0 . 3941437370866881 <nl> relative_time : 0 . 35 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 5 . 4864973934891621 <nl> - a : - 0 . 42485011193675076 <nl> + a : - 0 . 4248501119367496 <nl> relative_time : 0 . 39999999999999997 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 4645294860383391 <nl> - a : - 0 . 45353160680393967 <nl> + v : 5 . 46452948603834 <nl> + a : - 0 . 4535316068039385 <nl> relative_time : 0 . 44999999999999996 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 5 . 4411774006674936 <nl> - a : - 0 . 48022303014759909 <nl> + a : - 0 . 48022303014759793 <nl> relative_time : 0 . 49999999999999994 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 5 . 4165397707413163 <nl> - a : - 0 . 50495919042707216 <nl> + a : - 0 . 50495919042707116 <nl> relative_time : 0 . 54999999999999993 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 3907134892015334 <nl> - a : - 0 . 52777489610170214 <nl> + v : 5 . 3907134892015343 <nl> + a : - 0 . 52777489610170114 <nl> relative_time : 0 . 6 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 3637937085669041 <nl> - a : - 0 . 5487049556308321 <nl> + v : 5 . 363793708566905 <nl> + a : - 0 . 54870495563083121 <nl> relative_time : 0 . 65 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586345 . 86089006206 <nl> - y : 4140703 . 8627820718 <nl> + y : 4140703 . 8627820723 <nl> theta : 1 . 2872302462835403 <nl> - kappa : 0 . 0012236123721098805 <nl> - s : 3 . 8457925373404205 <nl> + kappa : 0 . 0012236123721098822 <nl> + s : 3 . 8457925373404209 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 3358738409332194 <nl> - a : - 0 . 56778417747380527 <nl> + v : 5 . 33587384093322 <nl> + a : - 0 . 5677841774738045 <nl> relative_time : 0 . 70000000000000007 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 3070455579733036 <nl> - a : - 0 . 58504737008996477 <nl> + v : 5 . 3070455579733045 <nl> + a : - 0 . 585047370089964 <nl> relative_time : 0 . 75000000000000011 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586346 . 00933613128 <nl> y : 4140704 . 3722883156 <nl> theta : 1 . 2882219499779832 <nl> - kappa : 0 . 0030759229551926936 <nl> - s : 4 . 37648345270338 <nl> + kappa : 0 . 0030759229551926971 <nl> + s : 4 . 3764834527033809 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 2773987909370144 <nl> - a : - 0 . 6005293419386537 <nl> + v : 5 . 2773987909370152 <nl> + a : - 0 . 600529341938653 <nl> relative_time : 0 . 80000000000000016 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 24702173065124 <nl> - a : - 0 . 61426490147921509 <nl> + v : 5 . 247021730651241 <nl> + a : - 0 . 61426490147921475 <nl> relative_time : 0 . 8500000000000002 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586346 . 15485019237 <nl> - y : 4140704 . 8763979287 <nl> + y : 4140704 . 8763979292 <nl> theta : 1 . 2903487582566784 <nl> - kappa : 0 . 0043213636698793845 <nl> - s : 4 . 9011748960213133 <nl> + kappa : 0 . 0043213636698793863 <nl> + s : 4 . 9011748960213142 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 2160008275199052 <nl> - a : - 0 . 62628885717099247 <nl> + v : 5 . 2160008275199061 <nl> + a : - 0 . 626288857170992 <nl> relative_time : 0 . 90000000000000024 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586346 . 22686302778 <nl> y : 4140705 . 1262393855 <nl> - theta : 1 . 2914915457129246 <nl> - kappa : 0 . 0048931368257040626 <nl> - s : 5 . 1611875920349437 <nl> + theta : 1 . 2914915457129248 <nl> + kappa : 0 . 0048931368257040643 <nl> + s : 5 . 1611875920349446 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 1844207915239648 <nl> - a : - 0 . 63663601747332876 <nl> + v : 5 . 1844207915239657 <nl> + a : - 0 . 63663601747332843 <nl> relative_time : 0 . 95000000000000029 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 1523645922214074 <nl> - a : - 0 . 645341190845567 <nl> + v : 5 . 1523645922214083 <nl> + a : - 0 . 64534119084556685 <nl> relative_time : 1 . 0000000000000002 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586346 . 43759396812 <nl> y : 4140705 . 8672643444 <nl> theta : 1 . 2957274961111709 <nl> - kappa : 0 . 0059009401620353508 <nl> - s : 5 . 9315951295028029 <nl> + kappa : 0 . 0059009401620353516 <nl> + s : 5 . 9315951295028038 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 0871468798135595 <nl> - a : - 0 . 65796481063712253 <nl> + v : 5 . 08714687981356 <nl> + a : - 0 . 65796481063712275 <nl> relative_time : 1 . 1000000000000003 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586346 . 50668337417 <nl> y : 4140706 . 111202185 <nl> theta : 1 . 2972051785081447 <nl> - kappa : 0 . 0061650260867830726 <nl> - s : 6 . 1851281973165433 <nl> + kappa : 0 . 0061650260867830734 <nl> + s : 6 . 1851281973165442 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 5 . 05414260370941 <nl> - a : - 0 . 66195287397512614 <nl> + a : - 0 . 66195287397512637 <nl> relative_time : 1 . 1500000000000004 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586346 . 57423084683 <nl> y : 4140706 . 3538538665 <nl> theta : 1 . 2987720497662807 <nl> - kappa : 0 . 0062274642976124055 <nl> - s : 6 . 4370066960189076 <nl> + kappa : 0 . 0062274642976124046 <nl> + s : 6 . 4370066960189085 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 5 . 020976638300926 <nl> - a : - 0 . 66443818422040435 <nl> + a : - 0 . 66443818422040479 <nl> relative_time : 1 . 2000000000000004 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 4 . 9877232510312588 <nl> - a : - 0 . 66545554983230049 <nl> + v : 4 . 98772325103126 <nl> + a : - 0 . 665455549832301 <nl> relative_time : 1 . 2500000000000004 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 4 . 9544549689205963 <nl> - a : - 0 . 66503977927015756 <nl> + v : 4 . 9544549689205972 <nl> + a : - 0 . 66503977927015812 <nl> relative_time : 1 . 3000000000000005 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 586346 . 77317161753 <nl> + x : 586346 . 77317161742 <nl> y : 4140707 . 0724888858 <nl> theta : 1 . 3034581373124519 <nl> - kappa : 0 . 0062407100656421011 <nl> - s : 7 . 18267083447075 <nl> + kappa : 0 . 0062407100656420994 <nl> + s : 7 . 1826708344707519 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 4 . 9212425785661544 <nl> - a : - 0 . 663225680993319 <nl> + v : 4 . 9212425785661553 <nl> + a : - 0 . 66322568099331958 <nl> relative_time : 1 . 3500000000000005 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 586346 . 83739361644 <nl> - y : 4140707 . 3091645865 <nl> + x : 586346 . 83739361633 <nl> + y : 4140707 . 309164586 <nl> theta : 1 . 3049400050603877 <nl> - kappa : 0 . 006085840640435148 <nl> - s : 7 . 4279051149639441 <nl> + kappa : 0 . 0060858406404351462 <nl> + s : 7 . 427905114963945 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 4 . 8881551261421867 <nl> - a : - 0 . 66004806346112765 <nl> + v : 4 . 8881551261421876 <nl> + a : - 0 . 66004806346112832 <nl> relative_time : 1 . 4000000000000006 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586346 . 901183554 <nl> y : 4140707 . 5442480221 <nl> theta : 1 . 3064119070488109 <nl> - kappa : 0 . 0059320131180561272 <nl> - s : 7 . 6714895521132336 <nl> + kappa : 0 . 0059320131180561255 <nl> + s : 7 . 6714895521132354 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 8552599173999758 <nl> - a : - 0 . 65554173513292691 <nl> + a : - 0 . 65554173513292757 <nl> relative_time : 1 . 4500000000000006 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586346 . 96454437869 <nl> - y : 4140707 . 777750059 <nl> + y : 4140707 . 7777500595 <nl> theta : 1 . 3078739049216273 <nl> - kappa : 0 . 0057792203885360912 <nl> - s : 7 . 9134354044876813 <nl> + kappa : 0 . 0057792203885360929 <nl> + s : 7 . 9134354044876778 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 8226225176678392 <nl> - a : - 0 . 64974150446805989 <nl> + a : - 0 . 64974150446806012 <nl> relative_time : 1 . 5000000000000007 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586347 . 02679449378 <nl> y : 4140708 . 0098698512 <nl> theta : 1 . 3092133810356061 <nl> - kappa : 0 . 0055564520344632568 <nl> - s : 8 . 15375817583979 <nl> + kappa : 0 . 005556452034463262 <nl> + s : 8 . 153758175839787 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> trajectory_point { <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 586347 . 08814430819 <nl> + x : 586347 . 08814430807 <nl> y : 4140708 . 2405760298 <nl> - theta : 1 . 3104640325029073 <nl> - kappa : 0 . 0052848220178281311 <nl> - s : 8 . 3924821596119514 <nl> + theta : 1 . 3104640325029075 <nl> + kappa : 0 . 0052848220178281363 <nl> + s : 8 . 3924821596119479 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 7586965294346166 <nl> - a : - 0 . 6267370630177288 <nl> + a : - 0 . 62673706301772869 <nl> relative_time : 1 . 6000000000000008 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586347 . 14909160952 <nl> - y : 4140708 . 4697685572 <nl> + y : 4140708 . 4697685568 <nl> theta : 1 . 3117064796087043 <nl> - kappa : 0 . 0050149741510471463 <nl> - s : 8 . 6296398882326031 <nl> + kappa : 0 . 0050149741510471506 <nl> + s : 8 . 6296398882326 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 72774475853336 <nl> - a : - 0 . 61088391543699161 <nl> + a : - 0 . 61088391543699128 <nl> relative_time : 1 . 6500000000000008 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 586347 . 2096465705 <nl> - y : 4140708 . 6974856872 <nl> + x : 586347 . 20964657061 <nl> + y : 4140708 . 6974856867 <nl> theta : 1 . 3129409259015414 <nl> - kappa : 0 . 0047468633955146259 <nl> - s : 8 . 8652709442026172 <nl> + kappa : 0 . 0047468633955146311 <nl> + s : 8 . 8652709442026136 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 6976511089271709 <nl> - a : - 0 . 59245250568106134 <nl> + a : - 0 . 59245250568106089 <nl> relative_time : 1 . 7000000000000008 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586347 . 269037604 <nl> - y : 4140708 . 9239784786 <nl> + y : 4140708 . 9239784791 <nl> theta : 1 . 3139409551092125 <nl> - kappa : 0 . 0044199771528547179 <nl> - s : 9 . 099421355678297 <nl> + kappa : 0 . 0044199771528547231 <nl> + s : 9 . 0994213556782935 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 6685384495549 <nl> - a : - 0 . 57168460054632886 <nl> + a : - 0 . 57168460054632819 <nl> relative_time : 1 . 7500000000000009 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586347 . 32790537085 <nl> y : 4140709 . 14913164 <nl> theta : 1 . 314888342423453 <nl> - kappa : 0 . 0040826707544309873 <nl> - s : 9 . 3321429920544 <nl> + kappa : 0 . 0040826707544309934 <nl> + s : 9 . 332142992054397 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 640517561015578 <nl> - a : - 0 . 54882196682918516 <nl> + a : - 0 . 54882196682918438 <nl> relative_time : 1 . 8000000000000009 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 586347 . 38642616908 <nl> - y : 4140709 . 3729577418 <nl> - theta : 1 . 31583014594793 <nl> - kappa : 0 . 0037473524508749422 <nl> - s : 9 . 563492959547137 <nl> + x : 586347 . 38642616919 <nl> + y : 4140709 . 3729577414 <nl> + theta : 1 . 3158301459479298 <nl> + kappa : 0 . 0037473524508749474 <nl> + s : 9 . 5634929595471334 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 6136871355684157 <nl> - a : - 0 . 52410637132602123 <nl> + a : - 0 . 52410637132602034 <nl> relative_time : 1 . 850000000000001 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586347 . 44461561588 <nl> y : 4140709 . 5955165136 <nl> theta : 1 . 3167666153554571 <nl> - kappa : 0 . 003413932758320332 <nl> - s : 9 . 7935329967771789 <nl> + kappa : 0 . 0034139327583203372 <nl> + s : 9 . 7935329967771754 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 5881337771328035 <nl> - a : - 0 . 49777958083322793 <nl> + a : - 0 . 49777958083322715 <nl> relative_time : 1 . 900000000000001 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586347 . 50183070591 <nl> - y : 4140709 . 8170429859 <nl> + y : 4140709 . 8170429855 <nl> theta : 1 . 3173918562905178 <nl> - kappa : 0 . 0030553471668824761 <nl> - s : 10 . 02232887035268 <nl> + kappa : 0 . 0030553471668824817 <nl> + s : 10 . 022328870352677 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 5639320012883129 <nl> - a : - 0 . 47008336214719648 <nl> + a : - 0 . 47008336214719554 <nl> relative_time : 1 . 9500000000000011 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586347 . 5587413609 <nl> y : 4140710 . 0374345724 <nl> - theta : 1 . 318008962843265 <nl> - kappa : 0 . 0026981693410387444 <nl> - s : 10 . 249949770452268 <nl> + theta : 1 . 3180089628432647 <nl> + kappa : 0 . 00269816934103875 <nl> + s : 10 . 249949770452265 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 5411442352746976 <nl> - a : - 0 . 44125948206431775 <nl> + a : - 0 . 44125948206431675 <nl> relative_time : 2 . 0000000000000009 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586347 . 61537624849 <nl> - y : 4140710 . 2567582256 <nl> + y : 4140710 . 2567582252 <nl> theta : 1 . 318623079119404 <nl> - kappa : 0 . 0023427222628314894 <nl> - s : 10 . 476467706408073 <nl> + kappa : 0 . 0023427222628314955 <nl> + s : 10 . 476467706408069 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 4 . 5198208179918886 <nl> - a : - 0 . 41154970738098262 <nl> + v : 4 . 5198208179918895 <nl> + a : - 0 . 41154970738098162 <nl> relative_time : 2 . 0500000000000007 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 586347 . 671731146 <nl> + x : 586347 . 67173114594 <nl> y : 4140710 . 475091672 <nl> theta : 1 . 3192163536283128 <nl> - kappa : 0 . 0019897769092929634 <nl> - s : 10 . 701956902288716 <nl> + kappa : 0 . 001989776909292969 <nl> + s : 10 . 701956902288712 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 5000000000000009 <nl> - a : - 0 . 38119580489358212 <nl> + a : - 0 . 38119580489358107 <nl> relative_time : 2 . 1000000000000005 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586347 . 72747859615 <nl> - y : 4140710 . 6925974595 <nl> + y : 4140710 . 6925974591 <nl> theta : 1 . 3195144770295526 <nl> - kappa : 0 . 0016527094252308061 <nl> - s : 10 . 926493192482337 <nl> + kappa : 0 . 0016527094252308111 <nl> + s : 10 . 926493192482333 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 4817079435193259 <nl> - a : - 0 . 35043954139850714 <nl> + a : - 0 . 35043954139850619 <nl> relative_time : 2 . 1500000000000004 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 586347 . 78300853842 <nl> + x : 586347 . 78300853854 <nl> y : 4140710 . 9092546115 <nl> theta : 1 . 3198114373020611 <nl> - kappa : 0 . 0013169570655914039 <nl> - s : 11 . 150153417279586 <nl> + kappa : 0 . 0013169570655914094 <nl> + s : 11 . 150153417279583 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 4 . 464958722430338 <nl> - a : - 0 . 31952268369214876 <nl> + v : 4 . 4649587224303389 <nl> + a : - 0 . 3195226836921477 <nl> relative_time : 2 . 2 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586347 . 83834015043 <nl> - y : 4140711 . 1251379526 <nl> + y : 4140711 . 1251379522 <nl> theta : 1 . 3201073369493719 <nl> - kappa : 0 . 00098240387722018773 <nl> - s : 11 . 373014818456651 <nl> + kappa : 0 . 00098240387722019315 <nl> + s : 11 . 373014818456648 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 4497543222736926 <nl> - a : - 0 . 28868699857089786 <nl> + a : - 0 . 2886869985708968 <nl> relative_time : 2 . 25 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586347 . 893483948 <nl> y : 4140711 . 3403243124 <nl> theta : 1 . 3203841751114811 <nl> - kappa : 0 . 00065264856995952026 <nl> - s : 11 . 595154434858252 <nl> + kappa : 0 . 0006526485699595247 <nl> + s : 11 . 595154434858248 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 4360846402502236 <nl> - a : - 0 . 25817425283114537 <nl> + a : - 0 . 25817425283114437 <nl> relative_time : 2 . 3 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586347 . 94834566757 <nl> - y : 4140711 . 5549165113 <nl> - theta : 1 . 3204040900080358 <nl> - kappa : 0 . 00037640150121110208 <nl> - s : 11 . 816648497980653 <nl> + y : 4140711 . 5549165108 <nl> + theta : 1 . 3204040900080356 <nl> + kappa : 0 . 00037640150121110658 <nl> + s : 11 . 816648497980649 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 4 . 423927485220946 <nl> - a : - 0 . 22822621326928233 <nl> + v : 4 . 4239274852209469 <nl> + a : - 0 . 22822621326928133 <nl> relative_time : 2 . 3499999999999996 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586348 . 00306602265 <nl> y : 4140711 . 7689557606 <nl> theta : 1 . 3204239535890105 <nl> - kappa : 0 . 00010086625050219507 <nl> - s : 12 . 037571827554679 <nl> + kappa : 0 . 00010086625050219949 <nl> + s : 12 . 037571827554675 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 4132485777070576 <nl> - a : - 0 . 19908464668169951 <nl> + a : - 0 . 19908464668169867 <nl> relative_time : 2 . 3999999999999995 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 586348 . 05766304582 <nl> - y : 4140711 . 9825125961 <nl> + x : 586348 . 05766304571 <nl> + y : 4140711 . 9825125956 <nl> theta : 1 . 3204437724002769 <nl> - kappa : - 0 . 0001740479826453365 <nl> - s : 12 . 257997227128714 <nl> + kappa : - 0 . 00017404798264533208 <nl> + s : 12 . 25799722712871 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 4 . 4040015498899319 <nl> - a : - 0 . 17099131986478827 <nl> + v : 4 . 4040015498899328 <nl> + a : - 0 . 17099131986478733 <nl> relative_time : 2 . 4499999999999993 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586348 . 112156185 <nl> - y : 4140712 . 1956544849 <nl> + y : 4140712 . 1956544844 <nl> theta : 1 . 3204579804344183 <nl> - kappa : - 0 . 00044581915081833115 <nl> - s : 12 . 477994879651719 <nl> + kappa : - 0 . 00044581915081832833 <nl> + s : 12 . 477994879651716 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 4 . 3961279456111271 <nl> - a : - 0 . 14418799961493922 <nl> + v : 4 . 396127945611128 <nl> + a : - 0 . 14418799961493822 <nl> relative_time : 2 . 4999999999999991 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586348 . 16663374752 <nl> y : 4140712 . 4084279486 <nl> - theta : 1 . 3202730017769824 <nl> - kappa : - 0 . 0006238741561035053 <nl> - s : 12 . 697631743056238 <nl> + theta : 1 . 3202730017769826 <nl> + kappa : - 0 . 00062387415610350248 <nl> + s : 12 . 697631743056235 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 4 . 3895572203723807 <nl> - a : - 0 . 11891645272854345 <nl> + v : 4 . 3895572203723816 <nl> + a : - 0 . 11891645272854245 <nl> relative_time : 2 . 5499999999999989 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586348 . 22103747982 <nl> - y : 4140712 . 6209130529 <nl> + y : 4140712 . 6209130534 <nl> theta : 1 . 3200882737973225 <nl> - kappa : - 0 . 0008016878541585021 <nl> - s : 12 . 916970945841399 <nl> + kappa : - 0 . 00080168785415850059 <nl> + s : 12 . 916970945841397 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 4 . 3842067413356087 <nl> - a : - 0 . 0954184460019919 <nl> + v : 4 . 38420674133561 <nl> + a : - 0 . 095418446001991009 <nl> relative_time : 2 . 5999999999999988 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586348 . 2753819403 <nl> - y : 4140712 . 83316666 <nl> + y : 4140712 . 8331666593 <nl> theta : 1 . 3199037470753054 <nl> - kappa : - 0 . 00097930782750580651 <nl> - s : 13 . 136071182655941 <nl> + kappa : - 0 . 00097930782750580521 <nl> + s : 13 . 13607118265594 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 4 . 3799817873229108 <nl> - a : - 0 . 073935746231675648 <nl> + v : 4 . 3799817873229117 <nl> + a : - 0 . 073935746231674648 <nl> relative_time : 2 . 6499999999999986 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586348 . 32968043757 <nl> - y : 4140713 . 0452407468 <nl> + y : 4140713 . 0452407473 <nl> theta : 1 . 3197193764339552 <nl> - kappa : - 0 . 0011567775742500415 <nl> - s : 13 . 354986109881207 <nl> + kappa : - 0 . 0011567775742500387 <nl> + s : 13 . 354986109881203 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 4 . 3767755488165641 <nl> - a : - 0 . 054710120213985469 <nl> + v : 4 . 3767755488165658 <nl> + a : - 0 . 05471012021398447 <nl> relative_time : 2 . 6999999999999984 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586348 . 38414941891 <nl> - y : 4140713 . 25712935 <nl> + y : 4140713 . 2571293507 <nl> theta : 1 . 3194384895547535 <nl> - kappa : - 0 . 0012043952044015131 <nl> - s : 13 . 573763741214155 <nl> + kappa : - 0 . 0012043952044015127 <nl> + s : 13 . 573763741214151 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 4 . 3744691279590286 <nl> - a : - 0 . 037983334745312347 <nl> + v : 4 . 3744691279590295 <nl> + a : - 0 . 037983334745311459 <nl> relative_time : 2 . 7499999999999982 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586348 . 43860275717 <nl> - y : 4140713 . 4689233443 <nl> - theta : 1 . 3191538792521678 <nl> - kappa : - 0 . 0012468282561455815 <nl> - s : 13 . 792445843250377 <nl> + y : 4140713 . 4689233438 <nl> + theta : 1 . 319153879252168 <nl> + kappa : - 0 . 0012468282561455808 <nl> + s : 13 . 792445843250373 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 4 . 372931538552943 <nl> - a : - 0 . 023997156622047489 <nl> + v : 4 . 3729315385529439 <nl> + a : - 0 . 023997156622046378 <nl> relative_time : 2 . 799999999999998 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586348 . 49304100208 <nl> y : 4140713 . 6806586329 <nl> theta : 1 . 3188693478342675 <nl> - kappa : - 0 . 0012892495463129657 <nl> - s : 14 . 011067331067096 <nl> + kappa : - 0 . 001289249546312965 <nl> + s : 14 . 011067331067093 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 4 . 3720197060611277 <nl> - a : - 0 . 012993352640581546 <nl> + v : 4 . 3720197060611286 <nl> + a : - 0 . 012993352640580436 <nl> relative_time : 2 . 8499999999999979 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586348 . 54747099127 <nl> y : 4140713 . 8923618104 <nl> theta : 1 . 3185848596096013 <nl> - kappa : - 0 . 0013316644030726245 <nl> - s : 14 . 229655663806186 <nl> + kappa : - 0 . 0013316644030726239 <nl> + s : 14 . 229655663806184 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 4 . 3715784676065814 <nl> - a : - 0 . 0052136895973057262 <nl> + v : 4 . 3715784676065832 <nl> + a : - 0 . 005213689597304505 <nl> relative_time : 2 . 8999999999999977 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586348 . 6021098661 <nl> - y : 4140714 . 1039969507 <nl> + y : 4140714 . 1039969511 <nl> theta : 1 . 3183312285903503 <nl> - kappa : - 0 . 0012330102488895102 <nl> - s : 14 . 448230240257171 <nl> + kappa : - 0 . 0012330102488895111 <nl> + s : 14 . 448230240257169 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 4 . 3714405719724869 <nl> - a : - 0 . 000899934288610682 <nl> + v : 4 . 3714405719724878 <nl> + a : - 0 . 00089993428860957181 <nl> relative_time : 2 . 9499999999999975 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 586348 . 65677531192 <nl> - y : 4140714 . 315622123 <nl> + x : 586348 . 6567753118 <nl> + y : 4140714 . 3156221225 <nl> theta : 1 . 3180815703301194 <nl> - kappa : - 0 . 0011162009766595643 <nl> - s : 14 . 666801794440241 <nl> + kappa : - 0 . 0011162009766595665 <nl> + s : 14 . 666801794440238 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 4 . 3714266796022043 <nl> - a : - 0 . 00029385351088762057 <nl> + v : 4 . 3714266796022052 <nl> + a : - 0 . 00029385351088673239 <nl> relative_time : 2 . 9999999999999973 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 586348 . 711441367 <nl> - y : 4140714 . 5272496538 <nl> + x : 586348 . 71144136693 <nl> + y : 4140714 . 5272496534 <nl> theta : 1 . 3178319092822983 <nl> - kappa : - 0 . 00099939040240174838 <nl> - s : 14 . 885375784956059 <nl> + kappa : - 0 . 00099939040240175055 <nl> + s : 14 . 885375784956056 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 3715920645413542 <nl> - a : 0 . 0068013877272441008 <nl> + a : 0 . 006801387727244197 <nl> relative_time : 3 . 0499999999999972 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586348 . 76611164177 <nl> y : 4140714 . 7388935192 <nl> theta : 1 . 3175822289900487 <nl> - kappa : - 0 . 000882570811782396 <nl> - s : 15 . 103966646736602 <nl> + kappa : - 0 . 00088257081178239787 <nl> + s : 15 . 103966646736598 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 3720962420076264 <nl> - a : 0 . 013262046927182429 <nl> + a : 0 . 013262046927182568 <nl> relative_time : 3 . 099999999999997 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 586348 . 820923792 <nl> + x : 586348 . 82092379208 <nl> y : 4140714 . 9505347935 <nl> theta : 1 . 3174288908623579 <nl> - kappa : - 0 . 00076256836170882059 <nl> - s : 15 . 322590536679064 <nl> + kappa : - 0 . 00076256836170882243 <nl> + s : 15 . 32259053667906 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 3729081128020812 <nl> - a : 0 . 019113320207671279 <nl> + a : 0 . 019113320207671453 <nl> relative_time : 3 . 1499999999999968 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 586348 . 87577940931 <nl> - y : 4140715 . 1622140529 <nl> + x : 586348 . 87577940943 <nl> + y : 4140715 . 1622140524 <nl> theta : 1 . 3172982536581661 <nl> - kappa : - 0 . 00064179313180338937 <nl> - s : 15 . 541262088215836 <nl> + kappa : - 0 . 00064179313180339121 <nl> + s : 15 . 541262088215833 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 3739978375317152 <nl> - a : 0 . 024380403687454602 <nl> + a : 0 . 024380403687454803 <nl> relative_time : 3 . 1999999999999966 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586348 . 93065028754 <nl> y : 4140715 . 3739522006 <nl> theta : 1 . 3171675801096103 <nl> - kappa : - 0 . 00052098430215909565 <nl> - s : 15 . 759994474304809 <nl> + kappa : - 0 . 00052098430215909662 <nl> + s : 15 . 759994474304808 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 3753368366094607 <nl> - a : 0 . 029088493485276361 <nl> + a : 0 . 029088493485276583 <nl> relative_time : 3 . 2499999999999964 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586348 . 98553938046 <nl> - y : 4140715 . 5857606372 <nl> + y : 4140715 . 5857606367 <nl> theta : 1 . 3170368631863345 <nl> - kappa : - 0 . 00040013536902393395 <nl> - s : 15 . 978799470419672 <nl> + kappa : - 0 . 00040013536902393584 <nl> + s : 15 . 978799470419668 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 3768977902541888 <nl> - a : 0 . 0332627857198805 <nl> + a : 0 . 033262785719880741 <nl> relative_time : 3 . 2999999999999963 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586349 . 04050171422 <nl> - y : 4140715 . 7976358784 <nl> - theta : 1 . 3169707123700285 <nl> - kappa : - 0 . 00031029890363300959 <nl> - s : 16 . 1976875175402 <nl> + y : 4140715 . 7976358789 <nl> + theta : 1 . 3169707123700283 <nl> + kappa : - 0 . 0003102989036330109 <nl> + s : 16 . 197687517540196 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 3786546384907075 <nl> - a : 0 . 036928476510010994 <nl> + a : 0 . 036928476510011243 <nl> relative_time : 3 . 3499999999999961 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586349 . 0955060639 <nl> - y : 4140716 . 0095954956 <nl> + y : 4140716 . 0095954952 <nl> theta : 1 . 316927787008366 <nl> - kappa : - 0 . 0002316015849445198 <nl> - s : 16 . 416667785142558 <nl> + kappa : - 0 . 00023160158494452108 <nl> + s : 16 . 416667785142554 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 3805825811497616 <nl> - a : 0 . 040110761974411775 <nl> + a : 0 . 040110761974412032 <nl> relative_time : 3 . 3999999999999959 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586349 . 15053557756 <nl> - y : 4140716 . 2216520817 <nl> + y : 4140716 . 2216520812 <nl> theta : 1 . 3168848420087009 <nl> - kappa : - 0 . 00015286826296146154 <nl> - s : 16 . 635748234189602 <nl> + kappa : - 0 . 00015286826296146281 <nl> + s : 16 . 6357482341896 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 3826580778680322 <nl> - a : 0 . 042834838231826815 <nl> + a : 0 . 042834838231827065 <nl> relative_time : 3 . 4499999999999957 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 586349 . 2055919671 <nl> + x : 586349 . 20559196721 <nl> y : 4140716 . 4338122346 <nl> theta : 1 . 3168418760352025 <nl> - kappa : - 7 . 4096488345150779e - 05 <nl> - s : 16 . 854935680121166 <nl> + kappa : - 7 . 4096488345152026e - 05 <nl> + s : 16 . 854935680121162 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 4 . 38485884808814 <nl> - a : 0 . 045125901401000056 <nl> + v : 4 . 3848588480881405 <nl> + a : 0 . 045125901401000312 <nl> relative_time : 3 . 4999999999999956 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586349 . 26068464271 <nl> - y : 4140716 . 6460794345 <nl> + y : 4140716 . 6460794341 <nl> theta : 1 . 3168353988792882 <nl> - kappa : - 1 . 84461005695882e - 05 <nl> - s : 17 . 074235855844361 <nl> + kappa : - 1 . 8446100569588914e - 05 <nl> + s : 17 . 074235855844357 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 3871638710586405 <nl> - a : 0 . 047009147600675462 <nl> + a : 0 . 047009147600675705 <nl> relative_time : 3 . 5499999999999954 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 586349 . 31581077923 <nl> - y : 4140716 . 8584592836 <nl> + x : 586349 . 31581077934 <nl> + y : 4140716 . 8584592841 <nl> theta : 1 . 316847045075775 <nl> - kappa : 2 . 5734744861573728e - 05 <nl> - s : 17 . 293653474723882 <nl> + kappa : 2 . 5734744861573006e - 05 <nl> + s : 17 . 293653474723879 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 3895533858340281 <nl> - a : 0 . 048509772949596991 <nl> + a : 0 . 04850977294959722 <nl> relative_time : 3 . 5999999999999952 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586349 . 370967366 <nl> y : 4140717 . 0709564462 <nl> theta : 1 . 3168586977052861 <nl> - kappa : 6 . 9939994518426524e - 05 <nl> - s : 17 . 513192293572292 <nl> + kappa : 6 . 99399945184258e - 05 <nl> + s : 17 . 513192293572288 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 3920088912747337 <nl> - a : 0 . 049652973566508593 <nl> + a : 0 . 049652973566508808 <nl> relative_time : 3 . 649999999999995 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586349 . 42615512211 <nl> - y : 4140717 . 2835736922 <nl> + y : 4140717 . 2835736927 <nl> theta : 1 . 3168703569197933 <nl> - kappa : 0 . 00011417022493096266 <nl> - s : 17 . 732855175640324 <nl> + kappa : 0 . 00011417022493096194 <nl> + s : 17 . 732855175640321 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 3945131460471245 <nl> - a : 0 . 050463945570154219 <nl> + a : 0 . 050463945570154413 <nl> relative_time : 3 . 6999999999999948 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586349 . 48136020615 <nl> y : 4140717 . 4963167142 <nl> theta : 1 . 3168981023855304 <nl> - kappa : 0 . 00014168813351738059 <nl> - s : 17 . 952644153607178 <nl> + kappa : 0 . 00014168813351738031 <nl> + s : 17 . 952644153607174 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 3970501686235073 <nl> - a : 0 . 050967885079277832 <nl> + a : 0 . 050967885079278012 <nl> relative_time : 3 . 7499999999999947 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586349 . 53658809746 <nl> y : 4140717 . 7091853973 <nl> theta : 1 . 3169361516563347 <nl> - kappa : 0 . 00015851317290162747 <nl> - s : 18 . 172560492570817 <nl> + kappa : 0 . 0001585131729016272 <nl> + s : 18 . 172560492570813 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 399605237282123 <nl> - a : 0 . 051189988212623369 <nl> + a : 0 . 051189988212623556 <nl> relative_time : 3 . 7999999999999945 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 586349 . 59184811357 <nl> - y : 4140717 . 922177902 <nl> + x : 586349 . 59184811369 <nl> + y : 4140717 . 9221779024 <nl> theta : 1 . 3169742230597827 <nl> - kappa : 0 . 00017534799911822117 <nl> - s : 18 . 39260475303827 <nl> + kappa : 0 . 0001753479991182209 <nl> + s : 18 . 392604753038267 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 4021648901071524 <nl> - a : 0 . 051155451088934815 <nl> + a : 0 . 051155451088934982 <nl> relative_time : 3 . 8499999999999943 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586349 . 64714023471 <nl> y : 4140718 . 1352941506 <nl> theta : 1 . 3170123165817338 <nl> - kappa : 0 . 00019219260596296868 <nl> - s : 18 . 612776853915914 <nl> + kappa : 0 . 00019219260596296843 <nl> + s : 18 . 612776853915911 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 4 . 404716924988711 <nl> - a : 0 . 050889469826956114 <nl> + v : 4 . 4047169249887119 <nl> + a : 0 . 050889469826956267 <nl> relative_time : 3 . 8999999999999941 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586349 . 70244385174 <nl> y : 4140718 . 3485388057 <nl> theta : 1 . 3170534132769607 <nl> - kappa : 0 . 000197056281531205 <nl> - s : 18 . 833076135499791 <nl> + kappa : 0 . 00019705628153120506 <nl> + s : 18 . 833076135499788 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 4072503996228551 <nl> - a : 0 . 050417240545431216 <nl> + a : 0 . 050417240545431341 <nl> relative_time : 3 . 949999999999994 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586349 . 75776310149 <nl> y : 4140718 . 5619095815 <nl> theta : 1 . 3170968666862646 <nl> - kappa : 0 . 00019253826473070743 <nl> - s : 19 . 053501422465882 <nl> + kappa : 0 . 00019253826473070754 <nl> + s : 19 . 053501422465878 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 4 . 4097556315115742 <nl> - a : 0 . 049763959363104085 <nl> + v : 4 . 4097556315115751 <nl> + a : 0 . 049763959363104189 <nl> relative_time : 3 . 9999999999999938 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586349 . 81311356556 <nl> y : 4140718 . 7754007531 <nl> - theta : 1 . 3171403446147154 <nl> - kappa : 0 . 00018801769858880216 <nl> - s : 19 . 274051086860428 <nl> + theta : 1 . 3171403446147152 <nl> + kappa : 0 . 00018801769858880222 <nl> + s : 19 . 274051086860425 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 4122241979627983 <nl> - a : 0 . 04895482239871865 <nl> + a : 0 . 048954822398718761 <nl> relative_time : 4 . 0499999999999936 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586349 . 86849473789 <nl> y : 4140718 . 9890103694 <nl> theta : 1 . 3171838466644112 <nl> - kappa : 0 . 00018349462445972853 <nl> - s : 19 . 494723111090209 <nl> + kappa : 0 . 00018349462445972858 <nl> + s : 19 . 494723111090206 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 4146489360903916 <nl> - a : 0 . 0480150257710189 <nl> + a : 0 . 048015025771018988 <nl> relative_time : 4 . 0999999999999934 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 4 . 4170239428141569 <nl> - a : 0 . 046969765598748763 <nl> + a : 0 . 046969765598748839 <nl> relative_time : 4 . 1499999999999932 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586349 . 97929583176 <nl> y : 4140719 . 4165888075 <nl> theta : 1 . 3172533860329214 <nl> - kappa : 0 . 00015074935429481581 <nl> - s : 19 . 936424598427095 <nl> + kappa : 0 . 00015074935429481613 <nl> + s : 19 . 936424598427092 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 4193445748598359 <nl> - a : 0 . 045844238000652217 <nl> + a : 0 . 045844238000652314 <nl> relative_time : 4 . 1999999999999931 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586350 . 03473183955 <nl> - y : 4140719 . 6305478644 <nl> + y : 4140719 . 6305478648 <nl> theta : 1 . 3172854257538957 <nl> - kappa : 0 . 00013063855544818623 <nl> - s : 20 . 157448645063159 <nl> + kappa : 0 . 00013063855544818656 <nl> + s : 20 . 157448645063155 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 4216074487591044 <nl> - a : 0 . 044663639095473218 <nl> + a : 0 . 04466363909547328 <nl> relative_time : 4 . 2499999999999929 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 4 . 4238104408495769 <nl> - a : 0 . 043453165001955681 <nl> + v : 4 . 4238104408495778 <nl> + a : 0 . 043453165001955785 <nl> relative_time : 4 . 2999999999999927 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586350 . 145677976 <nl> y : 4140720 . 0587896733 <nl> theta : 1 . 3173382118767702 <nl> - kappa : 8 . 4992610622041011e - 05 <nl> - s : 20 . 599828676020472 <nl> + kappa : 8 . 4992610622042014e - 05 <nl> + s : 20 . 599828676020465 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 4259526872748065 <nl> - a : 0 . 042238011838843625 <nl> + a : 0 . 042238011838843716 <nl> relative_time : 4 . 3499999999999925 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 4 . 4280345839842807 <nl> - a : 0 . 041043375724880947 <nl> + a : 0 . 041043375724881072 <nl> relative_time : 4 . 3999999999999924 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586350 . 25670197152 <nl> - y : 4140720 . 4874477051 <nl> + y : 4140720 . 4874477047 <nl> theta : 1 . 317356171147017 <nl> - kappa : 2 . 2714968345988433e - 05 <nl> - s : 21 . 042631155486333 <nl> + kappa : 2 . 2714968345988931e - 05 <nl> + s : 21 . 04263115548633 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 4 . 4300577867334257 <nl> - a : 0 . 039894452778811616 <nl> + v : 4 . 4300577867334265 <nl> + a : 0 . 039894452778811769 <nl> relative_time : 4 . 4499999999999922 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586350 . 31225184456 <nl> - y : 4140720 . 701922955 <nl> + y : 4140720 . 7019229555 <nl> theta : 1 . 3173651569088565 <nl> - kappa : - 8 . 445098503136701e - 06 <nl> - s : 21 . 264183455105425 <nl> + kappa : - 8 . 4450985031357e - 06 <nl> + s : 21 . 264183455105417 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 432025211083606 <nl> - a : 0 . 038816439119379612 <nl> + a : 0 . 038816439119379785 <nl> relative_time : 4 . 499999999999992 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586350 . 36782853527 <nl> - y : 4140720 . 9164913204 <nl> + y : 4140720 . 9164913208 <nl> theta : 1 . 3173596387194408 <nl> - kappa : - 4 . 2751311760958654e - 05 <nl> - s : 21 . 485832619372822 <nl> + kappa : - 4 . 2751311760958051e - 05 <nl> + s : 21 . 485832619372818 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 4339290299131209 <nl> - a : 0 . 037336891032035767 <nl> + a : 0 . 037336891032035746 <nl> relative_time : 4 . 5499999999999918 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586350 . 423431507 <nl> - y : 4140721 . 1311493018 <nl> + y : 4140721 . 1311493022 <nl> theta : 1 . 3173376320935541 <nl> - kappa : - 8 . 0631632810361127e - 05 <nl> - s : 21 . 707575126687988 <nl> + kappa : - 8 . 0631632810360517e - 05 <nl> + s : 21 . 707575126687985 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 4357589658015018 <nl> - a : 0 . 035861279826225646 <nl> + a : 0 . 035861279826225632 <nl> relative_time : 4 . 5999999999999917 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586350 . 47905696 <nl> - y : 4140721 . 3458940741 <nl> + y : 4140721 . 3458940736 <nl> theta : 1 . 3173156165700075 <nl> - kappa : - 0 . 00011852726950939015 <nl> - s : 21 . 92940728822084 <nl> + kappa : - 0 . 00011852726950938955 <nl> + s : 21 . 929407288220837 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 4375152393456574 <nl> - a : 0 . 034390555615258216 <nl> + a : 0 . 034390555615258195 <nl> relative_time : 4 . 6499999999999915 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 586350 . 534703972 <nl> - y : 4140721 . 5607220763 <nl> + x : 586350 . 53470397217 <nl> + y : 4140721 . 5607220759 <nl> theta : 1 . 3172935925137044 <nl> - kappa : - 0 . 00015643759378151432 <nl> - s : 22 . 1513254273588 <nl> + kappa : - 0 . 00015643759378151372 <nl> + s : 22 . 151325427358795 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 4391981186481635 <nl> - a : 0 . 032925668512442247 <nl> + a : 0 . 032925668512442226 <nl> relative_time : 4 . 6999999999999913 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586350 . 59038701316 <nl> - y : 4140721 . 775625776 <nl> + y : 4140721 . 7756257765 <nl> theta : 1 . 3172553643203184 <nl> - kappa : - 0 . 00019633236397406193 <nl> - s : 22 . 373325882082042 <nl> + kappa : - 0 . 00019633236397406125 <nl> + s : 22 . 373325882082039 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 4408079193172592 <nl> - a : 0 . 031467568631086552 <nl> + a : 0 . 031467568631086525 <nl> relative_time : 4 . 7499999999999911 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586350 . 64610842953 <nl> y : 4140721 . 990600802 <nl> theta : 1 . 3171975005206014 <nl> - kappa : - 0 . 00023862847020180111 <nl> - s : 22 . 595405007338805 <nl> + kappa : - 0 . 00023862847020180043 <nl> + s : 22 . 5954050073388 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 4423450044668513 <nl> - a : 0 . 030017206084499912 <nl> + a : 0 . 030017206084499887 <nl> relative_time : 4 . 7999999999999909 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586350 . 70184867538 <nl> - y : 4140722 . 2056484716 <nl> + y : 4140722 . 2056484721 <nl> theta : 1 . 3171396171673742 <nl> - kappa : - 0 . 00028093886910063477 <nl> - s : 22 . 817559177420666 <nl> + kappa : - 0 . 00028093886910063407 <nl> + s : 22 . 817559177420662 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 44380978471651 <nl> - a : 0 . 02857553098599112 <nl> + a : 0 . 0285755309859911 <nl> relative_time : 4 . 8499999999999908 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586350 . 75760684616 <nl> y : 4140722 . 4207652975 <nl> theta : 1 . 3170817152000622 <nl> - kappa : - 0 . 00032326287427225523 <nl> - s : 23 . 039784788337819 <nl> + kappa : - 0 . 00032326287427225458 <nl> + s : 23 . 039784788337816 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 4452027181914735 <nl> - a : 0 . 027143493448868974 <nl> + a : 0 . 027143493448868957 <nl> relative_time : 4 . 8999999999999906 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 586350 . 813411757 <nl> + x : 586350 . 81341175712 <nl> y : 4140722 . 6359401061 <nl> theta : 1 . 3170055568018793 <nl> - kappa : - 0 . 00036938287778685104 <nl> - s : 23 . 262078260194357 <nl> + kappa : - 0 . 00036938287778685017 <nl> + s : 23 . 262078260194354 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 4465243105226424 <nl> - a : 0 . 02572204358644227 <nl> + a : 0 . 025722043586442252 <nl> relative_time : 4 . 94999999999999 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586350 . 86927031248 <nl> y : 4140722 . 8511674367 <nl> theta : 1 . 3169063574946029 <nl> - kappa : - 0 . 00042029078891519514 <nl> - s : 23 . 484436039563569 <nl> + kappa : - 0 . 00042029078891519438 <nl> + s : 23 . 484436039563565 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 4477751148465847 <nl> - a : 0 . 024312131512019795 <nl> + a : 0 . 024312131512019778 <nl> relative_time : 4 . 99999999999999 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586350 . 92514413712 <nl> y : 4140723 . 0664536012 <nl> theta : 1 . 3168071310694616 <nl> - kappa : - 0 . 0004712126160487676 <nl> - s : 23 . 706854601863206 <nl> + kappa : - 0 . 00047121261604876673 <nl> + s : 23 . 706854601863203 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 4489557318055333 <nl> - a : 0 . 022914707338910344 <nl> + a : 0 . 02291470733891033 <nl> relative_time : 5 . 04999999999999 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586350 . 98103235359 <nl> - y : 4140723 . 2817952181 <nl> - theta : 1 . 316707879086884 <nl> - kappa : - 0 . 00052214755939640381 <nl> - s : 23 . 929330453730778 <nl> + y : 4140723 . 2817952177 <nl> + theta : 1 . 3167078790868842 <nl> + kappa : - 0 . 00052214755939640294 <nl> + s : 23 . 929330453730774 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 4500668095473861 <nl> - a : 0 . 021530721180422707 <nl> + a : 0 . 0215307211804227 <nl> relative_time : 5 . 09999999999999 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586351 . 03698037437 <nl> y : 4140723 . 4971769145 <nl> theta : 1 . 3165877953053107 <nl> - kappa : - 0 . 00057467927523517431 <nl> - s : 24 . 151860135398827 <nl> + kappa : - 0 . 00057467927523517258 <nl> + s : 24 . 15186013539882 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 4511090437257073 <nl> - a : 0 . 020161123149865685 <nl> + a : 0 . 020161123149865682 <nl> relative_time : 5 . 14999999999999 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586351 . 09300076193 <nl> y : 4140723 . 7125918902 <nl> theta : 1 . 3164408466928812 <nl> - kappa : - 0 . 0006292664920453711 <nl> - s : 24 . 374440223070216 <nl> + kappa : - 0 . 00062926649204537023 <nl> + s : 24 . 374440223070213 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> trajectory_point { <nl> x : 586351 . 14903298381 <nl> y : 4140723 . 9280523723 <nl> theta : 1 . 3162938670336384 <nl> - kappa : - 0 . 00068386524052977521 <nl> - s : 24 . 597067331293413 <nl> + kappa : - 0 . 00068386524052977435 <nl> + s : 24 . 59706733129341 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 4529900015343378 <nl> - a : 0 . 017468891925778642 <nl> + a : 0 . 017468891925778645 <nl> relative_time : 5 . 2499999999999893 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586351 . 20507619833 <nl> y : 4140724 . 1435551243 <nl> - theta : 1 . 3161468585421419 <nl> - kappa : - 0 . 00073847470040145659 <nl> - s : 24 . 819738115337774 <nl> + theta : 1 . 3161468585421421 <nl> + kappa : - 0 . 00073847470040145561 <nl> + s : 24 . 819738115337771 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 4538303540001021 <nl> - a : 0 . 016148158958866208 <nl> + a : 0 . 016148158958866218 <nl> relative_time : 5 . 2999999999999892 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586351 . 26119371376 <nl> y : 4140724 . 3590802476 <nl> theta : 1 . 3159791351576116 <nl> - kappa : - 0 . 00079149960641904983 <nl> - s : 25 . 04244927356882 <nl> + kappa : - 0 . 000791499606419049 <nl> + s : 25 . 042449273568817 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 4546051205732438 <nl> - a : 0 . 014845614573119559 <nl> + a : 0 . 014845614573119569 <nl> relative_time : 5 . 349999999999989 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586351 . 317403845 <nl> - y : 4140724 . 574619608 <nl> + y : 4140724 . 5746196075 <nl> theta : 1 . 3157845270934962 <nl> - kappa : - 0 . 00084246348676106353 <nl> - s : 25 . 265197549823526 <nl> + kappa : - 0 . 00084246348676106266 <nl> + s : 25 . 265197549823522 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 4553152344356555 <nl> - a : 0 . 013562208881847483 <nl> + a : 0 . 013562208881847504 <nl> relative_time : 5 . 3999999999999888 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586351 . 3736225334 <nl> y : 4140724 . 79019178 <nl> theta : 1 . 3155898893952274 <nl> - kappa : - 0 . 00089343512550326873 <nl> - s : 25 . 487979735785608 <nl> + kappa : - 0 . 00089343512550326722 <nl> + s : 25 . 4879797357856 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 4559616762748915 <nl> - a : 0 . 01229889199835878 <nl> + a : 0 . 012298891998358801 <nl> relative_time : 5 . 4499999999999886 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586351 . 42984898179 <nl> y : 4140725 . 0057937084 <nl> theta : 1 . 315395224836678 <nl> - kappa : - 0 . 00094441380008681317 <nl> - s : 25 . 710792673360789 <nl> + kappa : - 0 . 00094441380008681241 <nl> + s : 25 . 710792673360785 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 4565454742841757 <nl> - a : 0 . 011056614035962236 <nl> + a : 0 . 011056614035962264 <nl> relative_time : 5 . 4999999999999885 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 586351 . 48616370594 <nl> - y : 4140725 . 2214011489 <nl> + x : 586351 . 48616370582 <nl> + y : 4140725 . 2214011494 <nl> theta : 1 . 3151826209620949 <nl> - kappa : - 0 . 000990602538413654 <nl> - s : 25 . 933633257052112 <nl> + kappa : - 0 . 00099060253841365365 <nl> + s : 25 . 933633257052108 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 4570677041623945 <nl> - a : 0 . 00983632510796665 <nl> + a : 0 . 0098363251079666841 <nl> relative_time : 5 . 5499999999999883 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 4 . 4575294891141013 <nl> - a : 0 . 00863897532768081 <nl> + a : 0 . 0086389753276808513 <nl> relative_time : 5 . 5999999999999881 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586351 . 59902109578 <nl> y : 4140725 . 65262965 <nl> theta : 1 . 3147110584099215 <nl> - kappa : - 0 . 0010706026542249122 <nl> - s : 26 . 379385218033523 <nl> + kappa : - 0 . 0010706026542249116 <nl> + s : 26 . 379385218033519 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 4579319998495128 <nl> - a : 0 . 0074655148084135162 <nl> + a : 0 . 0074655148084135578 <nl> relative_time : 5 . 6499999999999879 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586351 . 655457252 <nl> - y : 4140725 . 8682724112 <nl> + y : 4140725 . 8682724107 <nl> theta : 1 . 3144752459613489 <nl> - kappa : - 0 . 0011106080012087296 <nl> - s : 26 . 602290668693744 <nl> + kappa : - 0 . 001110608001208729 <nl> + s : 26 . 60229066869374 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 4582764545845146 <nl> - a : 0 . 0063168936634735579 <nl> + a : 0 . 0063168936634736064 <nl> relative_time : 5 . 6999999999999877 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 586351 . 71199251455 <nl> - y : 4140726 . 0839055125 <nl> + x : 586351 . 71199251467 <nl> + y : 4140726 . 0839055129 <nl> theta : 1 . 3142270484711895 <nl> - kappa : - 0 . 0011426830660096082 <nl> - s : 26 . 825211916960935 <nl> + kappa : - 0 . 001142683066009608 <nl> + s : 26 . 825211916960932 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 4585641190406546 <nl> - a : 0 . 0051940620061697237 <nl> + a : 0 . 0051940620061697793 <nl> relative_time : 5 . 7499999999999876 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 4 . 458796306445147 <nl> - a : 0 . 0040979699498108133 <nl> + a : 0 . 0040979699498108688 <nl> relative_time : 5 . 7999999999999874 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586351 . 8253148566 <nl> - y : 4140726 . 515143136 <nl> + y : 4140726 . 5151431356 <nl> theta : 1 . 3136990599302945 <nl> - kappa : - 0 . 0011866000952370404 <nl> - s : 27 . 27109064564041 <nl> + kappa : - 0 . 00118660009523704 <nl> + s : 27 . 271090645640406 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 4589743775308728 <nl> - a : 0 . 0030295676077056188 <nl> + a : 0 . 0030295676077056813 <nl> relative_time : 5 . 8499999999999872 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586351 . 88197925664 <nl> - y : 4140726 . 7307742354 <nl> + y : 4140726 . 7307742359 <nl> theta : 1 . 3134350506208816 <nl> - kappa : - 0 . 0012085598612584332 <nl> - s : 27 . 494042715212579 <nl> + kappa : - 0 . 001208559861258433 <nl> + s : 27 . 494042715212576 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 4590997405363773 <nl> - a : 0 . 001989805093162926 <nl> + a : 0 . 0019898050931629954 <nl> relative_time : 5 . 899999999999987 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 586351 . 93874826108 <nl> - y : 4140726 . 946382937 <nl> + x : 586351 . 938748261 <nl> + y : 4140726 . 9463829366 <nl> theta : 1 . 3131670889347669 <nl> kappa : - 0 . 0012194163467834406 <nl> - s : 27 . 716999765462052 <nl> + s : 27 . 716999765462049 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 45917385120587 <nl> - a : 0 . 00097963251949154811 <nl> + a : 0 . 00097963251949161056 <nl> relative_time : 5 . 9499999999999869 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586351 . 9956474842 <nl> y : 4140727 . 1619598828 <nl> theta : 1 . 3128941750544909 <nl> - kappa : - 0 . 0012163480576149422 <nl> - s : 27 . 939959271155338 <nl> + kappa : - 0 . 0012163480576149425 <nl> + s : 27 . 939959271155331 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 45919821278923 <nl> - a : 2 . 4980018054066022e - 16 <nl> + a : 3 . 1918911957973251e - 16 <nl> relative_time : 5 . 9999999999999867 <nl> } <nl> decision { <nl> mmm a / modules / planning / testdata / garage_test / result_stop_dest_0 . pb . txt <nl> ppp b / modules / planning / testdata / garage_test / result_stop_dest_0 . pb . txt <nl> trajectory_point { <nl> path_point { <nl> x : 586361 . 375698 <nl> y : 4140761 . 72259 <nl> - z : 0 <nl> theta : 1 . 2866508336700004 <nl> kappa : 0 . 0057515850184131946 <nl> + s : 5 . 2041704279304213e - 18 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 4 . 4250001907348624 <nl> - a : - 0 . 3267818497207 <nl> + v : 4 . 4250001907348633 <nl> + a : - 0 . 32678184972070007 <nl> relative_time : 0 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586361 . 43745605764 <nl> y : 4140761 . 9346081754 <nl> theta : 1 . 2878517840200638 <nl> - kappa : 0 . 0052226829304711083 <nl> - s : 0 . 22082971795239031 <nl> + kappa : 0 . 0052226829304711075 <nl> + s : 0 . 22082971795239043 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 4 . 4079559735001261 <nl> - a : - 0 . 35468928171380559 <nl> + v : 4 . 407955973500127 <nl> + a : - 0 . 354689281713806 <nl> relative_time : 0 . 05 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586361 . 49873117055 <nl> y : 4140762 . 1458436651 <nl> theta : 1 . 2889457349001783 <nl> - kappa : 0 . 0047872050089113856 <nl> - s : 0 . 44077307859345277 <nl> + kappa : 0 . 0047872050089113848 <nl> + s : 0 . 44077307859345294 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 4 . 3895605340000055 <nl> - a : - 0 . 38084042751548386 <nl> + v : 4 . 3895605340000063 <nl> + a : - 0 . 38084042751548458 <nl> relative_time : 0 . 1 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> y : 4140762 . 3562272089 <nl> theta : 1 . 2899513171111241 <nl> kappa : 0 . 0044287813062474325 <nl> - s : 0 . 65976469194970866 <nl> + s : 0 . 65976469194970888 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 4 . 3699002334671588 <nl> - a : - 0 . 40529341020227377 <nl> + v : 4 . 36990023346716 <nl> + a : - 0 . 40529341020227466 <nl> relative_time : 0 . 15000000000000002 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586361 . 61984342476 <nl> - y : 4140762 . 5656945868 <nl> - theta : 1 . 29088313624872 <nl> + y : 4140762 . 5656945864 <nl> + theta : 1 . 2908831362487199 <nl> kappa : 0 . 0041311938996978076 <nl> - s : 0 . 8777434134554668 <nl> + s : 0 . 87774341345546714 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 3490585269804178 <nl> - a : - 0 . 42810635285071408 <nl> + a : - 0 . 42810635285071519 <nl> relative_time : 0 . 2 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 4 . 3271159634647844 <nl> - a : - 0 . 44933737853734379 <nl> + v : 4 . 3271159634647853 <nl> + a : - 0 . 449337378537345 <nl> relative_time : 0 . 25 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586361 . 73904052924 <nl> - y : 4140762 . 9816471711 <nl> + y : 4140762 . 9816471715 <nl> theta : 1 . 292567270849887 <nl> kappa : 0 . 0036546772349191309 <nl> - s : 1 . 3104379578455134 <nl> + s : 1 . 3104379578455136 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 4 . 3041501856914373 <nl> - a : - 0 . 46904461033870176 <nl> + v : 4 . 3041501856914381 <nl> + a : - 0 . 46904461033870304 <nl> relative_time : 0 . 3 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 586361 . 79791825276 <nl> + x : 586361 . 79791825265 <nl> y : 4140763 . 1880263053 <nl> theta : 1 . 2933328165213978 <nl> - kappa : 0 . 0034442475451774055 <nl> - s : 1 . 525051410868133 <nl> + kappa : 0 . 0034442475451774051 <nl> + s : 1 . 5250514108681332 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 4 . 2802359302777262 <nl> - a : - 0 . 48728617133132685 <nl> + v : 4 . 2802359302777271 <nl> + a : - 0 . 48728617133132812 <nl> relative_time : 0 . 35 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 586361 . 85628685832 <nl> + x : 586361 . 85628685821 <nl> y : 4140763 . 3932840908 <nl> theta : 1 . 2940432559364765 <nl> - kappa : 0 . 0032489342709805602 <nl> - s : 1 . 7384469417015351 <nl> + kappa : 0 . 00324893427098056 <nl> + s : 1 . 7384469417015356 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 2554450276871751 <nl> - a : - 0 . 504120184591758 <nl> + a : - 0 . 50412018459175922 <nl> relative_time : 0 . 39999999999999997 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586361 . 91417155648 <nl> - y : 4140763 . 5973694474 <nl> + y : 4140763 . 5973694478 <nl> theta : 1 . 2947131425567704 <nl> - kappa : 0 . 0030939327452302462 <nl> - s : 1 . 9505824532035945 <nl> + kappa : 0 . 0030939327452302458 <nl> + s : 1 . 9505824532035949 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 4 . 2298464022294784 <nl> - a : - 0 . 519604773196534 <nl> + v : 4 . 2298464022294793 <nl> + a : - 0 . 5196047731965352 <nl> relative_time : 0 . 44999999999999996 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586361 . 97157468484 <nl> - y : 4140763 . 8002413721 <nl> - theta : 1 . 2953515732288494 <nl> + y : 4140763 . 8002413725 <nl> + theta : 1 . 2953515732288492 <nl> kappa : 0 . 0029731371317965674 <nl> - s : 2 . 1614192217938246 <nl> + s : 2 . 1614192217938251 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 2035060720605069 <nl> - a : - 0 . 53379806022219367 <nl> + a : - 0 . 53379806022219489 <nl> relative_time : 0 . 49999999999999994 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 586362 . 02849382372 <nl> + x : 586362 . 02849382383 <nl> y : 4140764 . 001863583 <nl> theta : 1 . 2959647361997779 <nl> kappa : 0 . 0028807085606691787 <nl> - s : 2 . 370921752145688 <nl> + s : 2 . 3709217521456885 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 1764871491823019 <nl> - a : - 0 . 54675816874527616 <nl> + a : - 0 . 54675816874527716 <nl> relative_time : 0 . 54999999999999993 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586362 . 08492637752 <nl> - y : 4140764 . 2022030638 <nl> - theta : 1 . 2965575683840467 <nl> + y : 4140764 . 2022030642 <nl> + theta : 1 . 2965575683840465 <nl> kappa : 0 . 0028106369983480527 <nl> - s : 2 . 5790576318789014 <nl> + s : 2 . 5790576318789018 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 14884983944308 <nl> - a : - 0 . 55854322184232019 <nl> + a : - 0 . 55854322184232108 <nl> relative_time : 0 . 6 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> y : 4140764 . 4012300358 <nl> theta : 1 . 29713393852012 <nl> kappa : 0 . 0027572513752147092 <nl> - s : 2 . 7857973862517489 <nl> + s : 2 . 7857973862517493 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 1206514425372287 <nl> - a : - 0 . 56921134258986461 <nl> + a : - 0 . 56921134258986539 <nl> relative_time : 0 . 65 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586362 . 19628949289 <nl> - y : 4140764 . 5989258396 <nl> + y : 4140764 . 5989258392 <nl> theta : 1 . 2976946789592461 <nl> - kappa : 0 . 0027152390547600094 <nl> - s : 2 . 9911143328533867 <nl> + kappa : 0 . 002715239054760009 <nl> + s : 2 . 9911143328533876 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 0919463520053094 <nl> - a : - 0 . 57882065406444827 <nl> + a : - 0 . 57882065406444894 <nl> relative_time : 0 . 70000000000000007 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586362 . 25121645094 <nl> - y : 4140764 . 7952573062 <nl> + y : 4140764 . 7952573057 <nl> theta : 1 . 298243591046395 <nl> kappa : 0 . 0026747599673540312 <nl> - s : 3 . 1949844362961546 <nl> + s : 3 . 1949844362961555 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 0627860552340573 <nl> - a : - 0 . 58742927934261036 <nl> + a : - 0 . 5874292793426108 <nl> relative_time : 0 . 75000000000000011 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 4 . 0332191334563792 <nl> - a : - 0 . 59509534150088927 <nl> + a : - 0 . 59509534150088961 <nl> relative_time : 0 . 80000000000000016 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 586362 . 35958431021 <nl> + x : 586362 . 35958431009 <nl> y : 4140765 . 1837416631 <nl> theta : 1 . 2993046689247461 <nl> - kappa : 0 . 0025783019644563419 <nl> - s : 3 . 5983003354242 <nl> + kappa : 0 . 002578301964456341 <nl> + s : 3 . 5983003354242009 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 4 . 0032912617513574 <nl> - a : - 0 . 60187696361582432 <nl> + a : - 0 . 60187696361582455 <nl> relative_time : 0 . 8500000000000002 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586362 . 41302246752 <nl> y : 4140765 . 3758577029 <nl> theta : 1 . 299814346017967 <nl> - kappa : 0 . 0025131218991054031 <nl> - s : 3 . 7977099876808467 <nl> + kappa : 0 . 0025131218991054026 <nl> + s : 3 . 7977099876808476 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 3 . 9730452090442436 <nl> - a : - 0 . 60783226876395424 <nl> + v : 3 . 9730452090442441 <nl> + a : - 0 . 60783226876395413 <nl> relative_time : 0 . 90000000000000024 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586362 . 46593377157 <nl> - y : 4140765 . 5665431442 <nl> + y : 4140765 . 5665431437 <nl> theta : 1 . 3003007652772338 <nl> - kappa : 0 . 0024212352410965757 <nl> - s : 3 . 995600219305977 <nl> + kappa : 0 . 0024212352410965753 <nl> + s : 3 . 9956002193059779 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 3 . 942520838106466 <nl> - a : - 0 . 61301938002181777 <nl> + v : 3 . 9425208381064665 <nl> + a : - 0 . 61301938002181755 <nl> relative_time : 0 . 95000000000000029 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586362 . 51835305674 <nl> y : 4140765 . 7557747839 <nl> theta : 1 . 3007637277518276 <nl> - kappa : 0 . 0023061812287269454 <nl> - s : 4 . 191958050412472 <nl> + kappa : 0 . 002306181228726945 <nl> + s : 4 . 1919580504124729 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 3 . 9117551055556241 <nl> - a : - 0 . 617496420465954 <nl> + a : - 0 . 61749642046595365 <nl> relative_time : 1 . 0000000000000002 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 3 . 8807820618554905 <nl> - a : - 0 . 62132151317290174 <nl> + a : - 0 . 6213215131729013 <nl> relative_time : 1 . 0500000000000003 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 3 . 8496328513160112 <nl> - a : - 0 . 62455278121919977 <nl> + v : 3 . 8496328513160116 <nl> + a : - 0 . 62455278121919933 <nl> relative_time : 1 . 1000000000000003 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 586362 . 672667375 <nl> - y : 4140766 . 3146362538 <nl> + x : 586362 . 67266737483 <nl> + y : 4140766 . 3146362542 <nl> theta : 1 . 3020030792494526 <nl> - kappa : 0 . 0019800974994742628 <nl> - s : 4 . 7717330975583252 <nl> + kappa : 0 . 0019800974994742624 <nl> + s : 4 . 7717330975583261 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 3 . 8183357120933055 <nl> - a : - 0 . 62724834768138726 <nl> + v : 3 . 8183357120933059 <nl> + a : - 0 . 6272483476813866 <nl> relative_time : 1 . 1500000000000004 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 3 . 7869159761896656 <nl> - a : - 0 . 62946633563600263 <nl> + a : - 0 . 629466335636002 <nl> relative_time : 1 . 2000000000000004 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 3 . 755396069453556 <nl> - a : - 0 . 63126486815958516 <nl> + a : - 0 . 63126486815958471 <nl> relative_time : 1 . 2500000000000004 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 3 . 7237955115796151 <nl> - a : - 0 . 63270206832867371 <nl> + v : 3 . 7237955115796155 <nl> + a : - 0 . 63270206832867326 <nl> relative_time : 1 . 3000000000000005 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 3 . 6921309161086544 <nl> - a : - 0 . 63383605921980712 <nl> + v : 3 . 6921309161086548 <nl> + a : - 0 . 63383605921980657 <nl> relative_time : 1 . 3500000000000005 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 3 . 6604159904276581 <nl> - a : - 0 . 634724963909524 <nl> + v : 3 . 6604159904276585 <nl> + a : - 0 . 63472496390952382 <nl> relative_time : 1 . 4000000000000006 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> y : 4140767 . 3919386286 <nl> theta : 1 . 3040112997223616 <nl> kappa : 0 . 0016743500174788341 <nl> - s : 5 . 88884245459817 <nl> + s : 5 . 8888424545981719 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 3 . 59687544721436 <nl> - a : - 0 . 636000006990865 <nl> + v : 3 . 5968754472143609 <nl> + a : - 0 . 63600000699086445 <nl> relative_time : 1 . 5000000000000007 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 586363 . 06294133759 <nl> - y : 4140767 . 73893046 <nl> + x : 586363 . 0629413377 <nl> + y : 4140767 . 7389304605 <nl> theta : 1 . 3046055512539265 <nl> kappa : 0 . 001633468054081376 <nl> - s : 6 . 24852997397462 <nl> + s : 6 . 2485299739746205 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 3 . 5650882648980948 <nl> - a : - 0 . 63543758787374061 <nl> + v : 3 . 5650882648980957 <nl> + a : - 0 . 63543758787374 <nl> relative_time : 1 . 5500000000000007 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 3 . 5333365990448447 <nl> - a : - 0 . 63458053168508133 <nl> + v : 3 . 533336599044846 <nl> + a : - 0 . 63458053168508077 <nl> relative_time : 1 . 6000000000000008 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 3 . 5016350040259643 <nl> - a : - 0 . 63343593771376949 <nl> + v : 3 . 5016350040259652 <nl> + a : - 0 . 633435937713769 <nl> relative_time : 1 . 6500000000000008 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 3 . 469997679248364 <nl> - a : - 0 . 63201090524868764 <nl> + v : 3 . 4699976792483649 <nl> + a : - 0 . 63201090524868719 <nl> relative_time : 1 . 7000000000000008 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 3 . 4384384691545105 <nl> - a : - 0 . 63031253357871808 <nl> + v : 3 . 4384384691545113 <nl> + a : - 0 . 63031253357871764 <nl> relative_time : 1 . 7500000000000009 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 3 . 4069708632224254 <nl> - a : - 0 . 62834792199274336 <nl> + v : 3 . 4069708632224267 <nl> + a : - 0 . 628347921992743 <nl> relative_time : 1 . 8000000000000009 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586363 . 33595871029 <nl> - y : 4140768 . 7435268285 <nl> + y : 4140768 . 7435268289 <nl> theta : 1 . 3062553306033204 <nl> - kappa : 0 . 001523804619842218 <nl> - s : 7 . 2895643707876827 <nl> + kappa : 0 . 0015238046198422178 <nl> + s : 7 . 2895643707876836 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 3 . 3756079959656882 <nl> - a : - 0 . 6261241697796458 <nl> + v : 3 . 3756079959656891 <nl> + a : - 0 . 62612416977964547 <nl> relative_time : 1 . 850000000000001 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> y : 4140768 . 905687795 <nl> theta : 1 . 306508245005811 <nl> kappa : 0 . 0014919110556375205 <nl> - s : 7 . 4575631210451876 <nl> + s : 7 . 4575631210451885 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 3 . 3443626469334315 <nl> - a : - 0 . 62364837622830793 <nl> + v : 3 . 3443626469334324 <nl> + a : - 0 . 62364837622830771 <nl> relative_time : 1 . 900000000000001 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586363 . 42332610744 <nl> - y : 4140769 . 0663518556 <nl> + y : 4140769 . 0663518552 <nl> theta : 1 . 3067547691489043 <nl> - kappa : 0 . 0014553496739477749 <nl> - s : 7 . 6240028013917147 <nl> + kappa : 0 . 0014553496739477746 <nl> + s : 7 . 6240028013917156 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 3 . 3132472407103464 <nl> - a : - 0 . 62092764062761208 <nl> + v : 3 . 3132472407103473 <nl> + a : - 0 . 62092764062761185 <nl> relative_time : 1 . 9500000000000011 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586363 . 46633549454 <nl> y : 4140769 . 22553116 <nl> theta : 1 . 3069902753150839 <nl> - kappa : 0 . 0014096738414728434 <nl> - s : 7 . 7888902121872476 <nl> + kappa : 0 . 001409673841472843 <nl> + s : 7 . 7888902121872485 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 3 . 2822738469166786 <nl> - a : - 0 . 61796906226644077 <nl> + v : 3 . 2822738469166794 <nl> + a : - 0 . 61796906226644066 <nl> relative_time : 2 . 0000000000000009 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 3 . 2514541802082291 <nl> - a : - 0 . 61477974043367645 <nl> + v : 3 . 2514541802082304 <nl> + a : - 0 . 61477974043367634 <nl> relative_time : 2 . 0500000000000007 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 3 . 2207996002763561 <nl> - a : - 0 . 61136677441820142 <nl> + v : 3 . 220799600276357 <nl> + a : - 0 . 61136677441820131 <nl> relative_time : 2 . 1000000000000005 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586363 . 5927577992 <nl> y : 4140769 . 6942050746 <nl> theta : 1 . 3076348527354082 <nl> - kappa : 0 . 0012381339494343397 <nl> - s : 8 . 2743156434818985 <nl> + kappa : 0 . 0012381339494343391 <nl> + s : 8 . 2743156434819 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 3 . 1903211118479731 <nl> - a : - 0 . 60773726350889812 <nl> + v : 3 . 190321111847974 <nl> + a : - 0 . 60773726350889823 <nl> relative_time : 2 . 1500000000000004 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 3 . 1600293646855491 <nl> - a : - 0 . 60389830699464908 <nl> + v : 3 . 16002936468555 <nl> + a : - 0 . 60389830699464919 <nl> relative_time : 2 . 2 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586363 . 6749091791 <nl> y : 4140769 . 9993461575 <nl> theta : 1 . 3080067023948438 <nl> - kappa : 0 . 0011010350830300225 <nl> - s : 8 . 5903218640820551 <nl> + kappa : 0 . 0011010350830300217 <nl> + s : 8 . 5903218640820569 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 3 . 1299346535871093 <nl> - a : - 0 . 59985700416433674 <nl> + v : 3 . 12993465358711 <nl> + a : - 0 . 59985700416433685 <nl> relative_time : 2 . 25 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 3 . 1000469183862354 <nl> - a : - 0 . 59562045430684341 <nl> + v : 3 . 1000469183862362 <nl> + a : - 0 . 59562045430684363 <nl> relative_time : 2 . 3 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586363 . 75539198692 <nl> y : 4140770 . 2987249531 <nl> theta : 1 . 3083264736448748 <nl> - kappa : 0 . 0009653151467301659 <nl> - s : 8 . 9003301654639912 <nl> + kappa : 0 . 00096531514673016525 <nl> + s : 8 . 900330165463993 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 3 . 0703757439520638 <nl> - a : - 0 . 59119575671105151 <nl> + v : 3 . 0703757439520647 <nl> + a : - 0 . 59119575671105185 <nl> relative_time : 2 . 3499999999999996 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586363 . 795020661 <nl> - y : 4140770 . 4462777032 <nl> + y : 4140770 . 4462777027 <nl> theta : 1 . 3084678742968872 <nl> - kappa : 0 . 0009008726301353632 <nl> - s : 9 . 0531118585124482 <nl> + kappa : 0 . 00090087263013536255 <nl> + s : 9 . 05311185851245 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 3 . 0409303601892872 <nl> - a : - 0 . 5865900106658436 <nl> + v : 3 . 0409303601892881 <nl> + a : - 0 . 58659001066584393 <nl> relative_time : 2 . 3999999999999995 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 3 . 0117196420381549 <nl> - a : - 0 . 581810315460102 <nl> + v : 3 . 0117196420381562 <nl> + a : - 0 . 58181031546010242 <nl> relative_time : 2 . 4499999999999993 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586363 . 87309003458 <nl> y : 4140770 . 7371594068 <nl> theta : 1 . 3087222768701454 <nl> - kappa : 0 . 000779403920464017 <nl> - s : 9 . 35428787600659 <nl> + kappa : 0 . 00077940392046401612 <nl> + s : 9 . 3542878760065911 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 9827521094744713 <nl> - a : - 0 . 57686377038270931 <nl> + v : 2 . 9827521094744727 <nl> + a : - 0 . 57686377038270975 <nl> relative_time : 2 . 4999999999999991 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 9540359275095969 <nl> - a : - 0 . 57175747472254768 <nl> + v : 2 . 9540359275095982 <nl> + a : - 0 . 57175747472254823 <nl> relative_time : 2 . 5499999999999989 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 586363 . 94959417055 <nl> + x : 586363 . 94959417044 <nl> y : 4140771 . 0224889554 <nl> theta : 1 . 3089361314620624 <nl> - kappa : 0 . 00067063036537640022 <nl> - s : 9 . 6496957882988461 <nl> + kappa : 0 . 00067063036537639968 <nl> + s : 9 . 6496957882988479 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 9255789061904482 <nl> - a : - 0 . 56649852776849974 <nl> + v : 2 . 9255789061904491 <nl> + a : - 0 . 56649852776850029 <nl> relative_time : 2 . 5999999999999988 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586363 . 98727029585 <nl> y : 4140771 . 1631019888 <nl> theta : 1 . 3090285598570148 <nl> - kappa : 0 . 00062189322965197158 <nl> - s : 9 . 79526884750666 <nl> + kappa : 0 . 00062189322965197093 <nl> + s : 9 . 7952688475066623 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 8973885005994973 <nl> - a : - 0 . 56109402880944781 <nl> + v : 2 . 8973885005994982 <nl> + a : - 0 . 56109402880944836 <nl> relative_time : 2 . 6499999999999986 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586364 . 02457476151 <nl> - y : 4140771 . 3023624192 <nl> + y : 4140771 . 3023624187 <nl> theta : 1 . 309115370896782 <nl> - kappa : 0 . 00057582783255403873 <nl> - s : 9 . 9394392004867669 <nl> + kappa : 0 . 00057582783255403776 <nl> + s : 9 . 93943920048677 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 8694718108547725 <nl> - a : - 0 . 55555107713427443 <nl> + v : 2 . 8694718108547734 <nl> + a : - 0 . 5555510771342751 <nl> relative_time : 2 . 6999999999999984 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 8418355821098573 <nl> - a : - 0 . 54987677203186192 <nl> + v : 2 . 8418355821098582 <nl> + a : - 0 . 54987677203186258 <nl> relative_time : 2 . 7499999999999982 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 8144862045538921 <nl> - a : - 0 . 54407821279109281 <nl> + v : 2 . 814486204553893 <nl> + a : - 0 . 54407821279109347 <nl> relative_time : 2 . 799999999999998 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586364 . 13428110862 <nl> y : 4140771 . 7121670749 <nl> theta : 1 . 3093346288456482 <nl> - kappa : 0 . 00045898900471593807 <nl> - s : 10 . 363674205232154 <nl> + kappa : 0 . 00045898900471593758 <nl> + s : 10 . 363674205232156 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 7874297134115729 <nl> - a : - 0 . 53816249870084942 <nl> + v : 2 . 7874297134115738 <nl> + a : - 0 . 5381624987008502 <nl> relative_time : 2 . 8499999999999979 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 7606717889431507 <nl> - a : - 0 . 5321367290500143 <nl> + v : 2 . 7606717889431516 <nl> + a : - 0 . 532136729050015 <nl> relative_time : 2 . 8999999999999977 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 586364 . 20562871487 <nl> + x : 586364 . 205628715 <nl> y : 4140771 . 9788605375 <nl> theta : 1 . 3094533307994922 <nl> - kappa : 0 . 00039879379036743951 <nl> - s : 10 . 639746449189833 <nl> + kappa : 0 . 00039879379036743913 <nl> + s : 10 . 639746449189834 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 7342177564444334 <nl> - a : - 0 . 52600800312746976 <nl> + v : 2 . 7342177564444343 <nl> + a : - 0 . 52600800312747054 <nl> relative_time : 2 . 9499999999999975 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 7080725862467845 <nl> - a : - 0 . 51978342022209834 <nl> + v : 2 . 7080725862467849 <nl> + a : - 0 . 519783420222099 <nl> relative_time : 2 . 9999999999999973 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 586364 . 275586571 <nl> - y : 4140772 . 2404811094 <nl> - theta : 1 . 3095545706684584 <nl> - kappa : 0 . 0003532415383366537 <nl> - s : 10 . 910558976954462 <nl> + x : 586364 . 27558657085 <nl> + y : 4140772 . 2404811089 <nl> + theta : 1 . 3095545706684586 <nl> + kappa : 0 . 00035324153833665348 <nl> + s : 10 . 910558976954464 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 6822436220911952 <nl> + v : 2 . 6822436220911965 <nl> a : - 0 . 513355297647245 <nl> relative_time : 3 . 0499999999999972 <nl> } <nl> trajectory_point { <nl> x : 586364 . 31005521375 <nl> y : 4140772 . 369426867 <nl> theta : 1 . 3095997467861775 <nl> - kappa : 0 . 0003363065155031202 <nl> - s : 11 . 044032179346683 <nl> + kappa : 0 . 00033630651550311993 <nl> + s : 11 . 044032179346685 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 6567390265806949 <nl> - a : - 0 . 50680896915422657 <nl> + v : 2 . 6567390265806963 <nl> + a : - 0 . 50680896915422646 <nl> relative_time : 3 . 099999999999997 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 586364 . 34419433353 <nl> + x : 586364 . 34419433365 <nl> y : 4140772 . 4971492253 <nl> theta : 1 . 3096437035753865 <nl> - kappa : 0 . 000320783347278412 <nl> - s : 11 . 17623838357383 <nl> + kappa : 0 . 00032078334727841191 <nl> + s : 11 . 176238383573832 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 6315646658008434 <nl> + v : 2 . 6315646658008447 <nl> a : - 0 . 500146203156955 <nl> relative_time : 3 . 1499999999999968 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 586364 . 37800246966 <nl> + x : 586364 . 37800246978 <nl> y : 4140772 . 6236658166 <nl> theta : 1 . 3096844903371232 <nl> - kappa : 0 . 00030976617796343506 <nl> - s : 11 . 30719424618248 <nl> + kappa : 0 . 0003097661779634349 <nl> + s : 11 . 307194246182481 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 6067263174165052 <nl> + v : 2 . 6067263174165065 <nl> a : - 0 . 4933687680693426 <nl> relative_time : 3 . 1999999999999966 <nl> } <nl> trajectory_point { <nl> x : 586364 . 41148948262 <nl> y : 4140772 . 748991543 <nl> theta : 1 . 3097243303965571 <nl> - kappa : 0 . 00030039703517032834 <nl> - s : 11 . 43691671039193 <nl> + kappa : 0 . 00030039703517032823 <nl> + s : 11 . 436916710391932 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 58222967067185 <nl> + v : 2 . 5822296706718513 <nl> a : - 0 . 48647843230530147 <nl> relative_time : 3 . 2499999999999964 <nl> } <nl> trajectory_point { <nl> x : 586364 . 44465573516 <nl> y : 4140772 . 8731441367 <nl> theta : 1 . 3097623794087996 <nl> - kappa : 0 . 00029500699643654867 <nl> - s : 11 . 565423001673173 <nl> + kappa : 0 . 00029500699643654856 <nl> + s : 11 . 565423001673174 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 5580803263903507 <nl> - a : - 0 . 47947696427874381 <nl> + v : 2 . 558080326390352 <nl> + a : - 0 . 47947696427874376 <nl> relative_time : 3 . 2999999999999963 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586364 . 477509823 <nl> - y : 4140772 . 9961394193 <nl> + y : 4140772 . 9961394188 <nl> theta : 1 . 3097998292923965 <nl> kappa : 0 . 00029117715716448959 <nl> - s : 11 . 692730623327853 <nl> + s : 11 . 692730623327856 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 5342837969747856 <nl> - a : - 0 . 47236613240358172 <nl> + v : 2 . 5342837969747869 <nl> + a : - 0 . 47236613240358161 <nl> relative_time : 3 . 3499999999999961 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> y : 4140773 . 117995481 <nl> theta : 1 . 3098363856335298 <nl> kappa : 0 . 00029075957874978282 <nl> - s : 11 . 818857352067241 <nl> + s : 11 . 818857352067242 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 5108455064072377 <nl> - a : - 0 . 46514770509372733 <nl> + v : 2 . 510845506407239 <nl> + a : - 0 . 46514770509372716 <nl> relative_time : 3 . 3999999999999959 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586364 . 54229331249 <nl> - y : 4140773 . 2387287719 <nl> + y : 4140773 . 238728771 <nl> theta : 1 . 30987276257254 <nl> - kappa : 0 . 00029167325457118162 <nl> - s : 11 . 943821233591189 <nl> + kappa : 0 . 00029167325457118168 <nl> + s : 11 . 943821233591191 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 4877707902490926 <nl> - a : - 0 . 45782345076309283 <nl> + v : 2 . 487770790249094 <nl> + a : - 0 . 45782345076309267 <nl> relative_time : 3 . 4499999999999957 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586364 . 574232212 <nl> y : 4140773 . 3583579352 <nl> theta : 1 . 3099091800029663 <nl> - kappa : 0 . 00029572509752233178 <nl> - s : 12 . 067640578167106 <nl> + kappa : 0 . 00029572509752233184 <nl> + s : 12 . 067640578167108 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 465064895641043 <nl> - a : - 0 . 45039513782559037 <nl> + v : 2 . 4650648956410444 <nl> + a : - 0 . 45039513782559015 <nl> relative_time : 3 . 4999999999999956 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586364 . 6058784721 <nl> - y : 4140773 . 4768998232 <nl> + y : 4140773 . 4768998236 <nl> theta : 1 . 309945629900771 <nl> - kappa : 0 . 00030067854131446328 <nl> - s : 12 . 190333956208915 <nl> + kappa : 0 . 00030067854131446355 <nl> + s : 12 . 190333956208919 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 4427329813030831 <nl> - a : - 0 . 44286453469513209 <nl> + v : 2 . 4427329813030845 <nl> + a : - 0 . 44286453469513182 <nl> relative_time : 3 . 5499999999999954 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 586364 . 63723243738 <nl> - y : 4140773 . 5943738297 <nl> + x : 586364 . 6372324375 <nl> + y : 4140773 . 5943738292 <nl> theta : 1 . 3099828637249968 <nl> - kappa : 0 . 00030845923754933694 <nl> - s : 12 . 311920193856025 <nl> + kappa : 0 . 00030845923754933716 <nl> + s : 12 . 311920193856029 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 4207801175345138 <nl> - a : - 0 . 43523340978563019 <nl> + v : 2 . 4207801175345152 <nl> + a : - 0 . 43523340978562985 <nl> relative_time : 3 . 5999999999999952 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586364 . 66830437363 <nl> y : 4140773 . 7107969578 <nl> theta : 1 . 3100201292295737 <nl> - kappa : 0 . 00031666071389365146 <nl> - s : 12 . 432418368552289 <nl> + kappa : 0 . 00031666071389365163 <nl> + s : 12 . 432418368552291 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 399211286213939 <nl> - a : - 0 . 42750353151099674 <nl> + v : 2 . 3992112862139408 <nl> + a : - 0 . 42750353151099635 <nl> relative_time : 3 . 649999999999995 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586364 . 69909295114 <nl> y : 4140773 . 8261895645 <nl> theta : 1 . 3100590257745357 <nl> - kappa : 0 . 000327425824920217 <nl> - s : 12 . 551847804624973 <nl> + kappa : 0 . 00032742582492021726 <nl> + s : 12 . 551847804624977 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 3780313807992681 <nl> - a : - 0 . 41967666828514394 <nl> + v : 2 . 3780313807992695 <nl> + a : - 0 . 41967666828514349 <nl> relative_time : 3 . 6999999999999948 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 586364 . 72961078631 <nl> - y : 4140773 . 9405685342 <nl> + x : 586364 . 72961078642 <nl> + y : 4140773 . 9405685337 <nl> theta : 1 . 3100976614812565 <nl> - kappa : 0 . 00033812235566031543 <nl> - s : 12 . 670228068863723 <nl> + kappa : 0 . 00033812235566031565 <nl> + s : 12 . 670228068863725 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 3572452063277134 <nl> - a : - 0 . 411754588521984 <nl> + v : 2 . 3572452063277147 <nl> + a : - 0 . 41175458852198343 <nl> relative_time : 3 . 7499999999999947 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586364 . 75985376281 <nl> y : 4140774 . 0539554618 <nl> theta : 1 . 3101388205887665 <nl> - kappa : 0 . 00034964488960236245 <nl> - s : 12 . 787578966099527 <nl> + kappa : 0 . 00034964488960236283 <nl> + s : 12 . 787578966099531 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 336857479415793 <nl> - a : - 0 . 40373906063542891 <nl> + v : 2 . 3368574794157944 <nl> + a : - 0 . 40373906063542836 <nl> relative_time : 3 . 7999999999999945 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 586364 . 78983662114 <nl> + x : 586364 . 789836621 <nl> y : 4140774 . 1663671555 <nl> theta : 1 . 3101796256890854 <nl> - kappa : 0 . 00036106831886972016 <nl> - s : 12 . 903920534783682 <nl> + kappa : 0 . 00036106831886972054 <nl> + s : 12 . 903920534783685 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 3168728282593287 <nl> - a : - 0 . 39563185303939097 <nl> + v : 2 . 31687282825933 <nl> + a : - 0 . 39563185303939036 <nl> relative_time : 3 . 8499999999999943 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586364 . 81955590833 <nl> y : 4140774 . 2778255111 <nl> theta : 1 . 3102223466039769 <nl> - kappa : 0 . 00037162838434591158 <nl> - s : 13 . 019273042566759 <nl> + kappa : 0 . 00037162838434591169 <nl> + s : 13 . 019273042566761 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 297295792633447 <nl> - a : - 0 . 38743473414778229 <nl> + v : 2 . 2972957926334483 <nl> + a : - 0 . 38743473414778162 <nl> relative_time : 3 . 8999999999999941 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586364 . 84902422689 <nl> y : 4140774 . 3883483764 <nl> theta : 1 . 3102650811732133 <nl> - kappa : 0 . 00038197368301124996 <nl> - s : 13 . 133656981877564 <nl> + kappa : 0 . 00038197368301125028 <nl> + s : 13 . 133656981877568 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 2781308238925781 <nl> - a : - 0 . 379149472374515 <nl> + v : 2 . 27813082389258 <nl> + a : - 0 . 37914947237451435 <nl> relative_time : 3 . 949999999999994 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586364 . 87824131106 <nl> y : 4140774 . 4979572585 <nl> theta : 1 . 3103091304397658 <nl> - kappa : 0 . 00039049993753673503 <nl> - s : 13 . 247093065502117 <nl> + kappa : 0 . 00039049993753673519 <nl> + s : 13 . 247093065502121 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 2593822849704579 <nl> - a : - 0 . 37077783613350124 <nl> + v : 2 . 2593822849704597 <nl> + a : - 0 . 37077783613350057 <nl> relative_time : 3 . 9999999999999938 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586364 . 90721584449 <nl> - y : 4140774 . 6066715023 <nl> + y : 4140774 . 6066715019 <nl> theta : 1 . 3103537221138308 <nl> - kappa : 0 . 00039801929837979564 <nl> - s : 13 . 359602222162597 <nl> + kappa : 0 . 0003980192983797958 <nl> + s : 13 . 359602222162598 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 2410544503801253 <nl> - a : - 0 . 36232159383865326 <nl> + v : 2 . 2410544503801271 <nl> + a : - 0 . 36232159383865253 <nl> relative_time : 4 . 0499999999999936 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586364 . 93595287169 <nl> y : 4140774 . 7145116404 <nl> theta : 1 . 3103976094630678 <nl> - kappa : 0 . 00039552749201875978 <nl> - s : 13 . 47120559209632 <nl> + kappa : 0 . 00039552749201875919 <nl> + s : 13 . 471205592096323 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 2231515062139247 <nl> - a : - 0 . 35378251390388304 <nl> + v : 2 . 2231515062139264 <nl> + a : - 0 . 35378251390388238 <nl> relative_time : 4 . 0999999999999934 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586364 . 9644557467 <nl> y : 4140774 . 8214988718 <nl> theta : 1 . 3104406262925583 <nl> - kappa : 0 . 00037799322043053881 <nl> - s : 13 . 581924522634706 <nl> + kappa : 0 . 00037799322043053827 <nl> + s : 13 . 58192452263471 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 2056775501435042 <nl> - a : - 0 . 34516236474310291 <nl> + v : 2 . 205677550143506 <nl> + a : - 0 . 34516236474310225 <nl> relative_time : 4 . 1499999999999932 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586364 . 99273547844 <nl> - y : 4140774 . 9276525653 <nl> + y : 4140774 . 9276525644 <nl> theta : 1 . 3104824572724618 <nl> - kappa : 0 . 00035762083202975462 <nl> - s : 13 . 691780563782238 <nl> + kappa : 0 . 0003576208320297531 <nl> + s : 13 . 691780563782242 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 188636591419816 <nl> - a : - 0 . 33646291477022489 <nl> + v : 2 . 1886365914198178 <nl> + a : - 0 . 33646291477022433 <nl> relative_time : 4 . 1999999999999931 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586365 . 02079007623 <nl> - y : 4140775 . 0329957558 <nl> + y : 4140775 . 0329957567 <nl> theta : 1 . 310516692209889 <nl> - kappa : 0 . 00031195914268485156 <nl> - s : 13 . 800795463795426 <nl> + kappa : 0 . 00031195914268484929 <nl> + s : 13 . 800795463795431 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 1720325508731184 <nl> - a : - 0 . 32768593239916122 <nl> + v : 2 . 17203255087312 <nl> + a : - 0 . 32768593239916066 <nl> relative_time : 4 . 2499999999999929 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586365 . 048633856 <nl> - y : 4140775 . 13754734 <nl> - theta : 1 . 310550669886817 <nl> - kappa : 0 . 00026664058086089883 <nl> - s : 13 . 90899116476178 <nl> + y : 4140775 . 1375473393 <nl> + theta : 1 . 3105506698868172 <nl> + kappa : 0 . 00026664058086089661 <nl> + s : 13 . 908991164761785 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 1558692609129713 <nl> - a : - 0 . 31883318604382394 <nl> + v : 2 . 155869260912973 <nl> + a : - 0 . 3188331860438236 <nl> relative_time : 4 . 2999999999999927 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586365 . 07626742707 <nl> y : 4140775 . 241330056 <nl> theta : 1 . 3105734837737741 <nl> - kappa : 0 . 00020563712177367385 <nl> - s : 14 . 01638979817877 <nl> + kappa : 0 . 00020563712177367168 <nl> + s : 14 . 016389798178773 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 140150465528242 <nl> - a : - 0 . 30990644411812529 <nl> + v : 2 . 1401504655282437 <nl> + a : - 0 . 30990644411812507 <nl> relative_time : 4 . 3499999999999925 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586365 . 10370014654 <nl> - y : 4140775 . 3443645071 <nl> - theta : 1 . 3105928953337438 <nl> - kappa : 0 . 00014032137072475881 <nl> - s : 14 . 123013680532786 <nl> + y : 4140775 . 3443645076 <nl> + theta : 1 . 310592895333744 <nl> + kappa : 0 . 00014032137072475664 <nl> + s : 14 . 123013680532789 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 1248798202871 <nl> - a : - 0 . 30090747503597748 <nl> + v : 2 . 1248798202871018 <nl> + a : - 0 . 30090747503597742 <nl> relative_time : 4 . 3999999999999924 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586365 . 13093832543 <nl> - y : 4140775 . 4466722943 <nl> + y : 4140775 . 4466722948 <nl> theta : 1 . 3106049422769861 <nl> - kappa : 6 . 9863091914218117e - 05 <nl> - s : 14 . 228885308878118 <nl> + kappa : 6 . 9863091914214146e - 05 <nl> + s : 14 . 228885308878123 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 11006089233702 <nl> - a : - 0 . 29183804721129258 <nl> + v : 2 . 1100608923370219 <nl> + a : - 0 . 29183804721129269 <nl> relative_time : 4 . 4499999999999922 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586365 . 15798728587 <nl> y : 4140775 . 5482754633 <nl> theta : 1 . 3106059231848781 <nl> - kappa : - 8 . 6243787413305045e - 06 <nl> - s : 14 . 334027356415907 <nl> + kappa : - 8 . 6243787413344753e - 06 <nl> + s : 14 . 334027356415913 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 0956971604047809 <nl> - a : - 0 . 28269992905798275 <nl> + v : 2 . 0956971604047832 <nl> + a : - 0 . 282699929057983 <nl> relative_time : 4 . 499999999999992 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 586365 . 18485442223 <nl> - y : 4140775 . 6491956515 <nl> + x : 586365 . 18485442211 <nl> + y : 4140775 . 649195652 <nl> theta : 1 . 3106068974990706 <nl> - kappa : - 8 . 6584253682731692e - 05 <nl> - s : 14 . 438462635176537 <nl> + kappa : - 8 . 6584253682733033e - 05 <nl> + s : 14 . 438462635176538 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 0817900929995714 <nl> - a : - 0 . 27356769084723587 <nl> + v : 2 . 0817900929995741 <nl> + a : - 0 . 27356769084723581 <nl> relative_time : 4 . 5499999999999918 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586365 . 21154781757 <nl> - y : 4140775 . 7494543721 <nl> + y : 4140775 . 7494543726 <nl> theta : 1 . 3105873259921164 <nl> - kappa : - 0 . 00017211663949919 <nl> - s : 14 . 542214012809849 <nl> + kappa : - 0 . 00017211663949919293 <nl> + s : 14 . 542214012809852 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 0683418393042219 <nl> - a : - 0 . 26434857358658764 <nl> + v : 2 . 0683418393042245 <nl> + a : - 0 . 264348573586588 <nl> relative_time : 4 . 5999999999999917 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586365 . 23807122791 <nl> y : 4140775 . 8490744736 <nl> theta : 1 . 3105674949048578 <nl> - kappa : - 0 . 00025725543213560385 <nl> - s : 14 . 645304535617845 <nl> + kappa : - 0 . 00025725543213560531 <nl> + s : 14 . 645304535617846 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 0553565643327789 <nl> - a : - 0 . 25504973481396243 <nl> + v : 2 . 0553565643327816 <nl> + a : - 0 . 25504973481396315 <nl> relative_time : 4 . 6499999999999915 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586365 . 26443453168 <nl> - y : 4140775 . 9480773811 <nl> + y : 4140775 . 9480773816 <nl> theta : 1 . 3105363612350609 <nl> - kappa : - 0 . 00034331404246111985 <nl> - s : 14 . 747757449206299 <nl> + kappa : - 0 . 00034331404246112137 <nl> + s : 14 . 7477574492063 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 0428380752223934 <nl> - a : - 0 . 24567833206728418 <nl> + v : 2 . 042838075222396 <nl> + a : - 0 . 24567833206728518 <nl> relative_time : 4 . 6999999999999913 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586365 . 29064330133 <nl> y : 4140776 . 0464858543 <nl> theta : 1 . 3104952397672136 <nl> - kappa : - 0 . 00043014480020821754 <nl> - s : 14 . 849596180590925 <nl> + kappa : - 0 . 00043014480020821906 <nl> + s : 14 . 849596180590927 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 0307898212333195 <nl> - a : - 0 . 23624152288447695 <nl> + v : 2 . 0307898212333222 <nl> + a : - 0 . 23624152288447817 <nl> relative_time : 4 . 7499999999999911 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586365 . 31670055632 <nl> - y : 4140776 . 1443235017 <nl> + y : 4140776 . 1443235022 <nl> theta : 1 . 3104535341610584 <nl> - kappa : - 0 . 00051639464451777323 <nl> - s : 14 . 950844320303528 <nl> + kappa : - 0 . 00051639464451777464 <nl> + s : 14 . 950844320303529 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 0192148937489161 <nl> - a : - 0 . 22674646480346469 <nl> + v : 2 . 0192148937489183 <nl> + a : - 0 . 22674646480346602 <nl> relative_time : 4 . 7999999999999909 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 586365 . 342624137 <nl> + x : 586365 . 34262413706 <nl> y : 4140776 . 241610135 <nl> theta : 1 . 3103910212439884 <nl> - kappa : - 0 . 00060018295979416113 <nl> - s : 15 . 051525604498154 <nl> + kappa : - 0 . 00060018295979416417 <nl> + s : 15 . 051525604498158 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 0081160262756446 <nl> - a : - 0 . 21720031536217138 <nl> + v : 2 . 0081160262756468 <nl> + a : - 0 . 21720031536217277 <nl> relative_time : 4 . 8499999999999908 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586365 . 36840790731 <nl> - y : 4140776 . 3383720843 <nl> + y : 4140776 . 3383720838 <nl> theta : 1 . 3103288454698196 <nl> - kappa : - 0 . 00068351939014760893 <nl> - s : 15 . 151663897057256 <nl> + kappa : - 0 . 00068351939014761186 <nl> + s : 15 . 15166389705726 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 1 . 9974955944430715 <nl> - a : - 0 . 20761023209852097 <nl> + v : 1 . 9974955944430739 <nl> + a : - 0 . 20761023209852242 <nl> relative_time : 4 . 8999999999999906 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586365 . 39406701212 <nl> y : 4140776 . 4346301234 <nl> theta : 1 . 3102567257837057 <nl> - kappa : - 0 . 00076318004081693893 <nl> - s : 15 . 251283171697839 <nl> + kappa : - 0 . 00076318004081694034 <nl> + s : 15 . 251283171697841 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 1 . 9873556160038663 <nl> - a : - 0 . 19798337255043746 <nl> + v : 1 . 9873556160038688 <nl> + a : - 0 . 19798337255043885 <nl> relative_time : 4 . 94999999999999 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586365 . 41960717912 <nl> y : 4140776 . 5304076318 <nl> theta : 1 . 3101751834906432 <nl> - kappa : - 0 . 00083935438017653072 <nl> - s : 15 . 350407494077615 <nl> + kappa : - 0 . 00083935438017653354 <nl> + s : 15 . 350407494077619 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 1 . 9776977508338029 <nl> - a : - 0 . 18832689425584487 <nl> + v : 1 . 9776977508338052 <nl> + a : - 0 . 18832689425584614 <nl> relative_time : 4 . 99999999999999 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586365 . 44502603763 <nl> y : 4140776 . 6257302244 <nl> theta : 1 . 3100940285007117 <nl> - kappa : - 0 . 00091516691292225431 <nl> - s : 15 . 449061003901171 <nl> + kappa : - 0 . 000915166912922257 <nl> + s : 15 . 449061003901175 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 1 . 9685233009317584 <nl> - a : - 0 . 17864795475266707 <nl> + v : 1 . 9685233009317606 <nl> + a : - 0 . 17864795475266826 <nl> relative_time : 5 . 04999999999999 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586365 . 47035085177 <nl> y : 4140776 . 7206156692 <nl> theta : 1 . 30999611540779 <nl> - kappa : - 0 . 00098085847661868466 <nl> - s : 15 . 547267897026112 <nl> + kappa : - 0 . 000980858476618687 <nl> + s : 15 . 547267897026115 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 1 . 959833210419714 <nl> - a : - 0 . 16895371157882816 <nl> + v : 1 . 959833210419716 <nl> + a : - 0 . 16895371157882919 <nl> relative_time : 5 . 09999999999999 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586365 . 49556778988 <nl> - y : 4140776 . 8150927383 <nl> + y : 4140776 . 8150927378 <nl> theta : 1 . 309897772724214 <nl> - kappa : - 0 . 001045781794554854 <nl> - s : 15 . 645052407569214 <nl> + kappa : - 0 . 0010457817945548563 <nl> + s : 15 . 645052407569217 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 1 . 9516280655427547 <nl> - a : - 0 . 15925132227225203 <nl> + v : 1 . 9516280655427567 <nl> + a : - 0 . 15925132227225289 <nl> relative_time : 5 . 14999999999999 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586365 . 52069144347 <nl> y : 4140776 . 9091826384 <nl> theta : 1 . 3097944912376398 <nl> - kappa : - 0 . 0011054597869197627 <nl> - s : 15 . 742438790012594 <nl> + kappa : - 0 . 0011054597869197646 <nl> + s : 15 . 742438790012597 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 1 . 943908094669069 <nl> - a : - 0 . 14954794437086266 <nl> + v : 1 . 943908094669071 <nl> + a : - 0 . 14954794437086336 <nl> relative_time : 5 . 1999999999999895 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 586365 . 54573503544 <nl> - y : 4140777 . 002906946 <nl> + x : 586365 . 54573503532 <nl> + y : 4140777 . 0029069465 <nl> theta : 1 . 3096822830581674 <nl> - kappa : - 0 . 0011562109818458576 <nl> - s : 15 . 83945130130985 <nl> + kappa : - 0 . 0011562109818458596 <nl> + s : 15 . 839451301309854 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 1 . 9366731682899498 <nl> - a : - 0 . 13985073541258408 <nl> + v : 1 . 9366731682899518 <nl> + a : - 0 . 13985073541258455 <nl> relative_time : 5 . 2499999999999893 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 586365 . 57068837108 <nl> + x : 586365 . 5706883712 <nl> y : 4140777 . 0962934745 <nl> theta : 1 . 3095704792731158 <nl> - kappa : - 0 . 0012067792712837895 <nl> - s : 15 . 936114182992226 <nl> + kappa : - 0 . 0012067792712837913 <nl> + s : 15 . 936114182992229 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 1 . 9299227990197934 <nl> - a : - 0 . 13016685293534025 <nl> + v : 1 . 9299227990197954 <nl> + a : - 0 . 13016685293534053 <nl> relative_time : 5 . 2999999999999892 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 586365 . 59557906818 <nl> + x : 586365 . 59557906829 <nl> y : 4140777 . 1893598987 <nl> theta : 1 . 3094510591404724 <nl> - kappa : - 0 . 0012447172966107115 <nl> - s : 16 . 032451643274758 <nl> + kappa : - 0 . 0012447172966107128 <nl> + s : 16 . 032451643274761 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 1 . 9236561415961 <nl> - a : - 0 . 12050345447705516 <nl> + v : 1 . 923656141596102 <nl> + a : - 0 . 12050345447705518 <nl> relative_time : 5 . 349999999999989 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586365 . 62039910676 <nl> y : 4140777 . 2821333678 <nl> theta : 1 . 3093293271585906 <nl> - kappa : - 0 . 0012783505299063574 <nl> - s : 16 . 128487839162439 <nl> + kappa : - 0 . 0012783505299063587 <nl> + s : 16 . 128487839162442 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 1 . 9178719928794732 <nl> - a : - 0 . 11086769757565273 <nl> + v : 1 . 9178719928794752 <nl> + a : - 0 . 11086769757565254 <nl> relative_time : 5 . 3999999999999888 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586365 . 64515088487 <nl> - y : 4140777 . 3746381737 <nl> + y : 4140777 . 3746381742 <nl> theta : 1 . 3092072769889407 <nl> - kappa : - 0 . 0013097272823738104 <nl> - s : 16 . 22424685855637 <nl> + kappa : - 0 . 0013097272823738111 <nl> + s : 16 . 224246858556373 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 1 . 9125687918536212 <nl> - a : - 0 . 10126673976905701 <nl> + v : 1 . 9125687918536232 <nl> + a : - 0 . 10126673976905659 <nl> relative_time : 5 . 4499999999999886 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586365 . 66986450716 <nl> y : 4140777 . 4668911044 <nl> theta : 1 . 3090801357226836 <nl> - kappa : - 0 . 0013235601625365898 <nl> - s : 16 . 319752702359914 <nl> + kappa : - 0 . 00132356016253659 <nl> + s : 16 . 319752702359917 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 1 . 9077446196253554 <nl> - a : - 0 . 0917077385951919 <nl> + v : 1 . 9077446196253574 <nl> + a : - 0 . 091707738595191324 <nl> relative_time : 5 . 4999999999999885 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586365 . 69451879966 <nl> y : 4140777 . 5589225637 <nl> theta : 1 . 3089532996818443 <nl> - kappa : - 0 . 0013373598342923405 <nl> - s : 16 . 415029266584853 <nl> + kappa : - 0 . 0013373598342923409 <nl> + s : 16 . 415029266584856 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 1 . 9033971994245913 <nl> - a : - 0 . 082197851591981452 <nl> + v : 1 . 9033971994245933 <nl> + a : - 0 . 0821978515919807 <nl> relative_time : 5 . 5499999999999883 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586365 . 71913392341 <nl> - y : 4140777 . 6507517607 <nl> + y : 4140777 . 6507517612 <nl> theta : 1 . 308826368479048 <nl> - kappa : - 0 . 0013413646830661328 <nl> - s : 16 . 510100324457536 <nl> + kappa : - 0 . 0013413646830661326 <nl> + s : 16 . 51010032445754 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 1 . 8995238966043477 <nl> - a : - 0 . 072744236297349607 <nl> + v : 1 . 8995238966043497 <nl> + a : - 0 . 072744236297348747 <nl> relative_time : 5 . 5999999999999881 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586365 . 74371886544 <nl> - y : 4140777 . 7424007542 <nl> + y : 4140777 . 7424007538 <nl> theta : 1 . 3086992350518725 <nl> - kappa : - 0 . 0013335761480228582 <nl> - s : 16 . 604989508525051 <nl> + kappa : - 0 . 0013335761480228578 <nl> + s : 16 . 604989508525055 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 1 . 896121718640748 <nl> - a : - 0 . 063354050249220362 <nl> + v : 1 . 89612171864075 <nl> + a : - 0 . 063354050249219362 <nl> relative_time : 5 . 6499999999999879 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586365 . 76826276758 <nl> - y : 4140777 . 8338967552 <nl> + y : 4140777 . 8338967557 <nl> theta : 1 . 3085723138507745 <nl> - kappa : - 0 . 0013258006144891688 <nl> - s : 16 . 699720292761363 <nl> + kappa : - 0 . 0013258006144891686 <nl> + s : 16 . 699720292761366 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 1 . 8931873151330185 <nl> - a : - 0 . 054034450985517651 <nl> + v : 1 . 8931873151330207 <nl> + a : - 0 . 0540344509855166 <nl> relative_time : 5 . 6999999999999877 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 586365 . 79279569711 <nl> - y : 4140777 . 9252558178 <nl> + x : 586365 . 792795697 <nl> + y : 4140777 . 9252558174 <nl> theta : 1 . 3084494955623949 <nl> - kappa : - 0 . 0013001155729464552 <nl> - s : 16 . 794315974673474 <nl> + kappa : - 0 . 0013001155729464528 <nl> + s : 16 . 794315974673481 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 1 . 8907169778034902 <nl> - a : - 0 . 044792596044165495 <nl> + v : 1 . 8907169778034925 <nl> + a : - 0 . 04479259604416444 <nl> relative_time : 5 . 7499999999999876 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586365 . 8173062962 <nl> y : 4140778 . 01650491 <nl> theta : 1 . 3083279187344279 <nl> - kappa : - 0 . 0012694526969101686 <nl> - s : 16 . 888799657407592 <nl> + kappa : - 0 . 0012694526969101675 <nl> + s : 16 . 888799657407596 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 1 . 8887066404975974 <nl> - a : - 0 . 035635642963087855 <nl> + v : 1 . 8887066404975998 <nl> + a : - 0 . 035635642963086828 <nl> relative_time : 5 . 7999999999999874 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 586365 . 8417966346 <nl> + x : 586365 . 84179663472 <nl> y : 4140778 . 107667177 <nl> theta : 1 . 3082073753513339 <nl> - kappa : - 0 . 0012378407975543117 <nl> - s : 16 . 983194231855258 <nl> + kappa : - 0 . 0012378407975543102 <nl> + s : 16 . 983194231855261 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 1 . 8871518791838782 <nl> - a : - 0 . 02657074928020875 <nl> + v : 1 . 8871518791838806 <nl> + a : - 0 . 026570749280207751 <nl> relative_time : 5 . 8499999999999872 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 586365 . 86629535875 <nl> - y : 4140778 . 1987583842 <nl> + y : 4140778 . 1987583837 <nl> theta : 1 . 3080951620732462 <nl> - kappa : - 0 . 0011974750069205049 <nl> - s : 17 . 077522358759531 <nl> + kappa : - 0 . 0011974750069205032 <nl> + s : 17 . 077522358759534 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 1 . 8860479119539746 <nl> - a : - 0 . 01760507253345206 <nl> + v : 1 . 8860479119539768 <nl> + a : - 0 . 017605072533451283 <nl> relative_time : 5 . 899999999999987 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586365 . 89078264625 <nl> y : 4140778 . 2898070677 <nl> theta : 1 . 3079830011785729 <nl> - kappa : - 0 . 0011571280600960548 <nl> - s : 17 . 171806450821119 <nl> + kappa : - 0 . 0011571280600960532 <nl> + s : 17 . 171806450821123 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 1 . 8853895990226324 <nl> - a : - 0 . 0087457702607418586 <nl> + v : 1 . 8853895990226346 <nl> + a : - 0 . 0087457702607413035 <nl> relative_time : 5 . 9499999999999869 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 586365 . 915275059 <nl> y : 4140778 . 3808317054 <nl> theta : 1 . 3078755528881929 <nl> - kappa : - 0 . 0011129660894217696 <nl> - s : 17 . 266068654804553 <nl> + kappa : - 0 . 0011129660894217679 <nl> + s : 17 . 266068654804556 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 1 . 8851714427277009 <nl> - a : - 2 . 0539125955565396e - 15 <nl> + v : 1 . 8851714427277033 <nl> + a : - 1 . 8318679906315083e - 15 <nl> relative_time : 5 . 9999999999999867 <nl> } <nl> decision { <nl> mmm a / modules / planning / testdata / sunnyvale_loop_test / result_cruise_0 . pb . txt <nl> ppp b / modules / planning / testdata / sunnyvale_loop_test / result_cruise_0 . pb . txt <nl> trajectory_point { <nl> path_point { <nl> x : 587503 . 356047 <nl> y : 4140719 . 15699 <nl> + z : 0 <nl> theta : 2 . 35595493774 <nl> - kappa : 1 . 2056866800287582e - 18 <nl> - s : 3 . 4694469519536142e - 18 <nl> + kappa : 1 . 2235893760166248e - 18 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 5 . 4222221374511719 <nl> - a : 0 . 53407468732402641 <nl> + a : 0 . 534074687324036 <nl> relative_time : 0 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 4489115447335852 <nl> - a : 0 . 53341519106321922 <nl> + v : 5 . 4489115447335861 <nl> + a : 0 . 5334151910632291 <nl> relative_time : 0 . 05 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 4755551912291134 <nl> - a : 0 . 53224777509959387 <nl> + v : 5 . 4755551912291143 <nl> + a : 0 . 53224777509960386 <nl> relative_time : 0 . 1 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587502 . 77740415861 <nl> y : 4140719 . 73705787 <nl> theta : 2 . 3537402393799294 <nl> - kappa : - 0 . 0042278399435957386 <nl> - s : 0 . 81933282091128767 <nl> + kappa : - 0 . 0042278399435957395 <nl> + s : 0 . 81933282091128778 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 5021282088402632 <nl> - a : 0 . 53059355493909555 <nl> + v : 5 . 502128208840265 <nl> + a : 0 . 53059355493910576 <nl> relative_time : 0 . 15000000000000002 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 5286067852448406 <nl> - a : 0 . 52847364608767011 <nl> + v : 5 . 5286067852448433 <nl> + a : 0 . 52847364608768044 <nl> relative_time : 0 . 2 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587502 . 38824997179 <nl> + x : 587502 . 38824997167 <nl> y : 4140720 . 1297539305 <nl> - theta : 2 . 3506063104481258 <nl> - kappa : - 0 . 00650512049064144 <nl> - s : 1 . 3721915455533387 <nl> + theta : 2 . 3506063104481254 <nl> + kappa : - 0 . 0065051204906414421 <nl> + s : 1 . 3721915455533389 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 5549681638959481 <nl> - a : 0 . 52590916405126276 <nl> + v : 5 . 55496816389595 <nl> + a : 0 . 5259091640512733 <nl> relative_time : 0 . 25 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587502 . 1925943282 <nl> y : 4140720 . 3278144933 <nl> theta : 2 . 3486333488500089 <nl> - kappa : - 0 . 0075133128107084841 <nl> - s : 1 . 6505961383120453 <nl> + kappa : - 0 . 0075133128107084859 <nl> + s : 1 . 6505961383120458 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 5811906440219836 <nl> - a : 0 . 52292122433581922 <nl> + v : 5 . 5811906440219863 <nl> + a : 0 . 52292122433582988 <nl> relative_time : 0 . 3 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587501 . 99602000427 <nl> - y : 4140720 . 5268050279 <nl> + x : 587501 . 99602000439 <nl> + y : 4140720 . 5268050283 <nl> theta : 2 . 3466511319587631 <nl> - kappa : - 0 . 00852623899089221 <nl> - s : 1 . 9303079503103053 <nl> + kappa : - 0 . 008526238990892214 <nl> + s : 1 . 930307950310306 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 6072535806266446 <nl> - a : 0 . 519530942447285 <nl> + v : 5 . 6072535806266481 <nl> + a : 0 . 51953094244729581 <nl> relative_time : 0 . 35 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587501 . 79987693951 <nl> y : 4140720 . 7280355981 <nl> theta : 2 . 3440327503331342 <nl> - kappa : - 0 . 0092584688105839721 <nl> - s : 2 . 2113185102424615 <nl> + kappa : - 0 . 0092584688105839738 <nl> + s : 2 . 211318510242462 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 6331373844889256 <nl> - a : 0 . 5157594338916055 <nl> + v : 5 . 63313738448893 <nl> + a : 0 . 51575943389161638 <nl> relative_time : 0 . 39999999999999997 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587501 . 60325006233 <nl> y : 4140720 . 9305969356 <nl> theta : 2 . 3412081947648233 <nl> - kappa : - 0 . 0099056928171408886 <nl> - s : 2 . 4936183937361878 <nl> + kappa : - 0 . 00990569281714089 <nl> + s : 2 . 4936183937361891 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 6588235221631189 <nl> - a : 0 . 51162781417472636 <nl> + v : 5 . 6588235221631233 <nl> + a : 0 . 51162781417473724 <nl> relative_time : 0 . 44999999999999996 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587501 . 40573233971 <nl> y : 4140721 . 1340760053 <nl> theta : 2 . 3383708418590365 <nl> - kappa : - 0 . 010555849162137112 <nl> - s : 2 . 7771972761412562 <nl> + kappa : - 0 . 010555849162137117 <nl> + s : 2 . 7771972761412576 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 6842945159788112 <nl> - a : 0 . 50715719880259291 <nl> + v : 5 . 6842945159788165 <nl> + a : 0 . 507157198802604 <nl> relative_time : 0 . 49999999999999994 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587501 . 20785658911 <nl> - y : 4140721 . 3389689173 <nl> + y : 4140721 . 3389689168 <nl> theta : 2 . 3354052619022658 <nl> - kappa : - 0 . 011135728545709971 <nl> - s : 3 . 0620439853183 <nl> + kappa : - 0 . 011135728545709973 <nl> + s : 3 . 0620439853183017 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 7095339440408894 <nl> - a : 0 . 50236870328115091 <nl> + v : 5 . 7095339440408956 <nl> + a : 0 . 502368703281162 <nl> relative_time : 0 . 54999999999999993 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587501 . 01083006291 <nl> + x : 587501 . 01083006279 <nl> y : 4140721 . 5464182561 <nl> theta : 2 . 3320475549722413 <nl> - kappa : - 0 . 011478188900096225 <nl> - s : 3 . 3481465544275797 <nl> + kappa : - 0 . 011478188900096229 <nl> + s : 3 . 3481465544275819 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 7345264402295371 <nl> - a : 0 . 4972834431163457 <nl> + v : 5 . 7345264402295433 <nl> + a : 0 . 49728344311635686 <nl> relative_time : 0 . 6 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587500 . 81294743181 <nl> y : 4140721 . 7547689872 <nl> theta : 2 . 3286752194305205 <nl> - kappa : - 0 . 011822137287236913 <nl> - s : 3 . 6354922747177465 <nl> + kappa : - 0 . 011822137287236916 <nl> + s : 3 . 6354922747177492 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 759257694200234 <nl> - a : 0 . 49192253381412288 <nl> + v : 5 . 75925769420024 <nl> + a : 0 . 49192253381413403 <nl> relative_time : 0 . 65 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587500 . 61421792267 <nl> y : 4140721 . 9640113972 <nl> theta : 2 . 32528848920829 <nl> - kappa : - 0 . 012167557670083649 <nl> - s : 3 . 9240677483146089 <nl> + kappa : - 0 . 012167557670083651 <nl> + s : 3 . 9240677483146111 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 7837144513837577 <nl> - a : 0 . 48630709088042789 <nl> + v : 5 . 7837144513837657 <nl> + a : 0 . 48630709088043905 <nl> relative_time : 0 . 70000000000000007 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587500 . 41659795481 <nl> - y : 4140722 . 1759618642 <nl> + y : 4140722 . 1759618637 <nl> theta : 2 . 3217230645471783 <nl> kappa : - 0 . 012326204163842253 <nl> - s : 4 . 2138589410098959 <nl> + s : 4 . 2138589410098986 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 8078845129861847 <nl> - a : 0 . 48045822982120628 <nl> + v : 5 . 8078845129861927 <nl> + a : 0 . 4804582298212175 <nl> relative_time : 0 . 75000000000000011 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> y : 4140722 . 3893785132 <nl> theta : 2 . 318089863141453 <nl> kappa : - 0 . 012424943925533574 <nl> - s : 4 . 5048512350500243 <nl> + s : 4 . 5048512350500278 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 8317567359888853 <nl> - a : 0 . 47439706614240357 <nl> + v : 5 . 8317567359888942 <nl> + a : 0 . 47439706614241484 <nl> relative_time : 0 . 80000000000000016 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587500 . 02016643737 <nl> y : 4140722 . 6036649523 <nl> theta : 2 . 3144418581447153 <nl> - kappa : - 0 . 012524086105786052 <nl> - s : 4 . 7970294819248593 <nl> + kappa : - 0 . 012524086105786054 <nl> + s : 4 . 7970294819248629 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 855321033148531 <nl> - a : 0 . 46814471534996532 <nl> + v : 5 . 85532103314854 <nl> + a : 0 . 46814471534997654 <nl> relative_time : 0 . 8500000000000002 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587499 . 821647493 <nl> y : 4140722 . 8196293251 <nl> theta : 2 . 3107789033009905 <nl> - kappa : - 0 . 012564032836330811 <nl> - s : 5 . 0903780551564841 <nl> + kappa : - 0 . 012564032836330808 <nl> + s : 5 . 0903780551564886 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 878568372997087 <nl> - a : 0 . 461722292949837 <nl> + v : 5 . 8785683729970968 <nl> + a : 0 . 46172229294984823 <nl> relative_time : 0 . 90000000000000024 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587499 . 62417994975 <nl> - y : 4140723 . 0381207359 <nl> + x : 587499 . 62417994963 <nl> + y : 4140723 . 0381207364 <nl> theta : 2 . 3071006137549221 <nl> kappa : - 0 . 012482185218403996 <nl> - s : 5 . 3848809030879634 <nl> + s : 5 . 3848809030879679 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 9014907798418186 <nl> - a : 0 . 45515091444796407 <nl> + v : 5 . 9014907798418292 <nl> + a : 0 . 45515091444797534 <nl> relative_time : 0 . 95000000000000029 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587499 . 42594946432 <nl> y : 4140723 . 2574563175 <nl> - theta : 2 . 3034080758078095 <nl> + theta : 2 . 303408075807809 <nl> kappa : - 0 . 012400021371394405 <nl> - s : 5 . 680521601672103 <nl> + s : 5 . 6805216016721083 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 9240813337652867 <nl> - a : 0 . 44845169535029217 <nl> + v : 5 . 9240813337652982 <nl> + a : 0 . 44845169535030344 <nl> relative_time : 1 . 0000000000000002 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587499 . 22696726385 <nl> y : 4140723 . 4776236475 <nl> - theta : 2 . 2997015994280083 <nl> - kappa : - 0 . 012317545948661995 <nl> - s : 5 . 9772834072602263 <nl> + theta : 2 . 2997015994280079 <nl> + kappa : - 0 . 012317545948661994 <nl> + s : 5 . 9772834072602317 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 9463341706253505 <nl> - a : 0 . 44164575116276672 <nl> + v : 5 . 9463341706253621 <nl> + a : 0 . 441645751162778 <nl> relative_time : 1 . 0500000000000003 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587499 . 02981109754 <nl> - y : 4140723 . 7009011926 <nl> + y : 4140723 . 7009011931 <nl> theta : 2 . 2961163826536266 <nl> - kappa : - 0 . 01212733236499107 <nl> - s : 6 . 2751493093909261 <nl> + kappa : - 0 . 012127332364991066 <nl> + s : 6 . 2751493093909323 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 968244482055165 <nl> - a : 0 . 43475419739133325 <nl> + v : 5 . 9682444820551774 <nl> + a : 0 . 43475419739134458 <nl> relative_time : 1 . 1000000000000003 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587498 . 83208341361 <nl> y : 4140723 . 9251254648 <nl> theta : 2 . 2925257977946036 <nl> - kappa : - 0 . 011930234290074948 <nl> - s : 6 . 574102083578838 <nl> + kappa : - 0 . 011930234290074945 <nl> + s : 6 . 5741020835788451 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 9898085154631842 <nl> - a : 0 . 42779814954193734 <nl> + v : 5 . 9898085154631975 <nl> + a : 0 . 42779814954194861 <nl> relative_time : 1 . 1500000000000004 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587498 . 63364837028 <nl> - y : 4140724 . 150151886 <nl> + y : 4140724 . 1501518865 <nl> theta : 2 . 2889223930877578 <nl> - kappa : - 0 . 011732431108144262 <nl> - s : 6 . 8741243441034028 <nl> + kappa : - 0 . 011732431108144257 <nl> + s : 6 . 87412434410341 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 0110235740331586 <nl> - a : 0 . 42079872312052441 <nl> + v : 6 . 0110235740331719 <nl> + a : 0 . 42079872312053568 <nl> relative_time : 1 . 2000000000000004 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587498 . 43612589827 <nl> y : 4140724 . 3773689666 <nl> theta : 2 . 2854433825152354 <nl> - kappa : - 0 . 011510638404587492 <nl> - s : 7 . 17519859679763 <nl> + kappa : - 0 . 011510638404587485 <nl> + s : 7 . 1751985967976379 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 0318880167241362 <nl> - a : 0 . 41377703363304008 <nl> + v : 6 . 0318880167241495 <nl> + a : 0 . 41377703363305135 <nl> relative_time : 1 . 2500000000000004 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587498 . 23898040387 <nl> y : 4140724 . 6062866766 <nl> theta : 2 . 2820422524316712 <nl> - kappa : - 0 . 011272793572966015 <nl> - s : 7 . 4773072918368646 <nl> + kappa : - 0 . 011272793572966008 <nl> + s : 7 . 4773072918368735 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 0524012582704607 <nl> - a : 0 . 40675419658542972 <nl> + v : 6 . 0524012582704749 <nl> + a : 0 . 4067541965854411 <nl> relative_time : 1 . 3000000000000005 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587498 . 04117132293 <nl> y : 4140724 . 8359749164 <nl> - theta : 2 . 2786296702002433 <nl> - kappa : - 0 . 011034148162109651 <nl> - s : 7 . 78043287652755 <nl> + theta : 2 . 2786296702002429 <nl> + kappa : - 0 . 011034148162109642 <nl> + s : 7 . 78043287652756 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 0725637691817758 <nl> - a : 0 . 39975132748363895 <nl> + v : 6 . 0725637691817909 <nl> + a : 0 . 39975132748365028 <nl> relative_time : 1 . 3500000000000005 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587497 . 84346204228 <nl> + x : 587497 . 84346204239 <nl> y : 4140725 . 0670609931 <nl> theta : 2 . 2752823489370884 <nl> - kappa : - 0 . 01077754349741852 <nl> - s : 8 . 084557848095999 <nl> + kappa : - 0 . 010777543497418508 <nl> + s : 8 . 08455784809601 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 0923770757430207 <nl> - a : 0 . 39278954183361325 <nl> + v : 6 . 0923770757430358 <nl> + a : 0 . 39278954183362469 <nl> relative_time : 1 . 4000000000000006 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587497 . 64686449443 <nl> - y : 4140725 . 3003840744 <nl> + x : 587497 . 64686449431 <nl> + y : 4140725 . 300384074 <nl> theta : 2 . 2721021126552858 <nl> - kappa : - 0 . 010480143312280536 <nl> - s : 8 . 389664806477148 <nl> + kappa : - 0 . 010480143312280525 <nl> + s : 8 . 38966480647716 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 1118437600144322 <nl> - a : 0 . 3858899551412982 <nl> + v : 6 . 1118437600144482 <nl> + a : 0 . 38588995514130964 <nl> relative_time : 1 . 4500000000000006 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587497 . 44964530889 <nl> y : 4140725 . 5344449189 <nl> theta : 2 . 2689117987380771 <nl> - kappa : - 0 . 010181802753564038 <nl> - s : 8 . 6957365071033283 <nl> + kappa : - 0 . 010181802753564027 <nl> + s : 8 . 69573650710334 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 1309674598315427 <nl> - a : 0 . 3790736829126381 <nl> + v : 6 . 1309674598315596 <nl> + a : 0 . 37907368291264837 <nl> relative_time : 1 . 5000000000000007 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587497 . 25189177087 <nl> y : 4140725 . 7692939518 <nl> - theta : 2 . 2657238612781745 <nl> - kappa : - 0 . 0098779287197999759 <nl> - s : 9 . 0027557609865987 <nl> + theta : 2 . 265723861278174 <nl> + kappa : - 0 . 0098779287197999568 <nl> + s : 9 . 0027557609866111 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 149743515785123 <nl> - a : 0 . 37197215766741493 <nl> + v : 6 . 14974351578514 <nl> + a : 0 . 37197215766742464 <nl> relative_time : 1 . 5500000000000007 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587497 . 05580638 <nl> + x : 587497 . 05580637988 <nl> y : 4140726 . 0067454679 <nl> theta : 2 . 26288950792603 <nl> - kappa : - 0 . 00943599712502698 <nl> - s : 9 . 3107049500198613 <nl> + kappa : - 0 . 00943599712502696 <nl> + s : 9 . 3107049500198755 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 1681650560643462 <nl> - a : 0 . 36489346038589981 <nl> + v : 6 . 1681650560643639 <nl> + a : 0 . 36489346038590903 <nl> relative_time : 1 . 6000000000000008 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587496 . 85914012464 <nl> - y : 4140726 . 2449003872 <nl> + x : 587496 . 85914012452 <nl> + y : 4140726 . 2449003877 <nl> theta : 2 . 2600467313796657 <nl> - kappa : - 0 . 00899275639481312 <nl> - s : 9 . 6195663779654748 <nl> + kappa : - 0 . 0089927563948131 <nl> + s : 9 . 619566377965489 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 186233282734527 <nl> - a : 0 . 35784001775323504 <nl> + v : 6 . 1862332827345456 <nl> + a : 0 . 35784001775324381 <nl> relative_time : 1 . 6500000000000008 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587496 . 66190423269 <nl> - y : 4140726 . 4837451139 <nl> + x : 587496 . 66190423258 <nl> + y : 4140726 . 4837451135 <nl> theta : 2 . 2571957398435325 <nl> - kappa : - 0 . 0085482318340617171 <nl> - s : 9 . 9293224117224153 <nl> + kappa : - 0 . 0085482318340616929 <nl> + s : 9 . 9293224117224312 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 2039495191952367 <nl> - a : 0 . 35081425645456293 <nl> + v : 6 . 2039495191952554 <nl> + a : 0 . 35081425645457143 <nl> relative_time : 1 . 7000000000000008 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587496 . 4657157422 <nl> + x : 587496 . 46571574209 <nl> y : 4140726 . 7245809152 <nl> theta : 2 . 254728795574251 <nl> - kappa : - 0 . 0080344378062625274 <nl> - s : 10 . 239955487392997 <nl> + kappa : - 0 . 0080344378062625 <nl> + s : 10 . 239955487393013 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 2213152101803022 <nl> - a : 0 . 34381860317502577 <nl> + v : 6 . 2213152101803217 <nl> + a : 0 . 343818603175034 <nl> relative_time : 1 . 7500000000000009 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587496 . 269395823 <nl> y : 4140726 . 9664200088 <nl> theta : 2 . 2523554661336158 <nl> - kappa : - 0 . 0075017966246261614 <nl> - s : 10 . 551448116349579 <nl> + kappa : - 0 . 0075017966246261319 <nl> + s : 10 . 551448116349597 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 23833192175781 <nl> - a : 0 . 33685548459976589 <nl> + v : 6 . 23833192175783 <nl> + a : 0 . 33685548459977388 <nl> relative_time : 1 . 8000000000000009 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587496 . 07254513679 <nl> y : 4140727 . 2089129346 <nl> theta : 2 . 2499757253111232 <nl> - kappa : - 0 . 0069677154036557852 <nl> - s : 10 . 863782891301284 <nl> + kappa : - 0 . 006967715403655754 <nl> + s : 10 . 863782891301302 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 2550013413301029 <nl> - a : 0 . 32992732741392555 <nl> + v : 6 . 2550013413301224 <nl> + a : 0 . 32992732741393338 <nl> relative_time : 1 . 850000000000001 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587495 . 8761471539 <nl> - y : 4140727 . 4528303 <nl> + y : 4140727 . 4528303007 <nl> theta : 2 . 24791662772843 <nl> - kappa : - 0 . 0064164368549825251 <nl> - s : 11 . 176942492360705 <nl> + kappa : - 0 . 00641643685498249 <nl> + s : 11 . 176942492360725 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 2713252776337791 <nl> - a : 0 . 323036558302647 <nl> + v : 6 . 2713252776337995 <nl> + a : 0 . 32303655830265471 <nl> relative_time : 1 . 900000000000001 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587495 . 6799216643 <nl> y : 4140727 . 6979240794 <nl> theta : 2 . 2460804395567457 <nl> - kappa : - 0 . 0058527151593154182 <nl> - s : 11 . 490909693110625 <nl> + kappa : - 0 . 0058527151593153835 <nl> + s : 11 . 490909693110645 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 2873056607396958 <nl> - a : 0 . 31618560395107259 <nl> + v : 6 . 2873056607397162 <nl> + a : 0 . 3161856039510802 <nl> relative_time : 1 . 9500000000000011 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587495 . 483202139 <nl> - y : 4140727 . 9436349287 <nl> + y : 4140727 . 9436349282 <nl> theta : 2 . 2442396283865094 <nl> - kappa : - 0 . 0052875741858643011 <nl> - s : 11 . 805667366670722 <nl> + kappa : - 0 . 005287574185864263 <nl> + s : 11 . 805667366670743 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 3029445420529671 <nl> - a : 0 . 30937689104434463 <nl> + v : 6 . 3029445420529875 <nl> + a : 0 . 30937689104435218 <nl> relative_time : 2 . 0000000000000009 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587495 . 28649835056 <nl> - y : 4140728 . 1903471542 <nl> + y : 4140728 . 1903471546 <nl> theta : 2 . 2426212471322318 <nl> - kappa : - 0 . 0047340091805899249 <nl> - s : 12 . 121198491764289 <nl> + kappa : - 0 . 0047340091805898859 <nl> + s : 12 . 121198491764313 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 3182440943129627 <nl> - a : 0 . 30261284626760532 <nl> + v : 6 . 3182440943129849 <nl> + a : 0 . 30261284626761287 <nl> relative_time : 2 . 0500000000000007 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587495 . 09004564234 <nl> y : 4140728 . 4382266039 <nl> theta : 2 . 2413275833860973 <nl> - kappa : - 0 . 0041978889009309777 <nl> - s : 12 . 437486158784948 <nl> + kappa : - 0 . 0041978889009309395 <nl> + s : 12 . 437486158784971 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 3332066115933126 <nl> - a : 0 . 295895896305997 <nl> + v : 6 . 3332066115933348 <nl> + a : 0 . 2958958963060046 <nl> relative_time : 2 . 1000000000000005 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587494 . 89313346031 <nl> y : 4140728 . 6866858075 <nl> - theta : 2 . 2400308932062414 <nl> - kappa : - 0 . 0036605147152580196 <nl> - s : 12 . 754513575863349 <nl> + theta : 2 . 2400308932062409 <nl> + kappa : - 0 . 0036605147152579771 <nl> + s : 12 . 754513575863374 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 3478345093019009 <nl> - a : 0 . 289228467844662 <nl> + v : 6 . 3478345093019231 <nl> + a : 0 . 28922846784466966 <nl> relative_time : 2 . 1500000000000004 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587494 . 69597943593 <nl> y : 4140728 . 9358754228 <nl> - theta : 2 . 2388574177263436 <nl> - kappa : - 0 . 0031444866345100991 <nl> - s : 13 . 072264074933901 <nl> + theta : 2 . 2388574177263432 <nl> + kappa : - 0 . 003144486634510064 <nl> + s : 13 . 072264074933926 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 3621303241808693 <nl> - a : 0 . 28261298756874259 <nl> + v : 6 . 3621303241808915 <nl> + a : 0 . 28261298756875031 <nl> relative_time : 2 . 2 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587494 . 49900058424 <nl> y : 4140729 . 1861037584 <nl> theta : 2 . 2380548033603791 <nl> - kappa : - 0 . 0026941252778422548 <nl> - s : 13 . 390721117801471 <nl> + kappa : - 0 . 0026941252778422149 <nl> + s : 13 . 3907211178015 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 3760967143066178 <nl> - a : 0 . 276051882163381 <nl> + v : 6 . 3760967143066409 <nl> + a : 0 . 27605188216338877 <nl> relative_time : 2 . 25 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587494 . 30159485154 <nl> y : 4140729 . 4368743747 <nl> - theta : 2 . 2372504492868939 <nl> - kappa : - 0 . 0022427879242957445 <nl> - s : 13 . 709868302208109 <nl> + theta : 2 . 2372504492868934 <nl> + kappa : - 0 . 0022427879242957068 <nl> + s : 13 . 709868302208136 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 3897364590898018 <nl> - a : 0 . 26954757831371962 <nl> + v : 6 . 3897364590898258 <nl> + a : 0 . 26954757831372744 <nl> relative_time : 2 . 3 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587494 . 10382860713 <nl> y : 4140729 . 6882187375 <nl> theta : 2 . 2364900462174053 <nl> - kappa : - 0 . 0018078699466707849 <nl> - s : 14 . 029689367899747 <nl> + kappa : - 0 . 0018078699466707558 <nl> + s : 14 . 029689367899778 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 4030524592753366 <nl> - a : 0 . 26310250270490065 <nl> + v : 6 . 4030524592753606 <nl> + a : 0 . 26310250270490848 <nl> relative_time : 2 . 3499999999999996 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587493 . 90607372473 <nl> + x : 587493 . 90607372462 <nl> y : 4140729 . 9404085274 <nl> theta : 2 . 23606701204903 <nl> - kappa : - 0 . 0015010438795915826 <nl> - s : 14 . 350168202692924 <nl> + kappa : - 0 . 001501043879591552 <nl> + s : 14 . 350168202692956 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 4160477369423923 <nl> - a : 0 . 25671908202206639 <nl> + v : 6 . 4160477369424163 <nl> + a : 0 . 25671908202207433 <nl> relative_time : 2 . 3999999999999995 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587493 . 70792280592 <nl> + x : 587493 . 7079228058 <nl> y : 4140730 . 1931033684 <nl> theta : 2 . 2356431306189508 <nl> - kappa : - 0 . 0011936033433476352 <nl> - s : 14 . 671288848541492 <nl> + kappa : - 0 . 0011936033433476031 <nl> + s : 14 . 671288848541526 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 4287254355043952 <nl> - a : 0 . 25039974295035927 <nl> + v : 6 . 42872543550442 <nl> + a : 0 . 25039974295036715 <nl> relative_time : 2 . 4499999999999993 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587493 . 50938678 <nl> y : 4140730 . 4462917536 <nl> theta : 2 . 235219477975682 <nl> - kappa : - 0 . 00088657306976625385 <nl> - s : 14 . 993035507603331 <nl> + kappa : - 0 . 00088657306976624279 <nl> + s : 14 . 993035507603365 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 4410888197090319 <nl> - a : 0 . 24414691217492135 <nl> + v : 6 . 4410888197090568 <nl> + a : 0 . 24414691217492929 <nl> relative_time : 2 . 4999999999999991 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587493 . 31070963875 <nl> y : 4140730 . 70014497 <nl> theta : 2 . 2350054359539877 <nl> - kappa : - 0 . 00078031299536295072 <nl> - s : 15 . 315392548307061 <nl> + kappa : - 0 . 00078031299536293966 <nl> + s : 15 . 315392548307095 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 4531412756382442 <nl> - a : 0 . 23796301638089509 <nl> + v : 6 . 45314127563827 <nl> + a : 0 . 237963016380903 <nl> relative_time : 2 . 5499999999999989 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587493 . 11166583106 <nl> y : 4140730 . 954466681 <nl> theta : 2 . 2347909988987289 <nl> - kappa : - 0 . 0006738568138754137 <nl> - s : 15 . 638344511418758 <nl> + kappa : - 0 . 000673856813875402 <nl> + s : 15 . 638344511418794 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 4648863107082306 <nl> - a : 0 . 23185048225342272 <nl> + v : 6 . 4648863107082564 <nl> + a : 0 . 23185048225343058 <nl> relative_time : 2 . 5999999999999988 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587492 . 912264775 <nl> + x : 587492 . 91226477514 <nl> y : 4140731 . 2092448557 <nl> theta : 2 . 2345761769759473 <nl> - kappa : - 0 . 00056720956239575578 <nl> - s : 15 . 961876116108661 <nl> + kappa : - 0 . 00056720956239574331 <nl> + s : 15 . 961876116108698 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 4763275536694476 <nl> - a : 0 . 2258117364776466 <nl> + v : 6 . 4763275536694742 <nl> + a : 0 . 22581173647765435 <nl> relative_time : 2 . 6499999999999986 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587492 . 71266260906 <nl> y : 4140731 . 4645824484 <nl> theta : 2 . 2343477466406707 <nl> - kappa : - 0 . 00067614073533964572 <nl> - s : 16 . 285972266017893 <nl> + kappa : - 0 . 00067614073533966 <nl> + s : 16 . 285972266017929 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 487468754606609 <nl> - a : 0 . 21984920573870892 <nl> + v : 6 . 4874687546066356 <nl> + a : 0 . 21984920573871652 <nl> relative_time : 2 . 6999999999999984 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587492 . 51273657125 <nl> + x : 587492 . 51273657137 <nl> y : 4140731 . 7203645194 <nl> theta : 2 . 234117609768957 <nl> - kappa : - 0 . 00080676407993813246 <nl> - s : 16 . 610618055325162 <nl> + kappa : - 0 . 00080676407993814819 <nl> + s : 16 . 6106180553252 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 4983137849386852 <nl> - a : 0 . 213965316721752 <nl> + v : 6 . 4983137849387118 <nl> + a : 0 . 21396531672175945 <nl> relative_time : 2 . 7499999999999982 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587492 . 31248110847 <nl> y : 4140731 . 9765680516 <nl> theta : 2 . 2338870937017083 <nl> - kappa : - 0 . 0009376026571737804 <nl> - s : 16 . 935798774813485 <nl> + kappa : - 0 . 00093760265717379753 <nl> + s : 16 . 935798774813527 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 5088666374189028 <nl> - a : 0 . 20816249611191823 <nl> + v : 6 . 50886663741893 <nl> + a : 0 . 20816249611192539 <nl> relative_time : 2 . 799999999999998 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587492 . 11210585677 <nl> - y : 4140732 . 2333383383 <nl> + x : 587492 . 11210585688 <nl> + y : 4140732 . 2333383379 <nl> theta : 2 . 2335236921920831 <nl> - kappa : - 0 . 0010801748438389752 <nl> - s : 17 . 261499917936902 <nl> + kappa : - 0 . 0010801748438389941 <nl> + s : 17 . 261499917936945 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 5191314261347477 <nl> - a : 0 . 20244317059434977 <nl> + v : 6 . 5191314261347761 <nl> + a : 0 . 2024431705943566 <nl> relative_time : 2 . 8499999999999979 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587491 . 91146025923 <nl> y : 4140732 . 4905396728 <nl> theta : 2 . 2331326361317827 <nl> - kappa : - 0 . 0012253244256623722 <nl> - s : 17 . 587707186887172 <nl> + kappa : - 0 . 001225324425662391 <nl> + s : 17 . 587707186887215 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 5291123865079612 <nl> - a : 0 . 19680976685418897 <nl> + v : 6 . 52911238650799 <nl> + a : 0 . 19680976685419543 <nl> relative_time : 2 . 8999999999999977 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587491 . 71051201294 <nl> y : 4140732 . 7481289632 <nl> theta : 2 . 2327409902480064 <nl> - kappa : - 0 . 0013706929474567807 <nl> - s : 17 . 914406498660512 <nl> + kappa : - 0 . 0013706929474567996 <nl> + s : 17 . 914406498660554 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 5388138752945428 <nl> - a : 0 . 19126471157657809 <nl> + v : 6 . 5388138752945713 <nl> + a : 0 . 19126471157658412 <nl> relative_time : 2 . 9499999999999975 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587491 . 509547008 <nl> y : 4140733 . 0063113421 <nl> theta : 2 . 2322589558970209 <nl> - kappa : - 0 . 0014756822727486777 <nl> - s : 18 . 24158399112428 <nl> + kappa : - 0 . 0014756822727486896 <nl> + s : 18 . 241583991124322 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 5482403705847476 <nl> - a : 0 . 18581043144665949 <nl> + v : 6 . 548240370584776 <nl> + a : 0 . 18581043144666493 <nl> relative_time : 2 . 9999999999999973 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587491 . 30838131893 <nl> - y : 4140733 . 264926224 <nl> + y : 4140733 . 2649262245 <nl> theta : 2 . 2317488273552555 <nl> - kappa : - 0 . 00156843289229098 <nl> - s : 18 . 569226009026295 <nl> + kappa : - 0 . 0015684328922909961 <nl> + s : 18 . 569226009026352 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 5573952476023383 <nl> - a : 0 . 1803986832251839 <nl> + v : 6 . 5573952476023667 <nl> + a : 0 . 18039868322518826 <nl> relative_time : 3 . 0499999999999972 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587491 . 106938716 <nl> + x : 587491 . 10693871614 <nl> y : 4140733 . 5238971021 <nl> theta : 2 . 2312379966620441 <nl> - kappa : - 0 . 0016613111873093203 <nl> - s : 18 . 897319041172874 <nl> + kappa : - 0 . 0016613111873093364 <nl> + s : 18 . 897319041172931 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 5662816418266088 <nl> - a : 0 . 17507111016419438 <nl> + v : 6 . 5662816418266372 <nl> + a : 0 . 17507111016419877 <nl> relative_time : 3 . 099999999999997 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587490 . 90553689585 <nl> y : 4140733 . 7834538105 <nl> theta : 2 . 2306752959377181 <nl> - kappa : - 0 . 0017233318958710829 <nl> - s : 19 . 225849768619419 <nl> + kappa : - 0 . 0017233318958710915 <nl> + s : 19 . 225849768619476 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 5749037605831262 <nl> - a : 0 . 16982765496531638 <nl> + v : 6 . 5749037605831546 <nl> + a : 0 . 16982765496532076 <nl> relative_time : 3 . 1499999999999968 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587490 . 70399776532 <nl> y : 4140734 . 0434414591 <nl> theta : 2 . 2300915295553061 <nl> - kappa : - 0 . 0017731232600286047 <nl> - s : 19 . 55480508271599 <nl> + kappa : - 0 . 0017731232600286138 <nl> + s : 19 . 554805082716051 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 5832658083325359 <nl> - a : 0 . 16466826033017606 <nl> + v : 6 . 5832658083325652 <nl> + a : 0 . 16466826033018039 <nl> relative_time : 3 . 1999999999999966 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587490 . 50220640819 <nl> y : 4140734 . 3037544829 <nl> theta : 2 . 2295070326662612 <nl> - kappa : - 0 . 0018229769381655418 <nl> - s : 19 . 884172084964071 <nl> + kappa : - 0 . 0018229769381655507 <nl> + s : 19 . 884172084964131 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 5913719866705662 <nl> - a : 0 . 15959286896039956 <nl> + v : 6 . 5913719866705955 <nl> + a : 0 . 15959286896040381 <nl> relative_time : 3 . 2499999999999964 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587490 . 30049578415 <nl> y : 4140734 . 5646344544 <nl> theta : 2 . 22890055433744 <nl> - kappa : - 0 . 0018498501018328665 <nl> - s : 20 . 213938086873295 <nl> + kappa : - 0 . 0018498501018328695 <nl> + s : 20 . 213938086873355 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 5992264943280254 <nl> - a : 0 . 15460142355761303 <nl> + v : 6 . 5992264943280556 <nl> + a : 0 . 15460142355761719 <nl> relative_time : 3 . 2999999999999963 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587490 . 09870360361 <nl> - y : 4140734 . 8259400311 <nl> + y : 4140734 . 8259400316 <nl> theta : 2 . 22828323328379 <nl> - kappa : - 0 . 0018657815163037779 <nl> - s : 20 . 544090609818216 <nl> + kappa : - 0 . 0018657815163037811 <nl> + s : 20 . 54409060981828 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 6068335271708047 <nl> - a : 0 . 1496938668234426 <nl> + v : 6 . 6068335271708341 <nl> + a : 0 . 14969386682344665 <nl> relative_time : 3 . 3499999999999961 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587489 . 89668267686 <nl> y : 4140735 . 0875418168 <nl> theta : 2 . 227665212528235 <nl> - kappa : - 0 . 0018817309902030327 <nl> - s : 20 . 874617384895068 <nl> + kappa : - 0 . 0018817309902030357 <nl> + s : 20 . 874617384895132 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 6141972781998737 <nl> - a : 0 . 14487014145951446 <nl> + v : 6 . 6141972781999039 <nl> + a : 0 . 14487014145951835 <nl> relative_time : 3 . 3999999999999959 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587489 . 69475956133 <nl> + x : 587489 . 69475956121 <nl> y : 4140735 . 3496762807 <nl> theta : 2 . 2270450251238234 <nl> - kappa : - 0 . 0018799114026631239 <nl> - s : 21 . 2055063527785 <nl> + kappa : - 0 . 0018799114026631213 <nl> + s : 21 . 205506352778567 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 6213219375512873 <nl> - a : 0 . 1401301901674547 <nl> + v : 6 . 6213219375513175 <nl> + a : 0 . 14013019016745842 <nl> relative_time : 3 . 4499999999999957 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587489 . 49279439542 <nl> y : 4140735 . 6122206636 <nl> theta : 2 . 2264233792022687 <nl> - kappa : - 0 . 0018685194998213552 <nl> - s : 21 . 536745663578344 <nl> + kappa : - 0 . 0018685194998213531 <nl> + s : 21 . 536745663578412 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 6282116924961771 <nl> - a : 0 . 13547395564888953 <nl> + v : 6 . 6282116924962082 <nl> + a : 0 . 13547395564889309 <nl> relative_time : 3 . 4999999999999956 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587489 . 290622714 <nl> - y : 4140735 . 8750335057 <nl> + x : 587489 . 29062271409 <nl> + y : 4140735 . 8750335053 <nl> theta : 2 . 22580109769654 <nl> - kappa : - 0 . 0018571159484107873 <nl> - s : 21 . 86832367669637 <nl> + kappa : - 0 . 0018571159484107851 <nl> + s : 21 . 868323676696438 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 6348707274407612 <nl> - a : 0 . 13090138060544504 <nl> + v : 6 . 6348707274407914 <nl> + a : 0 . 13090138060544843 <nl> relative_time : 3 . 5499999999999954 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587489 . 088560364 <nl> y : 4140736 . 1383428983 <nl> theta : 2 . 2251925464926119 <nl> - kappa : - 0 . 0018323339771827466 <nl> - s : 22 . 200228960683027 <nl> + kappa : - 0 . 00183233397718274 <nl> + s : 22 . 2002289606831 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 6413032239263341 <nl> - a : 0 . 12641240773874743 <nl> + v : 6 . 6413032239263652 <nl> + a : 0 . 12641240773875062 <nl> relative_time : 3 . 5999999999999952 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587488 . 886484804 <nl> y : 4140736 . 4020406073 <nl> theta : 2 . 2245917375181397 <nl> - kappa : - 0 . 0017997732717725114 <nl> - s : 22 . 532450293094215 <nl> + kappa : - 0 . 0017997732717725044 <nl> + s : 22 . 532450293094286 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 6475133606292758 <nl> - a : 0 . 12200697975042282 <nl> + v : 6 . 647513360629306 <nl> + a : 0 . 12200697975042581 <nl> relative_time : 3 . 649999999999995 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587488 . 68422370485 <nl> - y : 4140736 . 665980435 <nl> + y : 4140736 . 6659804354 <nl> theta : 2 . 2239903769559808 <nl> - kappa : - 0 . 0017671826701795763 <nl> - s : 22 . 864976660348024 <nl> + kappa : - 0 . 0017671826701795691 <nl> + s : 22 . 8649766603481 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 6535053133610429 <nl> - a : 0 . 11768503934209736 <nl> + v : 6 . 6535053133610749 <nl> + a : 0 . 11768503934210015 <nl> relative_time : 3 . 6999999999999948 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587488 . 48207186745 <nl> - y : 4140736 . 93037428 <nl> + y : 4140736 . 9303742805 <nl> theta : 2 . 2234144016445634 <nl> - kappa : - 0 . 0017237423787502528 <nl> - s : 23 . 1977972575815 <nl> + kappa : - 0 . 0017237423787502416 <nl> + s : 23 . 197797257581573 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 6592832550681784 <nl> - a : 0 . 11344652921539719 <nl> + v : 6 . 65928325506821 <nl> + a : 0 . 11344652921539977 <nl> relative_time : 3 . 7499999999999947 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587488 . 27992114821 <nl> y : 4140737 . 19512608 <nl> theta : 2 . 2228535266104097 <nl> - kappa : - 0 . 0016737553960205652 <nl> - s : 23 . 530901488507382 <nl> + kappa : - 0 . 0016737553960205541 <nl> + s : 23 . 530901488507457 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 6648513558323037 <nl> - a : 0 . 10929139207194846 <nl> + v : 6 . 6648513558323348 <nl> + a : 0 . 10929139207195085 <nl> relative_time : 3 . 7999999999999945 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587488 . 07760460454 <nl> + x : 587488 . 07760460442 <nl> y : 4140737 . 4600950559 <nl> theta : 2 . 22229219153339 <nl> - kappa : - 0 . 001623727408903369 <nl> - s : 23 . 864278965270877 <nl> + kappa : - 0 . 0016237274089033573 <nl> + s : 23 . 864278965270955 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 670213782870122 <nl> - a : 0 . 10521957061337735 <nl> + v : 6 . 6702137828701531 <nl> + a : 0 . 10521957061337953 <nl> relative_time : 3 . 8499999999999943 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587487 . 87539406528 <nl> y : 4140737 . 7254756177 <nl> theta : 2 . 2217662227022617 <nl> - kappa : - 0 . 0015646382039508169 <nl> - s : 24 . 197919508306406 <nl> + kappa : - 0 . 0015646382039508013 <nl> + s : 24 . 197919508306487 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 6753747005334167 <nl> - a : 0 . 10123100754130997 <nl> + v : 6 . 6753747005334478 <nl> + a : 0 . 10123100754131195 <nl> relative_time : 3 . 8999999999999941 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587487 . 67319034226 <nl> + x : 587487 . 67319034215 <nl> y : 4140737 . 9911796181 <nl> theta : 2 . 2212614505273747 <nl> - kappa : - 0 . 001500063310049237 <nl> - s : 24 . 531813146194349 <nl> + kappa : - 0 . 0015000633100492212 <nl> + s : 24 . 53181314619443 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 680338270309055 <nl> - a : 0 . 097325645557372484 <nl> + v : 6 . 6803382703090861 <nl> + a : 0 . 0973256455573743 <nl> relative_time : 3 . 949999999999994 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587487 . 47083925921 <nl> - y : 4140738 . 2570772553 <nl> + y : 4140738 . 2570772548 <nl> theta : 2 . 2207563105226047 <nl> - kappa : - 0 . 0014354413559468978 <nl> - s : 24 . 865950115517805 <nl> + kappa : - 0 . 0014354413559468815 <nl> + s : 24 . 86595011551789 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 6851086508189832 <nl> - a : 0 . 093503427363191019 <nl> + v : 6 . 6851086508190152 <nl> + a : 0 . 093503427363192684 <nl> relative_time : 3 . 9999999999999938 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587487 . 26858242531 <nl> - y : 4140738 . 5233401274 <nl> - theta : 2 . 2202958949354774 <nl> - kappa : - 0 . 0013622602938558348 <nl> - s : 25 . 200320860719359 <nl> + y : 4140738 . 5233401265 <nl> + theta : 2 . 220295894935477 <nl> + kappa : - 0 . 0013622602938558148 <nl> + s : 25 . 200320860719444 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 68968999782023 <nl> - a : 0 . 089764295660391763 <nl> + v : 6 . 6896899978202624 <nl> + a : 0 . 089764295660393262 <nl> relative_time : 4 . 0499999999999936 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587487 . 06632821856 <nl> - y : 4140738 . 7898868695 <nl> + x : 587487 . 06632821844 <nl> + y : 4140738 . 789886869 <nl> theta : 2 . 2198616218674392 <nl> - kappa : - 0 . 001284034145963597 <nl> - s : 25 . 53491603395781 <nl> + kappa : - 0 . 001284034145963577 <nl> + s : 25 . 534916033957895 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 6940864642049061 <nl> - a : 0 . 086108193150600837 <nl> + v : 6 . 694086464204938 <nl> + a : 0 . 086108193150602225 <nl> relative_time : 4 . 0999999999999934 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587486 . 86394387577 <nl> - y : 4140739 . 0566051146 <nl> + y : 4140739 . 0566051151 <nl> theta : 2 . 2194270693984359 <nl> - kappa : - 0 . 001205757665208904 <nl> - s : 25 . 869726494964947 <nl> + kappa : - 0 . 0012057576652088834 <nl> + s : 25 . 869726494965036 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 6983022000002 <nl> - a : 0 . 08253506253544439 <nl> + v : 6 . 6983022000002324 <nl> + a : 0 . 082535062535445652 <nl> relative_time : 4 . 1499999999999932 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587486 . 66163656511 <nl> - y : 4140739 . 3236406618 <nl> + y : 4140739 . 3236406622 <nl> theta : 2 . 2190476144542086 <nl> - kappa : - 0 . 0011152005411444719 <nl> - s : 26 . 2047433109023 <nl> + kappa : - 0 . 001115200541144445 <nl> + s : 26 . 204743310902391 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 7023413523683875 <nl> - a : 0 . 07904484651654857 <nl> + v : 6 . 7023413523684194 <nl> + a : 0 . 079044846516549749 <nl> relative_time : 4 . 1999999999999931 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587486 . 459322053 <nl> y : 4140739 . 5909187244 <nl> theta : 2 . 2186987071703612 <nl> - kappa : - 0 . 0010177913291074059 <nl> - s : 26 . 539957756217881 <nl> + kappa : - 0 . 001017791329107379 <nl> + s : 26 . 539957756217973 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 7062080656068206 <nl> - a : 0 . 075637487795539526 <nl> + v : 6 . 7062080656068526 <nl> + a : 0 . 075637487795540664 <nl> relative_time : 4 . 2499999999999929 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587486 . 25689340511 <nl> + x : 587486 . 25689340523 <nl> y : 4140739 . 858347571 <nl> theta : 2 . 2183496030636118 <nl> - kappa : - 0 . 00092032716373887475 <nl> - s : 26 . 87536131250295 <nl> + kappa : - 0 . 000920327163738848 <nl> + s : 26 . 875361312503042 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 7099064811479332 <nl> - a : 0 . 072312929074043422 <nl> + v : 6 . 7099064811479661 <nl> + a : 0 . 072312929074044519 <nl> relative_time : 4 . 2999999999999927 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587486 . 05451065826 <nl> - y : 4140740 . 12603781 <nl> + y : 4140740 . 1260378105 <nl> theta : 2 . 2180768986996577 <nl> - kappa : - 0 . 000799087096097015 <nl> - s : 27 . 210945668348764 <nl> + kappa : - 0 . 00079908709609697551 <nl> + s : 27 . 210945668348863 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 7134407375592433 <nl> - a : 0 . 069071113053686378 <nl> + v : 6 . 7134407375592762 <nl> + a : 0 . 069071113053687475 <nl> relative_time : 4 . 3499999999999925 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587485 . 852103364 <nl> - y : 4140740 . 3939260044 <nl> - theta : 2 . 2178433807938798 <nl> - kappa : - 0 . 00066560301920254381 <nl> - s : 27 . 546702719203346 <nl> + y : 4140740 . 3939260039 <nl> + theta : 2 . 2178433807938793 <nl> + kappa : - 0 . 00066560301920250706 <nl> + s : 27 . 546702719203438 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 7168149705433482 <nl> - a : 0 . 065911982436094557 <nl> + v : 6 . 71681497054338 <nl> + a : 0 . 065911982436095723 <nl> relative_time : 4 . 3999999999999924 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587485 . 6495967235 <nl> y : 4140740 . 6619456839 <nl> theta : 2 . 2176097482765984 <nl> - kappa : - 0 . 00053205342529780457 <nl> - s : 27 . 8826245672282 <nl> + kappa : - 0 . 000532053425297765 <nl> + s : 27 . 882624567228298 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 7200333129379262 <nl> - a : 0 . 062835479922894122 <nl> + v : 6 . 720033312937959 <nl> + a : 0 . 062835479922895343 <nl> relative_time : 4 . 4499999999999922 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587485 . 44708440232 <nl> - y : 4140740 . 930157945 <nl> + y : 4140740 . 9301579455 <nl> theta : 2 . 2174741161347549 <nl> - kappa : - 0 . 00038751998778726378 <nl> - s : 28 . 218703521155113 <nl> + kappa : - 0 . 00038751998778721955 <nl> + s : 28 . 218703521155213 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 7230998947157383 <nl> - a : 0 . 059841548215711193 <nl> + v : 6 . 72309989471577 <nl> + a : 0 . 059841548215712526 <nl> relative_time : 4 . 499999999999992 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587485 . 244523176 <nl> - y : 4140741 . 1985207456 <nl> + y : 4140741 . 1985207461 <nl> theta : 2 . 2173838726163013 <nl> - kappa : - 0 . 00023786291222380605 <nl> - s : 28 . 554932079041652 <nl> + kappa : - 0 . 00023786291222376019 <nl> + s : 28 . 554932079041755 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 7260178318258825 <nl> - a : 0 . 056890837990767766 <nl> + v : 6 . 7260178318259154 <nl> + a : 0 . 05689083799076778 <nl> relative_time : 4 . 5499999999999918 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587485 . 04187625379 <nl> - y : 4140741 . 4669970809 <nl> + x : 587485 . 0418762539 <nl> + y : 4140741 . 4669970805 <nl> theta : 2 . 2172935909195477 <nl> - kappa : - 8 . 8142522462083373e - 05 <nl> - s : 28 . 891302882401693 <nl> + kappa : - 8 . 8142522462035939e - 05 <nl> + s : 28 . 8913028824018 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 7287904487963042 <nl> - a : 0 . 054028344655184524 <nl> + v : 6 . 728790448796337 <nl> + a : 0 . 054028344655184024 <nl> relative_time : 4 . 5999999999999917 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587484 . 83915692137 <nl> y : 4140741 . 7355880104 <nl> theta : 2 . 2173084985299218 <nl> - kappa : 5 . 6503659415631587e - 05 <nl> - s : 29 . 227808774504425 <nl> + kappa : 5 . 6503659415676723e - 05 <nl> + s : 29 . 227808774504531 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 73142209677573 <nl> - a : 0 . 051251680379322276 <nl> + v : 6 . 7314220967757628 <nl> + a : 0 . 051251680379321318 <nl> relative_time : 4 . 6499999999999915 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587484 . 63636405254 <nl> + x : 587484 . 63636405242 <nl> y : 4140742 . 0042839879 <nl> theta : 2 . 2173663523827609 <nl> - kappa : 0 . 00019910969898410193 <nl> - s : 29 . 564442813191693 <nl> + kappa : 0 . 00019910969898414858 <nl> + s : 29 . 564442813191803 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 7339170075214039 <nl> - a : 0 . 048558457333540729 <nl> + v : 6 . 7339170075214367 <nl> + a : 0 . 048558457333539376 <nl> relative_time : 4 . 6999999999999913 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587484 . 43349804275 <nl> y : 4140742 . 2730768756 <nl> theta : 2 . 2174242271015294 <nl> - kappa : 0 . 00034176717194698181 <nl> - s : 29 . 901198264908423 <nl> + kappa : 0 . 00034176717194703 <nl> + s : 29 . 901198264908537 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 7362792933990905 <nl> - a : 0 . 045946287688199618 <nl> + v : 6 . 7362792933991233 <nl> + a : 0 . 045946287688197918 <nl> relative_time : 4 . 7499999999999911 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587484 . 23048879416 <nl> y : 4140742 . 5419055643 <nl> theta : 2 . 2175782818999061 <nl> - kappa : 0 . 00046346039374673656 <nl> - s : 30 . 238068598733037 <nl> + kappa : 0 . 00046346039374677397 <nl> + s : 30 . 238068598733147 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 7385129473830707 <nl> - a : 0 . 043412783613658662 <nl> + v : 6 . 7385129473831036 <nl> + a : 0 . 043412783613656664 <nl> relative_time : 4 . 7999999999999909 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587484 . 02738818317 <nl> y : 4140742 . 8108012844 <nl> theta : 2 . 2177660900496532 <nl> - kappa : 0 . 00057782790835606446 <nl> - s : 30 . 575047480407875 <nl> + kappa : 0 . 000577827908356103 <nl> + s : 30 . 575047480407989 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 7406218430561431 <nl> - a : 0 . 040955557280277582 <nl> + v : 6 . 7406218430561751 <nl> + a : 0 . 040955557280275327 <nl> relative_time : 4 . 8499999999999908 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587483 . 824225852 <nl> - y : 4140743 . 0797787197 <nl> + y : 4140743 . 0797787192 <nl> theta : 2 . 2179539552688881 <nl> - kappa : 0 . 00069223017803290228 <nl> - s : 30 . 912128766369648 <nl> + kappa : 0 . 00069223017803294207 <nl> + s : 30 . 912128766369765 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 7426097346096237 <nl> - a : 0 . 038572220858416106 <nl> + v : 6 . 7426097346096565 <nl> + a : 0 . 038572220858413622 <nl> relative_time : 4 . 8999999999999906 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587483 . 62085827428 <nl> y : 4140743 . 3487219121 <nl> - theta : 2 . 2182135118040693 <nl> - kappa : 0 . 00076991937714747166 <nl> - s : 31 . 249306497779834 <nl> + theta : 2 . 21821351180407 <nl> + kappa : 0 . 00076991937714749562 <nl> + s : 31 . 249306497779955 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 7444802568433486 <nl> - a : 0 . 036260386518433954 <nl> + v : 6 . 7444802568433815 <nl> + a : 0 . 036260386518431283 <nl> relative_time : 4 . 94999999999999 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587483 . 41739298834 <nl> - y : 4140743 . 6177049028 <nl> - theta : 2 . 2184940880353734 <nl> - kappa : 0 . 00083688342823607081 <nl> - s : 31 . 58657489455512 <nl> + y : 4140743 . 6177049023 <nl> + theta : 2 . 2184940880353738 <nl> + kappa : 0 . 00083688342823609466 <nl> + s : 31 . 586574894555241 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 7462369251656709 <nl> - a : 0 . 034017666430690839 <nl> + v : 6 . 7462369251657037 <nl> + a : 0 . 034017666430688 <nl> relative_time : 4 . 99999999999999 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587483 . 2138763892 <nl> + x : 587483 . 21387638908 <nl> y : 4140743 . 8867557291 <nl> theta : 2 . 2187747350142728 <nl> - kappa : 0 . 00090386436745538761 <nl> - s : 31 . 923928349397819 <nl> + kappa : 0 . 00090386436745541158 <nl> + s : 31 . 92392834939794 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 7478831355934616 <nl> - a : 0 . 0318416727655465 <nl> + v : 6 . 7478831355934936 <nl> + a : 0 . 031841672765543519 <nl> relative_time : 5 . 04999999999999 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587483 . 01011615316 <nl> + x : 587483 . 010116153 <nl> y : 4140744 . 1557219541 <nl> - theta : 2 . 2190843580303472 <nl> - kappa : 0 . 00091881396717925 <nl> - s : 32 . 261361421826308 <nl> + theta : 2 . 2190843580303476 <nl> + kappa : 0 . 00091881396717925085 <nl> + s : 32 . 261361421826429 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 7494221647521089 <nl> - a : 0 . 029730017693360651 <nl> + v : 6 . 74942216475214 <nl> + a : 0 . 029730017693357539 <nl> relative_time : 5 . 09999999999999 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587482 . 80626499036 <nl> y : 4140744 . 4247125778 <nl> - theta : 2 . 219400853471631 <nl> - kappa : 0 . 00092151711295884947 <nl> - s : 32 . 598868832205433 <nl> + theta : 2 . 2194008534716314 <nl> + kappa : 0 . 00092151711295885045 <nl> + s : 32 . 598868832205561 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 75085716987552 <nl> - a : 0 . 027680313384493019 <nl> + v : 6 . 7508571698755508 <nl> + a : 0 . 027680313384489785 <nl> relative_time : 5 . 14999999999999 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587482 . 60237202339 <nl> - y : 4140744 . 6937583638 <nl> - theta : 2 . 2197174137963285 <nl> - kappa : 0 . 00092422081307694118 <nl> - s : 32 . 936445455776969 <nl> + x : 587482 . 60237202351 <nl> + y : 4140744 . 6937583634 <nl> + theta : 2 . 2197174137963289 <nl> + kappa : 0 . 00092422081307694216 <nl> + s : 32 . 9364454557771 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 752191188806119 <nl> - a : 0 . 025690172009303319 <nl> + v : 6 . 752191188806151 <nl> + a : 0 . 025690172009299968 <nl> relative_time : 5 . 1999999999999895 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587482 . 3982326336 <nl> y : 4140744 . 9626978515 <nl> theta : 2 . 2200077134175689 <nl> - kappa : 0 . 00087647444509792577 <nl> - s : 33 . 27408631669001 <nl> + kappa : 0 . 0008764744450979042 <nl> + s : 33 . 274086316690138 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 7534271399948507 <nl> - a : 0 . 02375720573815128 <nl> + v : 6 . 7534271399948818 <nl> + a : 0 . 02375720573814781 <nl> relative_time : 5 . 2499999999999893 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587482 . 19401990622 <nl> - y : 4140745 . 23165627 <nl> - theta : 2 . 2202933201775434 <nl> - kappa : 0 . 00081962668995960394 <nl> - s : 33 . 611786582031407 <nl> + y : 4140745 . 2316562706 <nl> + theta : 2 . 2202933201775439 <nl> + kappa : 0 . 00081962668995958128 <nl> + s : 33 . 611786582031542 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 7545678225011745 <nl> - a : 0 . 021879026741396627 <nl> + v : 6 . 7545678225012056 <nl> + a : 0 . 021879026741393033 <nl> relative_time : 5 . 2999999999999892 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587481 . 98977409571 <nl> - y : 4140745 . 5006582621 <nl> - theta : 2 . 2205789731895926 <nl> - kappa : 0 . 00076276972530980685 <nl> - s : 33 . 949541555856214 <nl> + y : 4140745 . 5006582616 <nl> + theta : 2 . 2205789731895931 <nl> + kappa : 0 . 00076276972530978527 <nl> + s : 33 . 949541555856342 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 7556159159930695 <nl> - a : 0 . 020053247189399083 <nl> + v : 6 . 7556159159931006 <nl> + a : 0 . 020053247189395343 <nl> relative_time : 5 . 349999999999989 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587481 . 78531893017 <nl> y : 4140745 . 769564149 <nl> - theta : 2 . 2208110118018531 <nl> - kappa : 0 . 00070247292125680488 <nl> - s : 34 . 287346673218074 <nl> + theta : 2 . 2208110118018536 <nl> + kappa : 0 . 0007024729212567806 <nl> + s : 34 . 28734667321821 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 7565739807470324 <nl> - a : 0 . 018277479252518367 <nl> + v : 6 . 7565739807470635 <nl> + a : 0 . 018277479252514467 <nl> relative_time : 5 . 3999999999999888 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587481 . 58081323793 <nl> y : 4140746 . 0384890437 <nl> - theta : 2 . 2210362291804997 <nl> - kappa : 0 . 000641729726973603 <nl> - s : 34 . 625197494199696 <nl> + theta : 2 . 2210362291805 <nl> + kappa : 0 . 00064172972697358 <nl> + s : 34 . 625197494199824 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 757444457648079 <nl> - a : 0 . 016549335101114192 <nl> + v : 6 . 75744445764811 <nl> + a : 0 . 016549335101110112 <nl> relative_time : 5 . 4499999999999886 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587481 . 37628249626 <nl> y : 4140746 . 3074468789 <nl> theta : 2 . 2212614741363317 <nl> - kappa : 0 . 00058097909236174143 <nl> - s : 34 . 963089697943218 <nl> + kappa : 0 . 00058097909236171715 <nl> + s : 34 . 963089697943353 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 7582296681897418 <nl> - a : 0 . 0148664269055463 <nl> + v : 6 . 758229668189772 <nl> + a : 0 . 014866426905542018 <nl> relative_time : 5 . 4999999999999885 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587481 . 17158403539 <nl> y : 4140746 . 5763238072 <nl> theta : 2 . 2214291031876776 <nl> - kappa : 0 . 00051722873808616435 <nl> - s : 35 . 3010190766807 <nl> + kappa : 0 . 00051722873808613746 <nl> + s : 35 . 301019076680845 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 75893181447407 <nl> - a : 0 . 013226366836174397 <nl> + v : 6 . 7589318144741 <nl> + a : 0 . 013226366836169873 <nl> relative_time : 5 . 5499999999999883 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587480 . 96685418941 <nl> y : 4140746 . 8452184144 <nl> - theta : 2 . 2215922433493698 <nl> - kappa : 0 . 000453238203173561 <nl> - s : 35 . 638981529764507 <nl> + theta : 2 . 22159224334937 <nl> + kappa : 0 . 00045323820317353405 <nl> + s : 35 . 638981529764649 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 7595529792116347 <nl> - a : 0 . 011626767063358218 <nl> + v : 6 . 7595529792116649 <nl> + a : 0 . 011626767063353416 <nl> relative_time : 5 . 5999999999999881 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587480 . 7621067306 <nl> y : 4140747 . 1141361548 <nl> theta : 2 . 2217553975420881 <nl> - kappa : 0 . 0003892421631666785 <nl> - s : 35 . 976973057697734 <nl> + kappa : 0 . 00038924216316665162 <nl> + s : 35 . 976973057697876 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 7600951257215218 <nl> - a : 0 . 010065239757457489 <nl> + v : 6 . 7600951257215511 <nl> + a : 0 . 010065239757452354 <nl> relative_time : 5 . 6499999999999879 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587480 . 557244804 <nl> y : 4140747 . 3829983482 <nl> theta : 2 . 2218547330166052 <nl> - kappa : 0 . 000321087876021337 <nl> - s : 36 . 31498975616465 <nl> + kappa : 0 . 00032108787602130835 <nl> + s : 36 . 314989756164792 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 7605600979313349 <nl> - a : 0 . 0085393970888319112 <nl> + v : 6 . 7605600979313643 <nl> + a : 0 . 0085393970888264156 <nl> relative_time : 5 . 6999999999999877 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587480 . 35236678307 <nl> y : 4140747 . 6518751271 <nl> theta : 2 . 2219520473265657 <nl> - kappa : 0 . 00025279735715107111 <nl> - s : 36 . 653027810061126 <nl> + kappa : 0 . 00025279735715104244 <nl> + s : 36 . 653027810061268 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 7609496203771986 <nl> - a : 0 . 0070468512278412179 <nl> + v : 6 . 7609496203772279 <nl> + a : 0 . 0070468512278352921 <nl> relative_time : 5 . 7499999999999876 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587480 . 14747749676 <nl> + x : 587480 . 14747749665 <nl> y : 4140747 . 9207654791 <nl> theta : 2 . 2220485466153175 <nl> - kappa : 0 . 00018445528061267178 <nl> - s : 36 . 991083487525046 <nl> + kappa : 0 . 00018445528061264134 <nl> + s : 36 . 991083487525188 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 7612652982037522 <nl> - a : 0 . 0055852143448451505 <nl> + v : 6 . 7612652982037815 <nl> + a : 0 . 005585214344838732 <nl> relative_time : 5 . 7999999999999874 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587479 . 94252985052 <nl> + x : 587479 . 94252985064 <nl> y : 4140748 . 1896289173 <nl> theta : 2 . 2220750028594991 <nl> - kappa : 0 . 00011201076114111257 <nl> - s : 37 . 329153133966727 <nl> + kappa : 0 . 00011201076114108212 <nl> + s : 37 . 329153133966869 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 7615086171641554 <nl> - a : 0 . 0041520986102034016 <nl> + v : 6 . 7615086171641838 <nl> + a : 0 . 0041520986101964349 <nl> relative_time : 5 . 8499999999999872 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587479 . 73757590819 <nl> y : 4140748 . 4585006144 <nl> theta : 2 . 2221014599164493 <nl> - kappa : 3 . 956401613289354e - 05 <nl> - s : 37 . 667233166099379 <nl> + kappa : 3 . 9564016132863087e - 05 <nl> + s : 37 . 667233166099521 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 7616809436200844 <nl> - a : 0 . 0027451161942757193 <nl> + v : 6 . 7616809436201128 <nl> + a : 0 . 0027451161942681351 <nl> relative_time : 5 . 899999999999987 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587479 . 53261825943 <nl> - y : 4140748 . 727378122 <nl> + y : 4140748 . 7273781225 <nl> theta : 2 . 2221239579351968 <nl> - kappa : - 3 . 2949603417745932e - 05 <nl> - s : 38 . 005320065969485 <nl> + kappa : - 3 . 2949603417779982e - 05 <nl> + s : 38 . 005320065969642 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 7617835245417348 <nl> - a : 0 . 0013618792674218172 <nl> + v : 6 . 7617835245417623 <nl> + a : 0 . 0013618792674135183 <nl> relative_time : 5 . 9499999999999869 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587479 . 32766650408 <nl> y : 4140748 . 9962644083 <nl> theta : 2 . 222077478726419 <nl> - kappa : - 0 . 00010660329925458992 <nl> - s : 38 . 343410374987286 <nl> + kappa : - 0 . 00010660329925462242 <nl> + s : 38 . 343410374987435 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 761817487507817 <nl> - a : 1 . 4016565685892601e - 15 <nl> + v : 6 . 7618174875078445 <nl> + a : - 7 . 6674777638174874e - 15 <nl> relative_time : 5 . 9999999999999867 <nl> } <nl> decision { <nl> mmm a / modules / planning / testdata / sunnyvale_loop_test / result_follow_01_0 . pb . txt <nl> ppp b / modules / planning / testdata / sunnyvale_loop_test / result_follow_01_0 . pb . txt <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 7 . 0999999046325684 <nl> - a : - 1 . 7995305813806266 <nl> + a : - 1 . 7995305813806317 <nl> relative_time : 0 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 7 . 010023437501868 <nl> - a : - 1 . 7995633711036145 <nl> + a : - 1 . 7995633711036172 <nl> relative_time : 0 . 05 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 9200409200004565 <nl> - a : - 1 . 799755012131641 <nl> + v : 6 . 9200409200004556 <nl> + a : - 1 . 7997550121316424 <nl> relative_time : 0 . 1 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587270 . 3505434586 <nl> + x : 587270 . 35054345871 <nl> y : 4140989 . 020783592 <nl> theta : - 1 . 9829633943373541 <nl> kappa : - 0 . 047255444936043056 <nl> - s : 1 . 0447544905648487 <nl> + s : 1 . 0447544905648485 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 6 . 8300470471746983 <nl> - a : - 1 . 7999999999999996 <nl> + a : - 1 . 7999999999999998 <nl> relative_time : 0 . 15000000000000002 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> path_point { <nl> x : 587270 . 06912432355 <nl> y : 4140988 . 4083419531 <nl> - theta : - 2 . 0086755504677738 <nl> - kappa : - 0 . 033804255491711156 <nl> - s : 1 . 7187585642375567 <nl> + theta : - 2 . 0086755504677734 <nl> + kappa : - 0 . 033804255491711163 <nl> + s : 1 . 7187585642375565 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 6 . 5600233755635369 <nl> - a : - 1 . 7999999999999994 <nl> + a : - 1 . 8 <nl> relative_time : 0 . 3 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 6 . 4700365363687595 <nl> - a : - 1 . 799403330582618 <nl> + a : - 1 . 7994033305826196 <nl> relative_time : 0 . 35 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 3800909454299957 <nl> - a : - 1 . 7983324856820346 <nl> + v : 6 . 3800909454299948 <nl> + a : - 1 . 7983324856820377 <nl> relative_time : 0 . 39999999999999997 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587269 . 50196109689 <nl> y : 4140987 . 2453450565 <nl> theta : - 2 . 0387972449790861 <nl> - kappa : - 0 . 011469038245857727 <nl> - s : 3 . 0127714533378049 <nl> + kappa : - 0 . 011469038245857733 <nl> + s : 3 . 0127714533378045 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 6 . 2902129491330214 <nl> - a : - 1 . 7966819608335427 <nl> + a : - 1 . 7966819608335474 <nl> relative_time : 0 . 44999999999999996 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 2004341690868516 <nl> - a : - 1 . 7943462515724349 <nl> + v : 6 . 2004341690868507 <nl> + a : - 1 . 7943462515724418 <nl> relative_time : 0 . 49999999999999994 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587269 . 22035943111 <nl> y : 4140986 . 6929347469 <nl> theta : - 2 . 0418331887875438 <nl> - kappa : - 0 . 0029481145705008913 <nl> - s : 3 . 6328171358671946 <nl> + kappa : - 0 . 0029481145705008973 <nl> + s : 3 . 6328171358671941 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 1107915021237336 <nl> - a : - 1 . 7912198534340049 <nl> + v : 6 . 1107915021237318 <nl> + a : - 1 . 791219853434014 <nl> relative_time : 0 . 54999999999999993 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587269 . 082610896 <nl> + x : 587269 . 08261089609 <nl> y : 4140986 . 4227172015 <nl> theta : - 2 . 0433182520982 <nl> - kappa : 0 . 001219988450160137 <nl> - s : 3 . 93611926375421 <nl> + kappa : 0 . 0012199884501601312 <nl> + s : 3 . 9361192637542097 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 0213271202991514 <nl> - a : - 1 . 7871972619535459 <nl> + v : 6 . 02132712029915 <nl> + a : - 1 . 7871972619535574 <nl> relative_time : 0 . 6 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 9320884708918244 <nl> - a : - 1 . 7821729726663507 <nl> + v : 5 . 9320884708918218 <nl> + a : - 1 . 7821729726663651 <nl> relative_time : 0 . 65 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587268 . 81395297521 <nl> y : 4140985 . 8938267427 <nl> theta : - 2 . 0393641792350117 <nl> - kappa : 0 . 0078300939578666035 <nl> - s : 4 . 5293327488280335 <nl> + kappa : 0 . 0078300939578665931 <nl> + s : 4 . 5293327488280326 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 8431282764037071 <nl> - a : - 1 . 776041481107713 <nl> + v : 5 . 8431282764037036 <nl> + a : - 1 . 77604148110773 <nl> relative_time : 0 . 70000000000000007 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587268 . 68266555446 <nl> - y : 4140985 . 6353148371 <nl> + y : 4140985 . 6353148366 <nl> theta : - 2 . 0372328926584244 <nl> - kappa : 0 . 011016179198602134 <nl> - s : 4 . 81927203942715 <nl> + kappa : 0 . 011016179198602125 <nl> + s : 4 . 8192720394271493 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 754504534559989 <nl> - a : - 1 . 7686972828129257 <nl> + v : 5 . 7545045345599846 <nl> + a : - 1 . 7686972828129457 <nl> relative_time : 0 . 75000000000000011 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587268 . 55492156476 <nl> - y : 4140985 . 3799743117 <nl> + y : 4140985 . 3799743112 <nl> theta : - 2 . 0337837450207945 <nl> - kappa : 0 . 013791864359561543 <nl> - s : 5 . 1047898614465668 <nl> + kappa : 0 . 013791864359561534 <nl> + s : 5 . 1047898614465659 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 6662805183090947 <nl> - a : - 1 . 7600348733172819 <nl> + v : 5 . 66628051830909 <nl> + a : - 1 . 7600348733173048 <nl> relative_time : 0 . 80000000000000016 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587268 . 43073836 <nl> + x : 587268 . 43073836016 <nl> y : 4140985 . 1277722511 <nl> theta : - 2 . 0289925749817459 <nl> - kappa : 0 . 016151009807724843 <nl> - s : 5 . 3859078928901223 <nl> + kappa : 0 . 016151009807724829 <nl> + s : 5 . 3859078928901205 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 5785247758226859 <nl> - a : - 1 . 7499487481560752 <nl> + v : 5 . 57852477582268 <nl> + a : - 1 . 7499487481561011 <nl> relative_time : 0 . 8500000000000002 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587268 . 30848760356 <nl> y : 4140984 . 8794947751 <nl> theta : - 2 . 0242759001948283 <nl> - kappa : 0 . 018473443959170454 <nl> - s : 5 . 6626513710508135 <nl> + kappa : 0 . 01847344395917044 <nl> + s : 5 . 6626513710508117 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 4913111304956583 <nl> - a : - 1 . 7383334028645987 <nl> + v : 5 . 4913111304956512 <nl> + a : - 1 . 7383334028646273 <nl> relative_time : 0 . 90000000000000024 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587268 . 188156458 <nl> + x : 587268 . 18815645808 <nl> y : 4140984 . 6351158116 <nl> theta : - 2 . 0196334331990187 <nl> - kappa : 0 . 020759410688602278 <nl> - s : 5 . 9350493562719668 <nl> + kappa : 0 . 020759410688602264 <nl> + s : 5 . 9350493562719651 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 4047186809461429 <nl> - a : - 1 . 7250833329781454 <nl> + v : 5 . 4047186809461332 <nl> + a : - 1 . 7250833329781767 <nl> relative_time : 0 . 95000000000000029 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587268 . 07421224017 <nl> y : 4140984 . 3924563555 <nl> theta : - 2 . 0133622028262268 <nl> - kappa : 0 . 022424091387924897 <nl> - s : 6 . 2031349957083961 <nl> + kappa : 0 . 02242409138792488 <nl> + s : 6 . 2031349957083934 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 3188318010155058 <nl> - a : - 1 . 7100930340320086 <nl> + v : 5 . 3188318010154942 <nl> + a : - 1 . 7100930340320428 <nl> relative_time : 1 . 0000000000000002 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587267 . 962622935 <nl> - y : 4140984 . 1534083253 <nl> - theta : - 2 . 006986153568441 <nl> - kappa : 0 . 023991997197450037 <nl> - s : 6 . 4669457870875622 <nl> + y : 4140984 . 1534083257 <nl> + theta : - 2 . 0069861535684415 <nl> + kappa : 0 . 023991997197450016 <nl> + s : 6 . 4669457870875586 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 233740139768349 <nl> - a : - 1 . 6932570015614816 <nl> + v : 5 . 2337401397683356 <nl> + a : - 1 . 693257001561518 <nl> relative_time : 1 . 0500000000000003 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587267 . 85282403429 <nl> y : 4140983 . 9181957236 <nl> theta : - 2 . 00071240606307 <nl> - kappa : 0 . 025534746601038938 <nl> - s : 6 . 7265238424707405 <nl> + kappa : 0 . 025534746601038914 <nl> + s : 6 . 7265238424707361 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 1495386214925087 <nl> - a : - 1 . 6744697311018575 <nl> + v : 5 . 1495386214924945 <nl> + a : - 1 . 6744697311018963 <nl> relative_time : 1 . 1000000000000003 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587267 . 74518136028 <nl> - y : 4140983 . 6866022027 <nl> - theta : - 1 . 9944645946278414 <nl> - kappa : 0 . 027016317311677654 <nl> - s : 6 . 9819161520141737 <nl> + y : 4140983 . 6866022022 <nl> + theta : - 1 . 9944645946278416 <nl> + kappa : 0 . 02701631731167763 <nl> + s : 6 . 9819161520141684 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 0663274456990592 <nl> - a : - 1 . 6536257181884295 <nl> + v : 5 . 0663274456990424 <nl> + a : - 1 . 6536257181884702 <nl> relative_time : 1 . 1500000000000004 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587267 . 64506429713 <nl> + x : 587267 . 64506429725 <nl> y : 4140983 . 4561515441 <nl> - theta : - 1 . 9871823342101924 <nl> - kappa : 0 . 027929582270529996 <nl> - s : 7 . 2331748477302442 <nl> + theta : - 1 . 9871823342101926 <nl> + kappa : 0 . 027929582270529982 <nl> + s : 7 . 23317484773024 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 4 . 984212087122307 <nl> - a : - 1 . 630619458356491 <nl> + v : 4 . 9842120871222892 <nl> + a : - 1 . 6306194583565332 <nl> relative_time : 1 . 2000000000000004 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587267 . 546571396 <nl> - y : 4140983 . 2294394011 <nl> - theta : - 1 . 980017499532454 <nl> - kappa : 0 . 028828031672251675 <nl> - s : 7 . 48035746724863 <nl> + x : 587267 . 54657139606 <nl> + y : 4140983 . 2294394015 <nl> + theta : - 1 . 9800174995324542 <nl> + kappa : 0 . 028828031672251654 <nl> + s : 7 . 4803574672486235 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 4 . 9033032957197964 <nl> - a : - 1 . 6053454471413349 <nl> + v : 4 . 903303295719776 <nl> + a : - 1 . 6053454471413784 <nl> relative_time : 1 . 2500000000000004 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587267 . 449677471 <nl> y : 4140983 . 0064078011 <nl> - theta : - 1 . 9729690109125391 <nl> - kappa : 0 . 02971189525912292 <nl> - s : 7 . 7235272175774625 <nl> + theta : - 1 . 9729690109125393 <nl> + kappa : 0 . 029711895259122895 <nl> + s : 7 . 7235272175774554 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 4 . 823717096672306 <nl> - a : - 1 . 5776981800782548 <nl> + v : 4 . 8237170966722829 <nl> + a : - 1 . 577698180078299 <nl> relative_time : 1 . 3000000000000005 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587267 . 35435497237 <nl> y : 4140982 . 7869933289 <nl> - theta : - 1 . 966035546251548 <nl> - kappa : 0 . 03058142433896022 <nl> - s : 7 . 9627532388644982 <nl> + theta : - 1 . 9660355462515482 <nl> + kappa : 0 . 030581424338960186 <nl> + s : 7 . 9627532388644893 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 4 . 7455747903838486 <nl> - a : - 1 . 5475721527025434 <nl> + v : 4 . 7455747903838237 <nl> + a : - 1 . 5475721527025881 <nl> relative_time : 1 . 3500000000000005 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587267 . 26697272551 <nl> - y : 4140982 . 568462722 <nl> - theta : - 1 . 9586469772691983 <nl> - kappa : 0 . 030908586707269294 <nl> - s : 8 . 1981108681582739 <nl> + y : 4140982 . 5684627225 <nl> + theta : - 1 . 9586469772691988 <nl> + kappa : 0 . 030908586707269273 <nl> + s : 8 . 1981108681582615 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 4 . 6690029524816739 <nl> - a : - 1 . 5148618605494943 <nl> + v : 4 . 6690029524816463 <nl> + a : - 1 . 514861860549539 <nl> relative_time : 1 . 4000000000000006 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587267 . 18124933541 <nl> - y : 4140982 . 3533426519 <nl> - theta : - 1 . 9513539153011568 <nl> - kappa : 0 . 031209597793649298 <nl> - s : 8 . 429681903169266 <nl> + y : 4140982 . 3533426523 <nl> + theta : - 1 . 951353915301157 <nl> + kappa : 0 . 031209597793649284 <nl> + s : 8 . 4296819031692554 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 4 . 5941334338162658 <nl> - a : - 1 . 4794617991544008 <nl> + v : 4 . 5941334338162365 <nl> + a : - 1 . 4794617991544448 <nl> relative_time : 1 . 4500000000000006 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587267 . 09689490451 <nl> y : 4140982 . 14165794 <nl> - theta : - 1 . 9441771631154994 <nl> - kappa : 0 . 031505801885427891 <nl> - s : 8 . 6575548660310613 <nl> + theta : - 1 . 9441771631154998 <nl> + kappa : 0 . 03150580188542787 <nl> + s : 8 . 6575548660310488 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 4 . 5211033604613435 <nl> - a : - 1 . 4412664640525628 <nl> + v : 4 . 5211033604613169 <nl> + a : - 1 . 4412664640525978 <nl> relative_time : 1 . 5000000000000007 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587267 . 01387556363 <nl> y : 4140981 . 9333235938 <nl> - theta : - 1 . 9371145685325766 <nl> - kappa : 0 . 031797317911064223 <nl> - s : 8 . 8818212496740649 <nl> + theta : - 1 . 937114568532577 <nl> + kappa : 0 . 031797317911064209 <nl> + s : 8 . 8818212496740525 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 4 . 4498080688364041 <nl> - a : - 1 . 4105368400747071 <nl> + v : 4 . 4498080688363757 <nl> + a : - 1 . 4105368400747431 <nl> relative_time : 1 . 5500000000000007 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587266 . 93580021488 <nl> - y : 4140981 . 7268821462 <nl> - theta : - 1 . 9301749445786145 <nl> - kappa : 0 . 03174805154211529 <nl> - s : 9 . 10256129913466 <nl> + x : 587266 . 93580021476 <nl> + y : 4140981 . 7268821457 <nl> + theta : - 1 . 9301749445786149 <nl> + kappa : 0 . 03174805154211531 <nl> + s : 9 . 1025612991346438 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 4 . 3800503098759735 <nl> - a : - 1 . 3797692107708122 <nl> + v : 4 . 3800503098759433 <nl> + a : - 1 . 3797692107708488 <nl> relative_time : 1 . 6000000000000008 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587266 . 86186146119 <nl> - y : 4140981 . 5225581918 <nl> - theta : - 1 . 9233518647283163 <nl> - kappa : 0 . 031430073535497739 <nl> - s : 9 . 31985192841948 <nl> + y : 4140981 . 5225581909 <nl> + theta : - 1 . 923351864728317 <nl> + kappa : 0 . 03143007353549776 <nl> + s : 9 . 3198519284194639 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 4 . 3118313758515683 <nl> - a : - 1 . 3489878959322066 <nl> + v : 4 . 3118313758515363 <nl> + a : - 1 . 3489878959322439 <nl> relative_time : 1 . 6500000000000008 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587266 . 78907027841 <nl> y : 4140981 . 3214054592 <nl> - theta : - 1 . 9166342035925104 <nl> - kappa : 0 . 03111703072518042 <nl> - s : 9 . 533770085749 <nl> + theta : - 1 . 916634203592511 <nl> + kappa : 0 . 031117030725180444 <nl> + s : 9 . 5337700857489818 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 4 . 2451513430451424 <nl> - a : - 1 . 3182172153502196 <nl> + v : 4 . 2451513430451087 <nl> + a : - 1 . 3182172153502576 <nl> relative_time : 1 . 7000000000000008 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587266 . 7174004917 <nl> - y : 4140981 . 1233516177 <nl> - theta : - 1 . 9100201602299138 <nl> - kappa : 0 . 030808810545848421 <nl> - s : 9 . 7443926927580513 <nl> + y : 4140981 . 1233516173 <nl> + theta : - 1 . 9100201602299145 <nl> + kappa : 0 . 030808810545848449 <nl> + s : 9 . 74439269275803 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 4 . 1800090717490805 <nl> - a : - 1 . 2874814888161805 <nl> + v : 4 . 180009071749045 <nl> + a : - 1 . 2874814888162187 <nl> relative_time : 1 . 7500000000000009 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587266 . 64682595641 <nl> - y : 4140980 . 9283244167 <nl> - theta : - 1 . 9035078814561583 <nl> - kappa : 0 . 030505300560064189 <nl> - s : 9 . 9517965836963445 <nl> + x : 587266 . 6468259563 <nl> + y : 4140980 . 9283244172 <nl> + theta : - 1 . 9035078814561592 <nl> + kappa : 0 . 03050530056006422 <nl> + s : 9 . 9517965836963214 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 4 . 1164022062662031 <nl> - a : - 1 . 256805036121418 <nl> + v : 4 . 1164022062661649 <nl> + a : - 1 . 2568050361214564 <nl> relative_time : 1 . 8000000000000009 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587266 . 58207189967 <nl> y : 4140980 . 7346143252 <nl> - theta : - 1 . 8975253464308317 <nl> - kappa : 0 . 02985599963093899 <nl> - s : 10 . 156058444628995 <nl> + theta : - 1 . 8975253464308324 <nl> + kappa : 0 . 029855999630939073 <nl> + s : 10 . 156058444628972 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 4 . 054327174909762 <nl> - a : - 1 . 2262121770572612 <nl> + v : 4 . 0543271749097221 <nl> + a : - 1 . 2262121770572998 <nl> relative_time : 1 . 850000000000001 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587266 . 51944231475 <nl> y : 4140980 . 543414196 <nl> - theta : - 1 . 8917364441535678 <nl> - kappa : 0 . 029131440863790853 <nl> - s : 10 . 35725475263704 <nl> + theta : - 1 . 8917364441535685 <nl> + kappa : 0 . 02913144086379095 <nl> + s : 10 . 357254752637013 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 3 . 9937791900034441 <nl> - a : - 1 . 1957272314150391 <nl> + v : 3 . 9937791900034023 <nl> + a : - 1 . 1957272314150778 <nl> relative_time : 1 . 900000000000001 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587266 . 45774327114 <nl> - y : 4140980 . 3550548907 <nl> - theta : - 1 . 8860332850684749 <nl> - kappa : 0 . 028417647485946392 <nl> - s : 10 . 555461715017961 <nl> + y : 4140980 . 3550548903 <nl> + theta : - 1 . 8860332850684758 <nl> + kappa : 0 . 028417647485946496 <nl> + s : 10 . 555461715017932 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 3 . 93475224788137 <nl> - a : - 1 . 1653745189860809 <nl> + v : 3 . 9347522478813266 <nl> + a : - 1 . 1653745189861193 <nl> relative_time : 1 . 9500000000000011 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587266 . 39695114945 <nl> y : 4140980 . 1694643018 <nl> - theta : - 1 . 8804140606701025 <nl> - kappa : 0 . 0277143462461754 <nl> - s : 10 . 750755208486206 <nl> + theta : - 1 . 8804140606701034 <nl> + kappa : 0 . 027714346246175508 <nl> + s : 10 . 750755208486176 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 3 . 8772391288880934 <nl> - a : - 1 . 1351783595617158 <nl> + v : 3 . 8772391288880477 <nl> + a : - 1 . 1351783595617539 <nl> relative_time : 2 . 0000000000000009 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587266 . 3370424523 <nl> y : 4140979 . 9865706954 <nl> - theta : - 1 . 8748769416493014 <nl> - kappa : 0 . 027021265302715029 <nl> - s : 10 . 943210718373715 <nl> + theta : - 1 . 8748769416493023 <nl> + kappa : 0 . 027021265302715151 <nl> + s : 10 . 943210718373681 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 3 . 8212313973786003 <nl> - a : - 1 . 1051630729332722 <nl> + v : 3 . 8212313973785528 <nl> + a : - 1 . 1051630729333102 <nl> relative_time : 2 . 0500000000000007 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587266 . 28130279819 <nl> - y : 4140979 . 8052679505 <nl> - theta : - 1 . 86998467428391 <nl> - kappa : 0 . 026164625624367936 <nl> - s : 11 . 132903277830433 <nl> + y : 4140979 . 805267951 <nl> + theta : - 1 . 8699846742839108 <nl> + kappa : 0 . 026164625624368103 <nl> + s : 11 . 1329032778304 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 3 . 7667194017183121 <nl> - a : - 1 . 0753529788920797 <nl> + v : 3 . 7667194017182628 <nl> + a : - 1 . 075352978892117 <nl> relative_time : 2 . 1000000000000005 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587266 . 22789264109 <nl> + x : 587266 . 227892641 <nl> y : 4140979 . 6260532765 <nl> - theta : - 1 . 8654242602848201 <nl> - kappa : 0 . 025239400586672942 <nl> - s : 11 . 319907407024845 <nl> + theta : - 1 . 865424260284821 <nl> + kappa : 0 . 025239400586673129 <nl> + s : 11 . 319907407024807 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 3 . 7136922742830829 <nl> - a : - 1 . 045772397229467 <nl> + v : 3 . 7136922742830318 <nl> + a : - 1 . 0457723972295039 <nl> relative_time : 2 . 1500000000000004 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587266 . 17522920528 <nl> y : 4140979 . 4493441829 <nl> - theta : - 1 . 8609274156401692 <nl> - kappa : 0 . 024327111017044961 <nl> - s : 11 . 50429705234448 <nl> + theta : - 1 . 8609274156401703 <nl> + kappa : 0 . 024327111017045162 <nl> + s : 11 . 504297052344439 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 3 . 6621379314592009 <nl> - a : - 1 . 0164456477367634 <nl> + v : 3 . 6621379314591476 <nl> + a : - 1 . 0164456477367996 <nl> relative_time : 2 . 2 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587266 . 12329155253 <nl> y : 4140979 . 2750704112 <nl> - theta : - 1 . 8564925384659341 <nl> - kappa : 0 . 023427394196651043 <nl> - s : 11 . 686145525596448 <nl> + theta : - 1 . 8564925384659352 <nl> + kappa : 0 . 023427394196651255 <nl> + s : 11 . 686145525596405 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 3 . 6120430736433864 <nl> - a : - 0 . 98739705020529756 <nl> + v : 3 . 6120430736433313 <nl> + a : - 0 . 98739705020533319 <nl> relative_time : 2 . 25 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587266 . 07205894275 <nl> y : 4140979 . 10316237 <nl> - theta : - 1 . 8521180289858219 <nl> - kappa : 0 . 022539890847132548 <nl> - s : 11 . 865525443207954 <nl> + theta : - 1 . 852118028985823 <nl> + kappa : 0 . 022539890847132774 <nl> + s : 11 . 865525443207908 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 3 . 5633931852427949 <nl> - a : - 0 . 958650924426399 <nl> + v : 3 . 5633931852427385 <nl> + a : - 0 . 95865092442643374 <nl> relative_time : 2 . 3 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587266 . 02209178 <nl> - y : 4140978 . 9333850322 <nl> - theta : - 1 . 847949033386014 <nl> - kappa : 0 . 021648314810328539 <nl> - s : 12 . 042508665426823 <nl> + y : 4140978 . 9333850318 <nl> + theta : - 1 . 8479490333860149 <nl> + kappa : 0 . 021648314810328813 <nl> + s : 12 . 042508665426773 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 3 . 5161725346750154 <nl> - a : - 0 . 93023159019139623 <nl> + v : 3 . 5161725346749568 <nl> + a : - 0 . 93023159019143031 <nl> relative_time : 2 . 3499999999999996 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587265 . 9759200816 <nl> y : 4140978 . 7649408542 <nl> - theta : - 1 . 8446277647627547 <nl> - kappa : 0 . 020682378244498173 <nl> - s : 12 . 217166235522019 <nl> + theta : - 1 . 8446277647627558 <nl> + kappa : 0 . 020682378244498464 <nl> + s : 12 . 217166235521965 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 3 . 4703641743680684 <nl> - a : - 0 . 90216336729161861 <nl> + v : 3 . 4703641743680089 <nl> + a : - 0 . 9021633672916517 <nl> relative_time : 2 . 3999999999999995 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587265 . 93034463353 <nl> y : 4140978 . 5986719243 <nl> - theta : - 1 . 8413492613327658 <nl> - kappa : 0 . 019728915555473805 <nl> - s : 12 . 389568318984166 <nl> + theta : - 1 . 8413492613327669 <nl> + kappa : 0 . 019728915555474111 <nl> + s : 12 . 389568318984111 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 3 . 425949940760411 <nl> - a : - 0 . 87447057551839513 <nl> + v : 3 . 4259499407603498 <nl> + a : - 0 . 87447057551842733 <nl> relative_time : 2 . 4499999999999993 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587265 . 88534713537 <nl> + x : 587265 . 88534713548 <nl> y : 4140978 . 434511479 <nl> - theta : - 1 . 8381122805786549 <nl> - kappa : 0 . 018787543886638419 <nl> - s : 12 . 559784142726077 <nl> + theta : - 1 . 8381122805786561 <nl> + kappa : 0 . 018787543886638731 <nl> + s : 12 . 55978414272602 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 3 . 3829104543009318 <nl> - a : - 0 . 8471775346630549 <nl> + v : 3 . 3829104543008683 <nl> + a : - 0 . 847177534663086 <nl> relative_time : 2 . 4999999999999991 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587265 . 8409095509 <nl> y : 4140978 . 2723937174 <nl> - theta : - 1 . 8349155935860493 <nl> - kappa : 0 . 017857885908390346 <nl> - s : 12 . 727881934283266 <nl> + theta : - 1 . 8349155935860504 <nl> + kappa : 0 . 017857885908390679 <nl> + s : 12 . 727881934283205 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 3 . 3412251194489526 <nl> - a : - 0 . 82030856451692669 <nl> + v : 3 . 3412251194488878 <nl> + a : - 0 . 82030856451695666 <nl> relative_time : 2 . 5499999999999989 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587265 . 79701412388 <nl> - y : 4140978 . 1122538615 <nl> - theta : - 1 . 8317579866272071 <nl> - kappa : 0 . 016939570154392326 <nl> - s : 12 . 893928861014476 <nl> + y : 4140978 . 112253862 <nl> + theta : - 1 . 8317579866272085 <nl> + kappa : 0 . 016939570154392687 <nl> + s : 12 . 893928861014411 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 3 . 30087212467423 <nl> - a : - 0 . 79388798487133971 <nl> + v : 3 . 3008721246741644 <nl> + a : - 0 . 79388798487136869 <nl> relative_time : 2 . 5999999999999988 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587265 . 75416578411 <nl> - y : 4140977 . 9538895711 <nl> - theta : - 1 . 8288220109564346 <nl> - kappa : 0 . 01603908002289656 <nl> - s : 13 . 057990969302196 <nl> + x : 587265 . 75416578422 <nl> + y : 4140977 . 9538895716 <nl> + theta : - 1 . 8288220109564355 <nl> + kappa : 0 . 016039080022896918 <nl> + s : 13 . 057990969302129 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 3 . 2618284424569541 <nl> - a : - 0 . 767940115517623 <nl> + v : 3 . 2618284424568866 <nl> + a : - 0 . 76794011551765073 <nl> relative_time : 2 . 6499999999999986 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587265 . 71384526358 <nl> y : 4140977 . 7968407446 <nl> - theta : - 1 . 8266332003859942 <nl> - kappa : 0 . 015175694374758797 <nl> - s : 13 . 220133123753188 <nl> + theta : - 1 . 8266332003859951 <nl> + kappa : 0 . 015175694374759173 <nl> + s : 13 . 220133123753117 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 3 . 2240698292877479 <nl> - a : - 0 . 74248927624710559 <nl> + v : 3 . 2240698292876795 <nl> + a : - 0 . 742489276247132 <nl> relative_time : 2 . 6999999999999984 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587265 . 67398636427 <nl> y : 4140977 . 6415899377 <nl> - theta : - 1 . 8244694097849157 <nl> - kappa : 0 . 014322193449345958 <nl> - s : 13 . 380418946399004 <nl> + theta : - 1 . 8244694097849168 <nl> + kappa : 0 . 014322193449346356 <nl> + s : 13 . 38041894639893 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 3 . 1875708256676685 <nl> - a : - 0 . 71755978685111632 <nl> + v : 3 . 1875708256675983 <nl> + a : - 0 . 71755978685114175 <nl> relative_time : 2 . 7499999999999982 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587265 . 6345735892 <nl> y : 4140977 . 4880767893 <nl> - theta : - 1 . 8223298191363204 <nl> - kappa : 0 . 013478245408006136 <nl> - s : 13 . 538910755896513 <nl> + theta : - 1 . 8223298191363215 <nl> + kappa : 0 . 013478245408006552 <nl> + s : 13 . 538910755896435 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 3 . 1523047561082058 <nl> - a : - 0 . 69317596712098462 <nl> + v : 3 . 1523047561081343 <nl> + a : - 0 . 6931759671210086 <nl> relative_time : 2 . 799999999999998 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587265 . 5955917805 <nl> y : 4140977 . 3362422585 <nl> - theta : - 1 . 8202136254580177 <nl> - kappa : 0 . 012643525676135447 <nl> - s : 13 . 695669506728414 <nl> + theta : - 1 . 8202136254580186 <nl> + kappa : 0 . 012643525676135874 <nl> + s : 13 . 695669506728334 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 3 . 1182437291312839 <nl> - a : - 0 . 669362136848039 <nl> + v : 3 . 1182437291312111 <nl> + a : - 0 . 66936213684806189 <nl> relative_time : 2 . 8499999999999979 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587265 . 55702613492 <nl> - y : 4140977 . 1860286873 <nl> - theta : - 1 . 8181200437346665 <nl> - kappa : 0 . 01181771726692723 <nl> - s : 13 . 850754728403771 <nl> + y : 4140977 . 1860286877 <nl> + theta : - 1 . 8181200437346676 <nl> + kappa : 0 . 011817717266927685 <nl> + s : 13 . 850754728403686 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 3 . 0853586372692603 <nl> - a : - 0 . 646142615823609 <nl> + v : 3 . 0853586372691861 <nl> + a : - 0 . 64614261582363042 <nl> relative_time : 2 . 8999999999999977 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587265 . 51886221825 <nl> + x : 587265 . 51886221836 <nl> y : 4140977 . 0373798548 <nl> - theta : - 1 . 8160483078422498 <nl> - kappa : 0 . 011000511105121317 <nl> - s : 14 . 004224464658519 <nl> + theta : - 1 . 8160483078422511 <nl> + kappa : 0 . 011000511105121791 <nl> + s : 14 . 00422446465843 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 3 . 0536191570649258 <nl> - a : - 0 . 6235417238390234 <nl> + v : 3 . 0536191570648512 <nl> + a : - 0 . 62354172383904349 <nl> relative_time : 2 . 9499999999999975 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587265 . 482429614 <nl> - y : 4140976 . 8899040595 <nl> - theta : - 1 . 8146138909751166 <nl> - kappa : 0 . 010311466857402474 <nl> - s : 14 . 156135212655995 <nl> + y : 4140976 . 889904059 <nl> + theta : - 1 . 8146138909751175 <nl> + kappa : 0 . 010311466857402876 <nl> + s : 14 . 156135212655903 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 3 . 0229937490715049 <nl> - a : - 0 . 60158378068561125 <nl> + v : 3 . 0229937490714294 <nl> + a : - 0 . 60158378068563 <nl> relative_time : 2 . 9999999999999973 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587265 . 44665605959 <nl> - y : 4140976 . 7438133811 <nl> - theta : - 1 . 8133305146925678 <nl> - kappa : 0 . 0096558613959827674 <nl> - s : 14 . 306542105698741 <nl> + x : 587265 . 44665605947 <nl> + y : 4140976 . 7438133806 <nl> + theta : - 1 . 8133305146925685 <nl> + kappa : 0 . 0096558613959831785 <nl> + s : 14 . 306542105698647 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 9934645661423787 <nl> - a : - 0 . 57967246560280183 <nl> + v : 2 . 9934645661422992 <nl> + a : - 0 . 57967246560282948 <nl> relative_time : 3 . 0499999999999972 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587265 . 411227212 <nl> y : 4140976 . 5991304042 <nl> - theta : - 1 . 8120594984444951 <nl> - kappa : 0 . 0090065732220016535 <nl> - s : 14 . 455499707007341 <nl> + theta : - 1 . 812059498444496 <nl> + kappa : 0 . 0090065732220020768 <nl> + s : 14 . 455499707007244 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 9650176569001747 <nl> - a : - 0 . 55829188718303813 <nl> + v : 2 . 9650176569000934 <nl> + a : - 0 . 55829188718306455 <nl> relative_time : 3 . 099999999999997 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587265 . 37613035832 <nl> - y : 4140976 . 4558032108 <nl> - theta : - 1 . 8108003903636571 <nl> - kappa : 0 . 0083633693419139683 <nl> - s : 14 . 603061469210379 <nl> + y : 4140976 . 45580321 <nl> + theta : - 1 . 810800390363658 <nl> + kappa : 0 . 0083633693419144159 <nl> + s : 14 . 603061469210276 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 9376266264155935 <nl> - a : - 0 . 53743636927217653 <nl> + v : 2 . 9376266264155113 <nl> + a : - 0 . 53743636927220173 <nl> relative_time : 3 . 1499999999999968 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587265 . 34135309677 <nl> y : 4140976 . 3137811557 <nl> - theta : - 1 . 8095527495508061 <nl> - kappa : 0 . 0077260224838627536 <nl> - s : 14 . 749279532285163 <nl> + theta : - 1 . 809552749550807 <nl> + kappa : 0 . 0077260224838632176 <nl> + s : 14 . 749279532285057 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 9112653635670442 <nl> - a : - 0 . 51710023571607866 <nl> + v : 2 . 9112653635669608 <nl> + a : - 0 . 51710023571610264 <nl> relative_time : 3 . 1999999999999966 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587265 . 30688333523 <nl> y : 4140976 . 1730148573 <nl> - theta : - 1 . 8083161459728228 <nl> - kappa : 0 . 0070943110358250537 <nl> - s : 14 . 894204737748115 <nl> + theta : - 1 . 8083161459728236 <nl> + kappa : 0 . 0070943110358255429 <nl> + s : 14 . 894204737748003 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 8859080410406421 <nl> - a : - 0 . 49727781036060636 <nl> + v : 2 . 8859080410405573 <nl> + a : - 0 . 49727781036062912 <nl> relative_time : 3 . 2499999999999964 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587265 . 27271401614 <nl> y : 4140976 . 0334550389 <nl> - theta : - 1 . 8070928092343612 <nl> - kappa : 0 . 0064692960007361041 <nl> - s : 15 . 037886642845155 <nl> + theta : - 1 . 8070928092343617 <nl> + kappa : 0 . 0064692960007364094 <nl> + s : 15 . 03788664284504 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 8615291153302089 <nl> - a : - 0 . 47796341705162138 <nl> + v : 2 . 8615291153301232 <nl> + a : - 0 . 47796341705164291 <nl> relative_time : 3 . 2999999999999963 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587265 . 23972627951 <nl> y : 4140975 . 894839298 <nl> - theta : - 1 . 8063822742511002 <nl> - kappa : 0 . 0060917925415382834 <nl> - s : 15 . 180373534742088 <nl> + theta : - 1 . 8063822742511009 <nl> + kappa : 0 . 0060917925415386 <nl> + s : 15 . 180373534741969 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 8381033267372744 <nl> - a : - 0 . 45915137963498548 <nl> + v : 2 . 8381033267371873 <nl> + a : - 0 . 45915137963500574 <nl> relative_time : 3 . 3499999999999961 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587265 . 20700431708 <nl> y : 4140975 . 75734035 <nl> - theta : - 1 . 8056774620899043 <nl> - kappa : 0 . 0057173305350779685 <nl> - s : 15 . 32171244471499 <nl> + theta : - 1 . 805677462089905 <nl> + kappa : 0 . 0057173305350782981 <nl> + s : 15 . 321712444714866 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 8156056993710736 <nl> - a : - 0 . 44083602195656041 <nl> + v : 2 . 8156056993709861 <nl> + a : - 0 . 44083602195657945 <nl> relative_time : 3 . 3999999999999959 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587265 . 174537528 <nl> + x : 587265 . 17453752784 <nl> y : 4140975 . 62091365 <nl> - theta : - 1 . 8049781451473068 <nl> - kappa : 0 . 0053457886668722724 <nl> - s : 15 . 461949162340584 <nl> + theta : - 1 . 8049781451473075 <nl> + kappa : 0 . 0053457886668726107 <nl> + s : 15 . 461949162340456 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 7940115411485507 <nl> - a : - 0 . 4230116678622079 <nl> + v : 2 . 7940115411484618 <nl> + a : - 0 . 42301166786222572 <nl> relative_time : 3 . 4499999999999957 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587265 . 142315595 <nl> y : 4140975 . 4855158459 <nl> - theta : - 1 . 8042841019069491 <nl> - kappa : 0 . 0049770488745892183 <nl> - s : 15 . 601128249686644 <nl> + theta : - 1 . 8042841019069498 <nl> + kappa : 0 . 0049770488745895713 <nl> + s : 15 . 601128249686511 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 7732964437943544 <nl> - a : - 0 . 40567264119778979 <nl> + v : 2 . 7732964437942647 <nl> + a : - 0 . 40567264119780638 <nl> relative_time : 3 . 4999999999999956 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587265 . 1103284827 <nl> - y : 4140975 . 3511047666 <nl> - theta : - 1 . 8035951168716455 <nl> - kappa : 0 . 00461099631045191 <nl> - s : 15 . 73929305550236 <nl> + y : 4140975 . 3511047661 <nl> + theta : - 1 . 8035951168716464 <nl> + kappa : 0 . 0046109963104522724 <nl> + s : 15 . 739293055502223 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 7534362828408416 <nl> - a : - 0 . 38881326580916781 <nl> + v : 2 . 7534362828407515 <nl> + a : - 0 . 38881326580918318 <nl> relative_time : 3 . 5499999999999954 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587265 . 07856643281 <nl> + x : 587265 . 0785664327 <nl> y : 4140975 . 2176394081 <nl> - theta : - 1 . 8029109804952599 <nl> - kappa : 0 . 0042475193036426283 <nl> - s : 15 . 876485729408735 <nl> + theta : - 1 . 8029109804952606 <nl> + kappa : 0 . 004247519303643 <nl> + s : 15 . 876485729408595 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 7344072176280765 <nl> - a : - 0 . 37242786554220364 <nl> + v : 2 . 7344072176279854 <nl> + a : - 0 . 37242786554221785 <nl> relative_time : 3 . 5999999999999952 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587265 . 04701996129 <nl> - y : 4140975 . 0850799181 <nl> - theta : - 1 . 8022314891144013 <nl> - kappa : 0 . 0038865093227069525 <nl> - s : 16 . 01274723608897 <nl> + x : 587265 . 04701996117 <nl> + y : 4140975 . 0850799177 <nl> + theta : - 1 . 802231489114402 <nl> + kappa : 0 . 0038865093227073385 <nl> + s : 16 . 012747236088824 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 7161856913038296 <nl> - a : - 0 . 35651076424275918 <nl> + v : 2 . 7161856913037377 <nl> + a : - 0 . 35651076424277217 <nl> relative_time : 3 . 649999999999995 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587265 . 01611325028 <nl> - y : 4140974 . 9532853886 <nl> - theta : - 1 . 8017249503587605 <nl> - kappa : 0 . 0037672858894324873 <nl> - s : 16 . 148117369478847 <nl> + x : 587265 . 01611325017 <nl> + y : 4140974 . 9532853882 <nl> + theta : - 1 . 8017249503587609 <nl> + kappa : 0 . 0037672858894325515 <nl> + s : 16 . 148117369478697 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 6987484308235778 <nl> - a : - 0 . 341056285756696 <nl> + v : 2 . 6987484308234855 <nl> + a : - 0 . 341056285756708 <nl> relative_time : 3 . 6999999999999948 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587264 . 98551017721 <nl> y : 4140974 . 8222953803 <nl> - theta : - 1 . 8012639613663266 <nl> - kappa : 0 . 0037090005266408256 <nl> - s : 16 . 282634766957109 <nl> + theta : - 1 . 801263961366327 <nl> + kappa : 0 . 0037090005266408937 <nl> + s : 16 . 282634766956953 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 6820724469505062 <nl> - a : - 0 . 32605875392987604 <nl> + v : 2 . 6820724469504129 <nl> + a : - 0 . 326058753929887 <nl> relative_time : 3 . 7499999999999947 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587264 . 95509257365 <nl> - y : 4140974 . 6920992355 <nl> - theta : - 1 . 8008057658188465 <nl> - kappa : 0 . 0036510684015156778 <nl> - s : 16 . 416336923535859 <nl> + y : 4140974 . 692099236 <nl> + theta : - 1 . 800805765818847 <nl> + kappa : 0 . 0036510684015157472 <nl> + s : 16 . 4163369235357 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 6661350342555052 <nl> - a : - 0 . 31151249260816094 <nl> + v : 2 . 666135034255412 <nl> + a : - 0 . 31151249260817093 <nl> relative_time : 3 . 7999999999999945 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587264 . 92485216609 <nl> - y : 4140974 . 5626615416 <nl> - theta : - 1 . 8003502392850232 <nl> - kappa : 0 . 0035934737565843306 <nl> - s : 16 . 549260206050931 <nl> + y : 4140974 . 5626615412 <nl> + theta : - 1 . 8003502392850237 <nl> + kappa : 0 . 0035934737565844008 <nl> + s : 16 . 549260206050768 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 6509137711171737 <nl> - a : - 0 . 29741182563741253 <nl> + v : 2 . 65091377111708 <nl> + a : - 0 . 29741182563742163 <nl> relative_time : 3 . 8499999999999943 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587264 . 89478093432 <nl> + x : 587264 . 89478093444 <nl> y : 4140974 . 4339479683 <nl> - theta : - 1 . 7998972611442758 <nl> - kappa : 0 . 0035362013170556553 <nl> - s : 16 . 681439867352289 <nl> + theta : - 1 . 7998972611442763 <nl> + kappa : 0 . 003536201317055729 <nl> + s : 16 . 681439867352118 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 636386519721817 <nl> - a : - 0 . 28375107686349249 <nl> + v : 2 . 6363865197217224 <nl> + a : - 0 . 28375107686350076 <nl> relative_time : 3 . 8999999999999941 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587264 . 86487110867 <nl> + x : 587264 . 86487110856 <nl> y : 4140974 . 3059252594 <nl> - theta : - 1 . 7994467145387081 <nl> - kappa : 0 . 0034792362846715313 <nl> - s : 16 . 812910060494392 <nl> + theta : - 1 . 7994467145387087 <nl> + kappa : 0 . 0034792362846716067 <nl> + s : 16 . 812910060494218 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 6225314260634467 <nl> - a : - 0 . 27052457013226278 <nl> + v : 2 . 6225314260633517 <nl> + a : - 0 . 27052457013227016 <nl> relative_time : 3 . 949999999999994 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587264 . 83511516592 <nl> - y : 4140974 . 1785612144 <nl> - theta : - 1 . 7989984863250374 <nl> - kappa : 0 . 0034225643315582486 <nl> - s : 16 . 943703852926607 <nl> + x : 587264 . 8351151658 <nl> + y : 4140974 . 1785612139 <nl> + theta : - 1 . 7989984863250381 <nl> + kappa : 0 . 0034225643315583276 <nl> + s : 16 . 943703852926426 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 6093269199437819 <nl> - a : - 0 . 25772662928958495 <nl> + v : 2 . 6093269199436864 <nl> + a : - 0 . 25772662928959161 <nl> relative_time : 3 . 9999999999999938 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587264 . 80561128911 <nl> + x : 587264 . 805611289 <nl> y : 4140974 . 0518002203 <nl> - theta : - 1 . 7985551850543138 <nl> - kappa : 0 . 0033753071726245441 <nl> - s : 17 . 073853240683569 <nl> + theta : - 1 . 7985551850543144 <nl> + kappa : 0 . 0033753071726245723 <nl> + s : 17 . 073853240683384 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 5967517149722479 <nl> - a : - 0 . 24535157818132075 <nl> + v : 2 . 5967517149721524 <nl> + a : - 0 . 24535157818132686 <nl> relative_time : 4 . 0499999999999936 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587264 . 77655863808 <nl> - y : 4140973 . 9255643357 <nl> - theta : - 1 . 7981220183032678 <nl> - kappa : 0 . 0033553131757085367 <nl> - s : 17 . 203389162575579 <nl> + y : 4140973 . 9255643361 <nl> + theta : - 1 . 7981220183032685 <nl> + kappa : 0 . 0033553131757085661 <nl> + s : 17 . 203389162575391 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 5847848085659786 <nl> - a : - 0 . 23339374065333207 <nl> + v : 2 . 5847848085658827 <nl> + a : - 0 . 23339374065333762 <nl> relative_time : 4 . 0999999999999934 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587264 . 74763687176 <nl> - y : 4140973 . 7998971548 <nl> - theta : - 1 . 7976908025835843 <nl> - kappa : 0 . 0033354092534095253 <nl> - s : 17 . 332341514378996 <nl> + y : 4140973 . 7998971543 <nl> + theta : - 1 . 7976908025835847 <nl> + kappa : 0 . 0033354092534095552 <nl> + s : 17 . 332341514378804 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 5734054819498127 <nl> - a : - 0 . 22184744055148059 <nl> + v : 2 . 5734054819497167 <nl> + a : - 0 . 2218474405514857 <nl> relative_time : 4 . 1499999999999932 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587264 . 7188395157 <nl> - y : 4140973 . 6747705452 <nl> - theta : - 1 . 7972614415293555 <nl> - kappa : 0 . 00331559095008805 <nl> - s : 17 . 460739163026602 <nl> + y : 4140973 . 6747705443 <nl> + theta : - 1 . 7972614415293562 <nl> + kappa : 0 . 0033155909500880805 <nl> + s : 17 . 460739163026403 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 5625933001562968 <nl> - a : - 0 . 2107070017216281 <nl> + v : 2 . 5625933001562009 <nl> + a : - 0 . 21070700172163292 <nl> relative_time : 4 . 1999999999999931 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587264 . 690160323 <nl> - y : 4140973 . 550157364 <nl> - theta : - 1 . 7968338421633026 <nl> - kappa : 0 . 0032958539667173668 <nl> - s : 17 . 588609960798003 <nl> + y : 4140973 . 5501573635 <nl> + theta : - 1 . 7968338421633032 <nl> + kappa : 0 . 0032958539667173985 <nl> + s : 17 . 588609960797797 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 5523281120256853 <nl> - a : - 0 . 19996674800963637 <nl> + v : 2 . 552328112025589 <nl> + a : - 0 . 19996674800964098 <nl> relative_time : 4 . 2499999999999929 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587264 . 66159327154 <nl> y : 4140973 . 4260314442 <nl> - theta : - 1 . 796407914849715 <nl> - kappa : 0 . 0032761941586931468 <nl> - s : 17 . 715980759510011 <nl> + theta : - 1 . 7964079148497156 <nl> + kappa : 0 . 0032761941586931789 <nl> + s : 17 . 715980759509804 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 5425900502059382 <nl> - a : - 0 . 1896210032613671 <nl> + v : 2 . 5425900502058414 <nl> + a : - 0 . 18962100326137166 <nl> relative_time : 4 . 2999999999999927 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587264 . 63313255983 <nl> y : 4140973 . 3023675792 <nl> - theta : - 1 . 7959835732473655 <nl> - kappa : 0 . 0032566075336431782 <nl> - s : 17 . 842877424707034 <nl> + theta : - 1 . 7959835732473661 <nl> + kappa : 0 . 0032566075336432111 <nl> + s : 17 . 84287742470682 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 5333595311527226 <nl> - a : - 0 . 17966409132268207 <nl> + v : 2 . 5333595311526254 <nl> + a : - 0 . 17966409132268674 <nl> relative_time : 4 . 3499999999999925 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587264 . 604772605 <nl> y : 4140973 . 1791415093 <nl> - theta : - 1 . 7955607342623994 <nl> - kappa : 0 . 0032370902492370652 <nl> - s : 17 . 969324849851443 <nl> + theta : - 1 . 7955607342624 <nl> + kappa : 0 . 0032370902492370986 <nl> + s : 17 . 969324849851226 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 5246172551294124 <nl> - a : - 0 . 17009033603944318 <nl> + v : 2 . 5246172551293151 <nl> + a : - 0 . 17009033603944784 <nl> relative_time : 4 . 3999999999999924 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587264 . 57668089948 <nl> - y : 4140973 . 0562904202 <nl> - theta : - 1 . 7951568974487304 <nl> - kappa : 0 . 00320309964879921 <nl> - s : 18 . 095346970513987 <nl> + y : 4140973 . 0562904207 <nl> + theta : - 1 . 7951568974487311 <nl> + kappa : 0 . 0032030996487993038 <nl> + s : 18 . 095346970513763 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 5163442062070898 <nl> - a : - 0 . 160894061257512 <nl> + v : 2 . 5163442062069925 <nl> + a : - 0 . 16089406125751698 <nl> relative_time : 4 . 4499999999999922 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587264 . 5489028641 <nl> - y : 4140972 . 9337803517 <nl> - theta : - 1 . 7947771288802452 <nl> - kappa : 0 . 0031503782308421355 <nl> - s : 18 . 220966778564144 <nl> + y : 4140972 . 9337803512 <nl> + theta : - 1 . 7947771288802459 <nl> + kappa : 0 . 0031503782308422309 <nl> + s : 18 . 220966778563916 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 5085216522645419 <nl> - a : - 0 . 15206959082275029 <nl> + v : 2 . 5085216522644442 <nl> + a : - 0 . 15206959082275573 <nl> relative_time : 4 . 499999999999992 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587264 . 521208903 <nl> y : 4140972 . 8116410775 <nl> - theta : - 1 . 7943985094595298 <nl> - kappa : 0 . 0030978163818827665 <nl> - s : 18 . 346206380094081 <nl> + theta : - 1 . 7943985094595305 <nl> + kappa : 0 . 0030978163818828636 <nl> + s : 18 . 34620638009385 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 5011337910845177 <nl> - a : - 0 . 1435035445748917 <nl> + v : 2 . 5011337910844142 <nl> + a : - 0 . 14350354457489212 <nl> relative_time : 4 . 5499999999999918 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587264 . 49359428952 <nl> y : 4140972 . 6898517511 <nl> - theta : - 1 . 7940209746756335 <nl> - kappa : 0 . 0030454051308415409 <nl> - s : 18 . 471087150577681 <nl> + theta : - 1 . 7940209746756342 <nl> + kappa : 0 . 0030454051308416389 <nl> + s : 18 . 471087150577446 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 494165523015055 <nl> - a : - 0 . 13528398584703905 <nl> + v : 2 . 4941655230149515 <nl> + a : - 0 . 13528398584703932 <nl> relative_time : 4 . 5999999999999917 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587264 . 466054479 <nl> y : 4140972 . 5683923308 <nl> - theta : - 1 . 7936444625073953 <nl> - kappa : 0 . 0029931358525587303 <nl> - s : 18 . 595629641262452 <nl> + theta : - 1 . 7936444625073962 <nl> + kappa : 0 . 00299313585255883 <nl> + s : 18 . 595629641262214 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 4875998057631281 <nl> - a : - 0 . 12739963132033225 <nl> + v : 2 . 4875998057630246 <nl> + a : - 0 . 12739963132033244 <nl> relative_time : 4 . 6499999999999915 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587264 . 43858511245 <nl> y : 4140972 . 4472435908 <nl> - theta : - 1 . 7932689134653119 <nl> - kappa : 0 . 0029410002735795046 <nl> - s : 18 . 719853565385407 <nl> + theta : - 1 . 7932689134653126 <nl> + kappa : 0 . 0029410002735796069 <nl> + s : 18 . 719853565385161 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 4814201612016507 <nl> - a : - 0 . 11983919767590642 <nl> + v : 2 . 4814201612015472 <nl> + a : - 0 . 11983919767590656 <nl> relative_time : 4 . 6999999999999913 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587264 . 41118200973 <nl> y : 4140972 . 3263870953 <nl> - theta : - 1 . 7928942705064368 <nl> - kappa : 0 . 0028889904603151837 <nl> - s : 18 . 843777826381345 <nl> + theta : - 1 . 7928942705064377 <nl> + kappa : 0 . 0028889904603152882 <nl> + s : 18 . 843777826381096 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 4756106753694804 <nl> - a : - 0 . 11259140159489667 <nl> + v : 2 . 475610675369377 <nl> + a : - 0 . 11259140159489672 <nl> relative_time : 4 . 7499999999999911 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587264 . 38384116371 <nl> y : 4140972 . 2058051722 <nl> - theta : - 1 . 7925204789492719 <nl> - kappa : 0 . 00283709880720449 <nl> - s : 18 . 967420546091162 <nl> + theta : - 1 . 7925204789492728 <nl> + kappa : 0 . 0028370988072045958 <nl> + s : 18 . 96742054609091 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 4701559984714185 <nl> + v : 2 . 4701559984713151 <nl> a : - 0 . 10564495975843805 <nl> relative_time : 4 . 7999999999999909 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587264 . 35669963411 <nl> + x : 587264 . 356699634 <nl> y : 4140972 . 0854491391 <nl> - theta : - 1 . 7921725883550783 <nl> - kappa : 0 . 0027779445067798564 <nl> - s : 19 . 090799092970144 <nl> + theta : - 1 . 792172588355079 <nl> + kappa : 0 . 0027779445067800039 <nl> + s : 19 . 090799092969881 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 4650413448782085 <nl> - a : - 0 . 098988588847665676 <nl> + v : 2 . 465041344878105 <nl> + a : - 0 . 098988588847665621 <nl> relative_time : 4 . 8499999999999908 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587264 . 32980505272 <nl> - y : 4140971 . 9652912058 <nl> - theta : - 1 . 7918596894808907 <nl> - kappa : 0 . 0027088353363570418 <nl> - s : 19 . 21393011029625 <nl> + y : 4140971 . 9652912063 <nl> + theta : - 1 . 7918596894808914 <nl> + kappa : 0 . 0027088353363571896 <nl> + s : 19 . 213930110295987 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 4602524931265384 <nl> - a : - 0 . 0926110055437146 <nl> + v : 2 . 4602524931264349 <nl> + a : - 0 . 092611005543714514 <nl> relative_time : 4 . 8999999999999906 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587264 . 30296105426 <nl> y : 4140971 . 8453592639 <nl> - theta : - 1 . 7915473789424061 <nl> - kappa : 0 . 0026398561455788245 <nl> - s : 19 . 336829544378439 <nl> + theta : - 1 . 7915473789424068 <nl> + kappa : 0 . 0026398561455789763 <nl> + s : 19 . 336829544378169 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 4557757859190379 <nl> - a : - 0 . 086500926527719943 <nl> + v : 2 . 4557757859189344 <nl> + a : - 0 . 086500926527719832 <nl> relative_time : 4 . 94999999999999 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587264 . 2761643019 <nl> y : 4140971 . 7256384054 <nl> - theta : - 1 . 7912356179781481 <nl> - kappa : 0 . 0025709983596871361 <nl> - s : 19 . 459512672764941 <nl> + theta : - 1 . 7912356179781488 <nl> + kappa : 0 . 0025709983596872918 <nl> + s : 19 . 459512672764664 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 4515981301242813 <nl> - a : - 0 . 080647068480816778 <nl> + v : 2 . 4515981301241778 <nl> + a : - 0 . 080647068480816639 <nl> relative_time : 4 . 99999999999999 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587264 . 24941159855 <nl> y : 4140971 . 6061143456 <nl> - theta : - 1 . 7909243694537129 <nl> - kappa : 0 . 002502253763443772 <nl> - s : 19 . 581994132451563 <nl> + theta : - 1 . 7909243694537136 <nl> + kappa : 0 . 002502253763443929 <nl> + s : 19 . 581994132451282 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 4477069967767857 <nl> - a : - 0 . 0750381480841402 <nl> + v : 2 . 4477069967766822 <nl> + a : - 0 . 075038148084140027 <nl> relative_time : 5 . 04999999999999 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587264 . 22269988083 <nl> y : 4140971 . 4867733992 <nl> - theta : - 1 . 7906135977901629 <nl> - kappa : 0 . 0024336144852980506 <nl> - s : 19 . 704287948089988 <nl> + theta : - 1 . 7906135977901636 <nl> + kappa : 0 . 0024336144852982119 <nl> + s : 19 . 7042879480897 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 4440904210770116 <nl> - a : - 0 . 06966288201882527 <nl> + v : 2 . 4440904210769081 <nl> + a : - 0 . 0696628820188251 <nl> relative_time : 5 . 09999999999999 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587264 . 19602621323 <nl> + x : 587264 . 19602621312 <nl> y : 4140971 . 36760245 <nl> - theta : - 1 . 7903032688924156 <nl> - kappa : 0 . 0023650729815544772 <nl> - s : 19 . 826407560196071 <nl> + theta : - 1 . 7903032688924163 <nl> + kappa : 0 . 002365072981554639 <nl> + s : 19 . 826407560195783 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 4407370023913617 <nl> - a : - 0 . 064509986966007113 <nl> + v : 2 . 4407370023912582 <nl> + a : - 0 . 064509986966006946 <nl> relative_time : 5 . 14999999999999 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587264 . 16938778106 <nl> - y : 4140971 . 2485889248 <nl> - theta : - 1 . 7899933500776279 <nl> - kappa : 0 . 0022966220205403987 <nl> - s : 19 . 94836585335814 <nl> + x : 587264 . 16938778118 <nl> + y : 4140971 . 2485889252 <nl> + theta : - 1 . 7899933500776288 <nl> + kappa : 0 . 0022966220205405665 <nl> + s : 19 . 948365853357842 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 4376359042521836 <nl> - a : - 0 . 059568179606820773 <nl> + v : 2 . 43763590425208 <nl> + a : - 0 . 05956817960682062 <nl> relative_time : 5 . 1999999999999895 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587264 . 14285672375 <nl> - y : 4140971 . 1297041024 <nl> - theta : - 1 . 7897042823939524 <nl> - kappa : 0 . 0022268519051237691 <nl> - s : 20 . 070175184445276 <nl> + x : 587264 . 14285672363 <nl> + y : 4140971 . 1297041019 <nl> + theta : - 1 . 7897042823939531 <nl> + kappa : 0 . 0022268519051239482 <nl> + s : 20 . 070175184444977 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 434776854357767 <nl> - a : - 0 . 054826176622401357 <nl> + v : 2 . 4347768543576636 <nl> + a : - 0 . 054826176622401232 <nl> relative_time : 5 . 2499999999999893 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587264 . 116546607 <nl> y : 4140971 . 0109105483 <nl> - theta : - 1 . 7894678107771009 <nl> - kappa : 0 . 002153578750577906 <nl> - s : 20 . 19184741081564 <nl> + theta : - 1 . 7894678107771014 <nl> + kappa : 0 . 0021535787505780925 <nl> + s : 20 . 191847410815331 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 4321501445723452 <nl> - a : - 0 . 050272694693883971 <nl> + v : 2 . 4321501445722418 <nl> + a : - 0 . 05027269469388386 <nl> relative_time : 5 . 2999999999999892 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587264 . 09026367532 <nl> - y : 4140970 . 8922397387 <nl> - theta : - 1 . 7892315834218619 <nl> - kappa : 0 . 0020803813060208472 <nl> - s : 20 . 313393918524739 <nl> + x : 587264 . 09026367543 <nl> + y : 4140970 . 8922397383 <nl> + theta : - 1 . 7892315834218626 <nl> + kappa : 0 . 0020803813060210354 <nl> + s : 20 . 313393918524426 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 4297466309260947 <nl> - a : - 0 . 04589645050240368 <nl> + v : 2 . 4297466309259912 <nl> + a : - 0 . 045896450502403596 <nl> relative_time : 5 . 349999999999989 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587264 . 06400556257 <nl> - y : 4140970 . 7736809892 <nl> - theta : - 1 . 7889955790869847 <nl> - kappa : 0 . 002007252981408923 <nl> - s : 20 . 434825650533742 <nl> + y : 4140970 . 7736809887 <nl> + theta : - 1 . 7889955790869854 <nl> + kappa : 0 . 0020072529814091134 <nl> + s : 20 . 434825650533426 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 427557733615135 <nl> - a : - 0 . 041686160729095575 <nl> + v : 2 . 4275577336150316 <nl> + a : - 0 . 041686160729095506 <nl> relative_time : 5 . 3999999999999888 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587264 . 03776999214 <nl> - y : 4140970 . 6552240211 <nl> - theta : - 1 . 7887597773373882 <nl> - kappa : 0 . 001934187436550135 <nl> - s : 20 . 556153134917782 <nl> + y : 4140970 . 6552240206 <nl> + theta : - 1 . 7887597773373889 <nl> + kappa : 0 . 00193418743655033 <nl> + s : 20 . 556153134917459 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 42557543700153 <nl> - a : - 0 . 037630542055094765 <nl> + v : 2 . 4255754370014264 <nl> + a : - 0 . 03763054205509471 <nl> relative_time : 5 . 4499999999999886 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587264 . 01155477087 <nl> - y : 4140970 . 5368589326 <nl> - theta : - 1 . 7885241584893627 <nl> - kappa : 0 . 0018611785641166334 <nl> - s : 20 . 677386513074225 <nl> + y : 4140970 . 5368589321 <nl> + theta : - 1 . 7885241584893634 <nl> + kappa : 0 . 0018611785641168303 <nl> + s : 20 . 6773865130739 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 4237922896132851 <nl> + v : 2 . 4237922896131816 <nl> a : - 0 . 033718311161536271 <nl> relative_time : 5 . 4999999999999885 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587263 . 98535778362 <nl> y : 4140970 . 4185761726 <nl> - theta : - 1 . 7882887035557691 <nl> - kappa : 0 . 0017882204726571665 <nl> - s : 20 . 798535567931005 <nl> + theta : - 1 . 7882887035557697 <nl> + kappa : 0 . 0017882204726573678 <nl> + s : 20 . 798535567930671 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 42220140414435 <nl> - a : - 0 . 02993818472955527 <nl> + v : 2 . 4222014041442463 <nl> + a : - 0 . 029938184729555284 <nl> relative_time : 5 . 5499999999999883 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587263 . 95917698613 <nl> y : 4140970 . 3003665116 <nl> - theta : - 1 . 7880533941912355 <nl> - kappa : 0 . 0017153074696095655 <nl> - s : 20 . 919609752154887 <nl> + theta : - 1 . 788053394191236 <nl> + kappa : 0 . 0017153074696097687 <nl> + s : 20 . 91960975215455 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 4207964574546175 <nl> - a : - 0 . 026278879440286756 <nl> + v : 2 . 420796457454514 <nl> + a : - 0 . 02627887944028684 <nl> relative_time : 5 . 5999999999999881 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587263 . 93302354449 <nl> - y : 4140970 . 1822181153 <nl> - theta : - 1 . 7878230466496696 <nl> - kappa : 0 . 001642481294394266 <nl> - s : 21 . 040618216359789 <nl> + x : 587263 . 93302354461 <nl> + y : 4140970 . 1822181158 <nl> + theta : - 1 . 78782304664967 <nl> + kappa : 0 . 0016424812943944694 <nl> + s : 21 . 040618216359448 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 4195716905699238 <nl> - a : - 0 . 022729111974865907 <nl> + v : 2 . 4195716905698204 <nl> + a : - 0 . 02272911197486599 <nl> relative_time : 5 . 6499999999999879 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587263 . 90706414077 <nl> y : 4140970 . 0640851231 <nl> - theta : - 1 . 7876596470401194 <nl> - kappa : 0 . 0015703426540005574 <nl> - s : 21 . 161569837315067 <nl> + theta : - 1 . 7876596470401198 <nl> + kappa : 0 . 0015703426540007652 <nl> + s : 21 . 161569837314719 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 418521908682048 <nl> - a : - 0 . 019277599014427743 <nl> + v : 2 . 4185219086819445 <nl> + a : - 0 . 019277599014427882 <nl> relative_time : 5 . 6999999999999877 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587263 . 88111508451 <nl> - y : 4140969 . 9459992195 <nl> - theta : - 1 . 7874963125361318 <nl> - kappa : 0 . 0014982327685463003 <nl> - s : 21 . 282473246153813 <nl> + y : 4140969 . 9459992191 <nl> + theta : - 1 . 7874963125361325 <nl> + kappa : 0 . 001498232768546512 <nl> + s : 21 . 282473246153458 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 4176424811487127 <nl> - a : - 0 . 015913057240107387 <nl> + v : 2 . 4176424811486088 <nl> + a : - 0 . 015913057240107553 <nl> relative_time : 5 . 7499999999999876 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587263 . 85517457 <nl> + x : 587263 . 85517456988 <nl> y : 4140969 . 8279521856 <nl> - theta : - 1 . 7873330317799492 <nl> - kappa : 0 . 0014261466198825573 <nl> - s : 21 . 403336856581149 <nl> + theta : - 1 . 7873330317799496 <nl> + kappa : 0 . 0014261466198827715 <nl> + s : 21 . 40333685658079 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 4169293414935833 <nl> - a : - 0 . 012624203333039902 <nl> + v : 2 . 4169293414934794 <nl> + a : - 0 . 012624203333040096 <nl> relative_time : 5 . 7999999999999874 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587263 . 82924083213 <nl> + x : 587263 . 829240832 <nl> y : 4140969 . 7099359911 <nl> - theta : - 1 . 7871697936694171 <nl> - kappa : 0 . 0013540793027158346 <nl> - s : 21 . 524168893082539 <nl> + theta : - 1 . 7871697936694175 <nl> + kappa : 0 . 0013540793027160506 <nl> + s : 21 . 524168893082177 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 4163789874062687 <nl> - a : - 0 . 00939975397436038 <nl> + v : 2 . 4163789874061652 <nl> + a : - 0 . 00939975397436063 <nl> relative_time : 5 . 8499999999999872 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587263 . 80331214017 <nl> y : 4140969 . 5919427583 <nl> - theta : - 1 . 7870065873198842 <nl> - kappa : 0 . 0012820260077839409 <nl> - s : 21 . 644977419132072 <nl> + theta : - 1 . 7870065873198846 <nl> + kappa : 0 . 0012820260077841612 <nl> + s : 21 . 644977419131703 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 4159884807423215 <nl> - a : - 0 . 0062284258452039165 <nl> + v : 2 . 4159884807422181 <nl> + a : - 0 . 0062284258452041941 <nl> relative_time : 5 . 899999999999987 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587263 . 777386792 <nl> y : 4140969 . 4739647424 <nl> - theta : - 1 . 7868434020260988 <nl> - kappa : 0 . 0012099820050318361 <nl> - s : 21 . 765770365400762 <nl> + theta : - 1 . 7868434020260993 <nl> + kappa : 0 . 0012099820050320608 <nl> + s : 21 . 765770365400385 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 4157554475232375 <nl> - a : - 0 . 0030989356267056289 <nl> + v : 2 . 415755447523134 <nl> + a : - 0 . 0030989356267059065 <nl> relative_time : 5 . 9499999999999869 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587263 . 75146310811 <nl> y : 4140969 . 3559943 <nl> - theta : - 1 . 7866802272241074 <nl> - kappa : 0 . 0011379426267874831 <nl> - s : 21 . 88655555796484 <nl> + theta : - 1 . 786680227224108 <nl> + kappa : 0 . 0011379426267877078 <nl> + s : 21 . 886555557964464 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 4156780779364544 <nl> - a : - 5 . 2735593669694936e - 16 <nl> + v : 2 . 4156780779363509 <nl> + a : - 8 . 3266726846886741e - 16 <nl> relative_time : 5 . 9999999999999867 <nl> } <nl> decision { <nl> mmm a / modules / planning / testdata / sunnyvale_loop_test / result_follow_02_0 . pb . txt <nl> ppp b / modules / planning / testdata / sunnyvale_loop_test / result_follow_02_0 . pb . txt <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 6 . 1302996205592084 <nl> - a : 1 . 3436051769447472 <nl> + a : 1 . 3436051769447475 <nl> relative_time : 0 . 05 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 6 . 1955810744454718 <nl> - a : 1 . 2687154230417623 <nl> + a : 1 . 2687154230417628 <nl> relative_time : 0 . 1 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 6 . 2572740683777388 <nl> - a : 1 . 1999999999999997 <nl> + a : 1 . 2000000000000002 <nl> relative_time : 0 . 15000000000000002 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 6 . 3156773020813368 <nl> - a : 1 . 1370582351101137 <nl> + a : 1 . 1370582351101144 <nl> relative_time : 0 . 2 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 6 . 3710694416461253 <nl> - a : 1 . 0794894556627594 <nl> + a : 1 . 0794894556627601 <nl> relative_time : 0 . 25 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 6 . 4237091195264986 <nl> - a : 1 . 0268929889485912 <nl> + a : 1 . 0268929889485918 <nl> relative_time : 0 . 3 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 6 . 4738349345413821 <nl> - a : 0 . 9788681622582639 <nl> + a : 0 . 97886816225826445 <nl> relative_time : 0 . 35 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 6 . 5216654518742336 <nl> - a : 0 . 935014302882432 <nl> + a : 0 . 93501430288243259 <nl> relative_time : 0 . 39999999999999997 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 6 . 5673992030730446 <nl> - a : 0 . 89493073811175039 <nl> + a : 0 . 89493073811175083 <nl> relative_time : 0 . 44999999999999996 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 6 . 6112146860503387 <nl> - a : 0 . 85821679523687344 <nl> + a : 0 . 858216795236874 <nl> relative_time : 0 . 49999999999999994 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 6 . 6532703650831726 <nl> - a : 0 . 82447180154845612 <nl> + a : 0 . 82447180154845656 <nl> relative_time : 0 . 54999999999999993 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587712 . 539711899 <nl> + x : 587712 . 53971189912 <nl> y : 4141422 . 6753857718 <nl> theta : - 1 . 8316333358328376 <nl> kappa : - 0 . 0091330215176085132 <nl> - s : 3 . 8450517575329468 <nl> + s : 3 . 8450517575329473 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 6 . 693704670813136 <nl> - a : 0 . 79329508433715279 <nl> + a : 0 . 79329508433715323 <nl> relative_time : 0 . 6 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 6 . 7326360002463508 <nl> - a : 0 . 76428597089361849 <nl> + a : 0 . 76428597089361894 <nl> relative_time : 0 . 65 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 6 . 7701627167534717 <nl> - a : 0 . 7370437885085076 <nl> + a : 0 . 73704378850850794 <nl> relative_time : 0 . 70000000000000007 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 6 . 8063631500696866 <nl> - a : 0 . 71116786447247493 <nl> + a : 0 . 71116786447247515 <nl> relative_time : 0 . 75000000000000011 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 8412955962947146 <nl> - a : 0 . 68625752607617518 <nl> + v : 6 . 8412955962947155 <nl> + a : 0 . 68625752607617529 <nl> relative_time : 0 . 80000000000000016 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 6 . 9387674688878782 <nl> - a : 0 . 61331329763221953 <nl> + a : 0 . 61331329763221931 <nl> relative_time : 0 . 95000000000000029 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587711 . 80966052925 <nl> y : 4141420 . 039457201 <nl> theta : - 1 . 8469371114356323 <nl> - kappa : - 0 . 0022439300079065997 <nl> - s : 6 . 5802429751807709 <nl> + kappa : - 0 . 0022439300079065976 <nl> + s : 6 . 5802429751807718 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 9688102550360194 <nl> - a : 0 . 58825857470139775 <nl> + v : 6 . 96881025503602 <nl> + a : 0 . 58825857470139764 <nl> relative_time : 1 . 0000000000000002 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 6 . 9975760300595677 <nl> - a : 0 . 56216607386358219 <nl> + a : 0 . 562166073863582 <nl> relative_time : 1 . 0500000000000003 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 7 . 0250028882454387 <nl> - a : 0 . 53463512240942757 <nl> + a : 0 . 53463512240942734 <nl> relative_time : 1 . 1000000000000003 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 7 . 0510088902450825 <nl> - a : 0 . 50526504762958835 <nl> + a : 0 . 50526504762958813 <nl> relative_time : 1 . 1500000000000004 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 7 . 07549206307448 <nl> + v : 7 . 0754920630744813 <nl> a : 0 . 47365517681471936 <nl> relative_time : 1 . 2000000000000004 <nl> } <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 7 . 0983304001141478 <nl> - a : 0 . 4394048372554753 <nl> + v : 7 . 0983304001141487 <nl> + a : 0 . 43940483725547519 <nl> relative_time : 1 . 2500000000000004 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 7 . 1193818611091331 <nl> - a : 0 . 40211335624251077 <nl> + a : 0 . 40211335624251054 <nl> relative_time : 1 . 3000000000000005 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 7 . 1384843721690148 <nl> + v : 7 . 1384843721690157 <nl> a : 0 . 36138006106648035 <nl> relative_time : 1 . 3500000000000005 <nl> } <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 7 . 1700940807444562 <nl> - a : 0 . 26798533738784092 <nl> + v : 7 . 1700940807444571 <nl> + a : 0 . 26798533738784114 <nl> relative_time : 1 . 4500000000000006 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 7 . 18217696230184 <nl> - a : 0 . 21452256346653822 <nl> + a : 0 . 21452256346653781 <nl> relative_time : 1 . 5000000000000007 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 7 . 1919922109365819 <nl> - a : 0 . 17814076793308969 <nl> + a : 0 . 17814076793308906 <nl> relative_time : 1 . 5500000000000007 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 7 . 1999965609115106 <nl> - a : 0 . 14209028138130525 <nl> + a : 0 . 14209028138130445 <nl> relative_time : 1 . 6000000000000008 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 7 . 2062071273218073 <nl> - a : 0 . 1063930896551683 <nl> + v : 7 . 2062071273218065 <nl> + a : 0 . 10639308965516735 <nl> relative_time : 1 . 6500000000000008 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 7 . 2106421245548544 <nl> - a : 0 . 071071178598662188 <nl> + a : 0 . 071071178598661161 <nl> relative_time : 1 . 7000000000000008 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 7 . 2133208662902337 <nl> - a : 0 . 036146534055770368 <nl> + v : 7 . 2133208662902328 <nl> + a : 0 . 036146534055769231 <nl> relative_time : 1 . 7500000000000009 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587710 . 26633416209 <nl> y : 4141414 . 5457037976 <nl> theta : - 1 . 8358204116423129 <nl> - kappa : 0 . 0050924262288061743 <nl> - s : 12 . 286700137397439 <nl> + kappa : 0 . 0050924262288061725 <nl> + s : 12 . 286700137397437 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 7 . 2142637654997248 <nl> - a : 0 . 0016411418704761482 <nl> + a : 0 . 0016411418704750103 <nl> relative_time : 1 . 8000000000000009 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 7 . 2134923344473076 <nl> - a : - 0 . 032423012113237004 <nl> + v : 7 . 2134923344473068 <nl> + a : - 0 . 032423012113238142 <nl> relative_time : 1 . 850000000000001 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 7 . 2110291846891608 <nl> - a : - 0 . 066023942051385759 <nl> + v : 7 . 21102918468916 <nl> + a : - 0 . 0660239420513869 <nl> relative_time : 1 . 900000000000001 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 7 . 2068980270736613 <nl> - a : - 0 . 099139662099986675 <nl> + v : 7 . 2068980270736605 <nl> + a : - 0 . 099139662099987813 <nl> relative_time : 1 . 9500000000000011 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 7 . 2011236717413869 <nl> - a : - 0 . 13174818641505634 <nl> + a : - 0 . 13174818641505737 <nl> relative_time : 2 . 0000000000000009 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 7 . 1937320281251145 <nl> - a : - 0 . 16382752915261137 <nl> + v : 7 . 1937320281251136 <nl> + a : - 0 . 16382752915261228 <nl> relative_time : 2 . 0500000000000007 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 7 . 1847501049498179 <nl> - a : - 0 . 19535570446866848 <nl> + v : 7 . 184750104949817 <nl> + a : - 0 . 19535570446866929 <nl> relative_time : 2 . 1000000000000005 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 7 . 1742060102326723 <nl> - a : - 0 . 22631072651924419 <nl> + v : 7 . 1742060102326715 <nl> + a : - 0 . 22631072651924494 <nl> relative_time : 2 . 1500000000000004 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587709 . 53495033283 <nl> y : 4141411 . 7614795943 <nl> theta : - 1 . 818929675614317 <nl> - kappa : 0 . 0060765590970062169 <nl> - s : 15 . 165425338938871 <nl> + kappa : 0 . 0060765590970062178 <nl> + s : 15 . 165425338938869 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 7 . 1621289512830515 <nl> - a : - 0 . 25667060946035525 <nl> + v : 7 . 1621289512830506 <nl> + a : - 0 . 2566706094603558 <nl> relative_time : 2 . 2 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 7 . 1485492347025277 <nl> - a : - 0 . 28641336744801804 <nl> + v : 7 . 1485492347025268 <nl> + a : - 0 . 2864133674480186 <nl> relative_time : 2 . 25 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587709 . 36065647111 <nl> y : 4141411 . 0682233982 <nl> theta : - 1 . 8146590659344315 <nl> - kappa : 0 . 0057111565496699834 <nl> - s : 15 . 880255740936118 <nl> + kappa : 0 . 0057111565496699842 <nl> + s : 15 . 880255740936116 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 7 . 1334982663848736 <nl> - a : - 0 . 31551701463824944 <nl> + v : 7 . 1334982663848727 <nl> + a : - 0 . 31551701463824988 <nl> relative_time : 2 . 3 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 7 . 11700855151606 <nl> - a : - 0 . 34395956518706594 <nl> + v : 7 . 1170085515160588 <nl> + a : - 0 . 34395956518706627 <nl> relative_time : 2 . 3499999999999996 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 7 . 0991136945742568 <nl> - a : - 0 . 37171903325048417 <nl> + v : 7 . 0991136945742559 <nl> + a : - 0 . 37171903325048428 <nl> relative_time : 2 . 3999999999999995 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 7 . 0798483993298342 <nl> - a : - 0 . 39877343298452061 <nl> + v : 7 . 0798483993298333 <nl> + a : - 0 . 39877343298452084 <nl> relative_time : 2 . 4499999999999993 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 7 . 0592484688453609 <nl> + v : 7 . 05924846884536 <nl> a : - 0 . 42510077854519224 <nl> relative_time : 2 . 4999999999999991 <nl> } <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 7 . 0373508054756044 <nl> - a : - 0 . 4506790840885152 <nl> + v : 7 . 0373508054756035 <nl> + a : - 0 . 45067908408851509 <nl> relative_time : 2 . 5499999999999989 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 7 . 0141934108675317 <nl> - a : - 0 . 47548636377050646 <nl> + v : 7 . 0141934108675308 <nl> + a : - 0 . 47548636377050635 <nl> relative_time : 2 . 5999999999999988 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 9898153859603092 <nl> - a : - 0 . 49950063174718251 <nl> + v : 6 . 9898153859603083 <nl> + a : - 0 . 49950063174718229 <nl> relative_time : 2 . 6499999999999986 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 964256930985302 <nl> - a : - 0 . 52269990217455986 <nl> + v : 6 . 9642569309853011 <nl> + a : - 0 . 52269990217455964 <nl> relative_time : 2 . 6999999999999984 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 9375593454660747 <nl> - a : - 0 . 54506218920865535 <nl> + v : 6 . 9375593454660738 <nl> + a : - 0 . 54506218920865512 <nl> relative_time : 2 . 7499999999999982 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587708 . 53853778215 <nl> - y : 4141407 . 6496622516 <nl> - theta : - 1 . 8013877204917639 <nl> - kappa : 0 . 0019604945699699863 <nl> - s : 19 . 396309375484844 <nl> + y : 4141407 . 6496622511 <nl> + theta : - 1 . 8013877204917641 <nl> + kappa : 0 . 0019604945699699893 <nl> + s : 19 . 39630937548484 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 9097650282183913 <nl> - a : - 0 . 56656550700548525 <nl> + v : 6 . 9097650282183904 <nl> + a : - 0 . 56656550700548514 <nl> relative_time : 2 . 799999999999998 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 8809174773502138 <nl> - a : - 0 . 58718786972106662 <nl> + v : 6 . 8809174773502129 <nl> + a : - 0 . 58718786972106651 <nl> relative_time : 2 . 8499999999999979 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587708 . 3815803692 <nl> - y : 4141406 . 9797284263 <nl> + y : 4141406 . 9797284259 <nl> theta : - 1 . 8001893855851105 <nl> - kappa : 0 . 0013581460118363428 <nl> - s : 20 . 084384312005472 <nl> + kappa : 0 . 0013581460118363455 <nl> + s : 20 . 084384312005469 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 6 . 851061290261705 <nl> - a : - 0 . 60690729151141587 <nl> + a : - 0 . 60690729151141565 <nl> relative_time : 2 . 8999999999999977 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587708 . 30401799642 <nl> y : 4141406 . 6468589455 <nl> theta : - 1 . 7998275708686413 <nl> - kappa : 0 . 0010948676426573017 <nl> - s : 20 . 42617081394928 <nl> + kappa : 0 . 0010948676426573043 <nl> + s : 20 . 426170813949277 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 8202421636452266 <nl> - a : - 0 . 62570178653254938 <nl> + v : 6 . 8202421636452257 <nl> + a : - 0 . 62570178653254949 <nl> relative_time : 2 . 9499999999999975 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 7885068934853372 <nl> - a : - 0 . 6435493689404842 <nl> + v : 6 . 7885068934853363 <nl> + a : - 0 . 64354936894048431 <nl> relative_time : 2 . 9999999999999973 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 6 . 7558953217193727 <nl> - a : - 0 . 660753679472634 <nl> + a : - 0 . 66075367947263353 <nl> relative_time : 3 . 0499999999999972 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 6 . 722447549044376 <nl> - a : - 0 . 67699657962644832 <nl> + a : - 0 . 6769965796264481 <nl> relative_time : 3 . 099999999999997 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 6 . 6882117698305805 <nl> - a : - 0 . 69227311534910341 <nl> + a : - 0 . 6922731153491033 <nl> relative_time : 3 . 1499999999999968 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 6 . 6532364261508654 <nl> - a : - 0 . 70657833258777725 <nl> + a : - 0 . 70657833258777714 <nl> relative_time : 3 . 1999999999999966 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 61757020778075 <nl> - a : - 0 . 71990727728964765 <nl> + v : 6 . 6175702077807506 <nl> + a : - 0 . 71990727728964754 <nl> relative_time : 3 . 2499999999999964 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 6 . 5812620521983947 <nl> - a : - 0 . 73225499540189265 <nl> + a : - 0 . 73225499540189254 <nl> relative_time : 3 . 2999999999999963 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 5443611445846015 <nl> - a : - 0 . 74361653287169 <nl> + v : 6 . 5443611445846024 <nl> + a : - 0 . 74361653287168994 <nl> relative_time : 3 . 3499999999999961 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 6 . 5069169178228137 <nl> - a : - 0 . 753986935646218 <nl> + a : - 0 . 75398693564621766 <nl> relative_time : 3 . 3999999999999959 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 6 . 4689790524991153 <nl> - a : - 0 . 76336124967265417 <nl> + a : - 0 . 76336124967265384 <nl> relative_time : 3 . 4499999999999957 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 43059747690223 <nl> - a : - 0 . 77173452089817673 <nl> + v : 6 . 4305974769022312 <nl> + a : - 0 . 77173452089817618 <nl> relative_time : 3 . 4999999999999956 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 6 . 3918223670235266 <nl> - a : - 0 . 77910179526996359 <nl> + a : - 0 . 77910179526996282 <nl> relative_time : 3 . 5499999999999954 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 35270414655701 <nl> - a : - 0 . 78545811873519256 <nl> + v : 6 . 3527041465570111 <nl> + a : - 0 . 78545811873519156 <nl> relative_time : 3 . 5999999999999952 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 3132934868993305 <nl> - a : - 0 . 79079853724104154 <nl> + v : 6 . 3132934868993313 <nl> + a : - 0 . 79079853724104043 <nl> relative_time : 3 . 649999999999995 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 6 . 2736413071497772 <nl> - a : - 0 . 7951180967346887 <nl> + a : - 0 . 79511809673468725 <nl> relative_time : 3 . 6999999999999948 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 2337987741102792 <nl> - a : - 0 . 79841184316331182 <nl> + v : 6 . 23379877411028 <nl> + a : - 0 . 79841184316331 <nl> relative_time : 3 . 7499999999999947 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 6 . 19381730228541 <nl> - a : - 0 . 80067482247408883 <nl> + a : - 0 . 80067482247408683 <nl> relative_time : 3 . 7999999999999945 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 6 . 153748553882382 <nl> - a : - 0 . 80190208061419765 <nl> + a : - 0 . 80190208061419532 <nl> relative_time : 3 . 8499999999999943 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587706 . 90442434687 <nl> - y : 4141400 . 6511270329 <nl> + y : 4141400 . 651127032 <nl> theta : - 1 . 8028759376083767 <nl> kappa : - 0 . 0012976643294968539 <nl> - s : 26 . 583095264158977 <nl> + s : 26 . 583095264158981 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 1136444388110487 <nl> - a : - 0 . 80208866353081631 <nl> + v : 6 . 11364443881105 <nl> + a : - 0 . 80208866353081365 <nl> relative_time : 3 . 8999999999999941 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587706 . 8344015301 <nl> - y : 4141400 . 354602797 <nl> + y : 4141400 . 3546027974 <nl> theta : - 1 . 8032739871962298 <nl> kappa : - 0 . 0013034868115653535 <nl> - s : 26 . 887775124045561 <nl> + s : 26 . 887775124045564 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 6 . 073557114683906 <nl> - a : - 0 . 80122961717112262 <nl> + a : - 0 . 80122961717111973 <nl> relative_time : 3 . 949999999999994 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 0335389868160885 <nl> - a : - 0 . 7993199874822946 <nl> + v : 6 . 03353898681609 <nl> + a : - 0 . 79931998748229138 <nl> relative_time : 3 . 9999999999999938 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 9936427082253756 <nl> - a : - 0 . 79635482041151029 <nl> + v : 5 . 9936427082253765 <nl> + a : - 0 . 79635482041150674 <nl> relative_time : 4 . 0499999999999936 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 9539211796321849 <nl> - a : - 0 . 79232916190594738 <nl> + v : 5 . 9539211796321858 <nl> + a : - 0 . 7923291619059436 <nl> relative_time : 4 . 0999999999999934 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 9144275494595746 <nl> - a : - 0 . 7872380579127839 <nl> + v : 5 . 9144275494595764 <nl> + a : - 0 . 7872380579127799 <nl> relative_time : 4 . 1499999999999932 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 875215213833247 <nl> - a : - 0 . 78107655437919787 <nl> + v : 5 . 8752152138332487 <nl> + a : - 0 . 78107655437919354 <nl> relative_time : 4 . 1999999999999931 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 8363378165815423 <nl> - a : - 0 . 77383969725236712 <nl> + v : 5 . 8363378165815449 <nl> + a : - 0 . 77383969725236268 <nl> relative_time : 4 . 2499999999999929 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 797849249235445 <nl> - a : - 0 . 76552253247946966 <nl> + v : 5 . 7978492492354468 <nl> + a : - 0 . 765522532479465 <nl> relative_time : 4 . 2999999999999927 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 7598036510285775 <nl> - a : - 0 . 75612010600768342 <nl> + v : 5 . 75980365102858 <nl> + a : - 0 . 75612010600767854 <nl> relative_time : 4 . 3499999999999925 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 7222554088972046 <nl> - a : - 0 . 74562746378418632 <nl> + v : 5 . 7222554088972082 <nl> + a : - 0 . 74562746378418132 <nl> relative_time : 4 . 3999999999999924 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587706 . 15226418828 <nl> y : 4141397 . 4965751166 <nl> theta : - 1 . 8067351955082644 <nl> - kappa : - 0 . 0010167080650375275 <nl> - s : 29 . 826081121297669 <nl> + kappa : - 0 . 0010167080650375271 <nl> + s : 29 . 826081121297673 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 6852591574802345 <nl> - a : - 0 . 73403965175615626 <nl> + v : 5 . 6852591574802371 <nl> + a : - 0 . 73403965175615116 <nl> relative_time : 4 . 4499999999999922 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 6488697791192122 <nl> - a : - 0 . 72135171587077118 <nl> + v : 5 . 6488697791192157 <nl> + a : - 0 . 72135171587076607 <nl> relative_time : 4 . 499999999999992 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 6131177360595386 <nl> - a : - 0 . 70850863866294189 <nl> + v : 5 . 6131177360595421 <nl> + a : - 0 . 70850863866294289 <nl> relative_time : 4 . 5499999999999918 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 5780405811427158 <nl> - a : - 0 . 69436560806785652 <nl> + v : 5 . 5780405811427185 <nl> + a : - 0 . 6943656080678603 <nl> relative_time : 4 . 5999999999999917 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 543701899351392 <nl> - a : - 0 . 67897913155442424 <nl> + v : 5 . 5437018993513956 <nl> + a : - 0 . 67897913155443024 <nl> relative_time : 4 . 6499999999999915 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587705 . 82425856811 <nl> - y : 4141396 . 1365116411 <nl> + y : 4141396 . 1365116416 <nl> theta : - 1 . 8080592984618853 <nl> - kappa : - 0 . 00089580574444376212 <nl> - s : 31 . 225138236771567 <nl> + kappa : - 0 . 000895805744443762 <nl> + s : 31 . 225138236771571 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 5101624502947635 <nl> - a : - 0 . 66240571659156766 <nl> + v : 5 . 5101624502947661 <nl> + a : - 0 . 66240571659157521 <nl> relative_time : 4 . 6999999999999913 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 4774801682085776 <nl> - a : - 0 . 64470187064820961 <nl> + v : 5 . 47748016820858 <nl> + a : - 0 . 64470187064821816 <nl> relative_time : 4 . 7499999999999911 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 4457101619551356 <nl> - a : - 0 . 62592410119327258 <nl> + v : 5 . 4457101619551382 <nl> + a : - 0 . 62592410119328157 <nl> relative_time : 4 . 7999999999999909 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 4149047150232947 <nl> - a : - 0 . 60612891569567928 <nl> + v : 5 . 4149047150232965 <nl> + a : - 0 . 60612891569568828 <nl> relative_time : 4 . 8499999999999908 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 3851132855284636 <nl> - a : - 0 . 58537282162435234 <nl> + v : 5 . 3851132855284645 <nl> + a : - 0 . 585372821624361 <nl> relative_time : 4 . 8999999999999906 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 5 . 3563825062126069 <nl> - a : - 0 . 56371232644821456 <nl> + a : - 0 . 56371232644822233 <nl> relative_time : 4 . 94999999999999 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 5 . 3287561844442406 <nl> - a : - 0 . 54120393763618835 <nl> + a : - 0 . 541203937636195 <nl> relative_time : 4 . 99999999999999 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 5 . 3022753022184377 <nl> - a : - 0 . 51790416265719652 <nl> + a : - 0 . 51790416265720185 <nl> relative_time : 5 . 04999999999999 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 2769780161568223 <nl> - a : - 0 . 49386950898016174 <nl> + v : 5 . 2769780161568214 <nl> + a : - 0 . 49386950898016557 <nl> relative_time : 5 . 09999999999999 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 5 . 252899657507573 <nl> - a : - 0 . 46915648407400656 <nl> + a : - 0 . 46915648407400873 <nl> relative_time : 5 . 14999999999999 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 230072732145425 <nl> - a : - 0 . 44382159540765376 <nl> + v : 5 . 2300727321454241 <nl> + a : - 0 . 44382159540765409 <nl> relative_time : 5 . 1999999999999895 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 5 . 2085269205716624 <nl> - a : - 0 . 41792135045002587 <nl> + a : - 0 . 41792135045002443 <nl> relative_time : 5 . 2499999999999893 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587705 . 06729535654 <nl> y : 4141393 . 0259324675 <nl> theta : - 1 . 8110381661527606 <nl> - kappa : - 0 . 001035266809877996 <nl> - s : 34 . 426498068983427 <nl> + kappa : - 0 . 0010352668098779962 <nl> + s : 34 . 426498068983435 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 5 . 1882890779141277 <nl> - a : - 0 . 39151225667004563 <nl> + a : - 0 . 3915122566700423 <nl> relative_time : 5 . 2999999999999892 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 5 . 1693832339272152 <nl> - a : - 0 . 36465082153663569 <nl> + a : - 0 . 36465082153663059 <nl> relative_time : 5 . 349999999999989 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 1518305929918728 <nl> - a : - 0 . 33739355251871872 <nl> + v : 5 . 1518305929918737 <nl> + a : - 0 . 33739355251871195 <nl> relative_time : 5 . 3999999999999888 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 1356495341156032 <nl> - a : - 0 . 30979695708521732 <nl> + v : 5 . 1356495341156041 <nl> + a : - 0 . 309796957085209 <nl> relative_time : 5 . 4499999999999886 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 1208556109324626 <nl> - a : - 0 . 28191754270505415 <nl> + v : 5 . 1208556109324634 <nl> + a : - 0 . 28191754270504454 <nl> relative_time : 5 . 4999999999999885 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587704 . 76044965384 <nl> - y : 4141391 . 7768179895 <nl> + y : 4141391 . 77681799 <nl> theta : - 1 . 8123858108625193 <nl> - kappa : - 0 . 0010422920125824626 <nl> - s : 35 . 712749094749547 <nl> + kappa : - 0 . 0010422920125824624 <nl> + s : 35 . 712749094749555 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 1074615517030608 <nl> - a : - 0 . 25381181684715187 <nl> + v : 5 . 1074615517030617 <nl> + a : - 0 . 25381181684714127 <nl> relative_time : 5 . 5499999999999883 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 0954772593145607 <nl> - a : - 0 . 22553628698043321 <nl> + v : 5 . 0954772593145634 <nl> + a : - 0 . 22553628698042189 <nl> relative_time : 5 . 5999999999999881 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587704 . 63838584477 <nl> + x : 587704 . 63838584465 <nl> y : 4141391 . 282082391 <nl> theta : - 1 . 812908876182789 <nl> - kappa : - 0 . 0010180699657787631 <nl> - s : 36 . 22232043632323 <nl> + kappa : - 0 . 0010180699657787627 <nl> + s : 36 . 222320436323237 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 0849098112806823 <nl> - a : - 0 . 19714746057382071 <nl> + v : 5 . 084909811280685 <nl> + a : - 0 . 19714746057380894 <nl> relative_time : 5 . 6499999999999879 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 0757634597416947 <nl> - a : - 0 . 16870184509623709 <nl> + v : 5 . 0757634597416983 <nl> + a : - 0 . 16870184509622543 <nl> relative_time : 5 . 6999999999999877 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587704 . 51658708625 <nl> - y : 4141390 . 7893117755 <nl> + y : 4141390 . 7893117759 <nl> theta : - 1 . 8134210034662843 <nl> - kappa : - 0 . 000983711193779954 <nl> - s : 36 . 729920492588079 <nl> + kappa : - 0 . 00098371119377995342 <nl> + s : 36 . 729920492588086 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 0680396314644263 <nl> - a : - 0 . 14025594801660501 <nl> + v : 5 . 06803963146443 <nl> + a : - 0 . 14025594801659402 <nl> relative_time : 5 . 7499999999999876 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587704 . 45576233929 <nl> - y : 4141390 . 5434864797 <nl> + y : 4141390 . 5434864792 <nl> theta : - 1 . 8136708749109773 <nl> - kappa : - 0 . 00096422206487382337 <nl> - s : 36 . 9831589918597 <nl> + kappa : - 0 . 00096422206487382261 <nl> + s : 36 . 98315899185971 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 0617369278422535 <nl> - a : - 0 . 11186627680384709 <nl> + v : 5 . 0617369278422579 <nl> + a : - 0 . 11186627680383709 <nl> relative_time : 5 . 7999999999999874 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587704 . 39482607157 <nl> y : 4141390 . 2979769465 <nl> theta : - 1 . 8139037453474314 <nl> - kappa : - 0 . 0009377745590252195 <nl> - s : 37 . 236117801953206 <nl> + kappa : - 0 . 00093777455902521875 <nl> + s : 37 . 236117801953213 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 0568511248951111 <nl> - a : - 0 . 083589338926886025 <nl> + v : 5 . 0568511248951165 <nl> + a : - 0 . 0835893389268777 <nl> relative_time : 5 . 8499999999999872 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 0533751732694867 <nl> - a : - 0 . 055481641854644437 <nl> + v : 5 . 0533751732694911 <nl> + a : - 0 . 055481641854638442 <nl> relative_time : 5 . 899999999999987 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 05129919823842 <nl> - a : - 0 . 027599693056044927 <nl> + v : 5 . 051299198238425 <nl> + a : - 0 . 02759969305604193 <nl> relative_time : 5 . 9499999999999869 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587704 . 212188019 <nl> y : 4141389 . 5624091215 <nl> theta : - 1 . 8145925352042196 <nl> - kappa : - 0 . 00085659865706510336 <nl> - s : 37 . 994020646109284 <nl> + kappa : - 0 . 0008565986570651025 <nl> + s : 37 . 994020646109291 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 0506104997015058 <nl> - a : - 1 . 0325074129013956e - 14 <nl> + v : 5 . 0506104997015111 <nl> + a : - 1 . 1102230246251565e - 14 <nl> relative_time : 5 . 9999999999999867 <nl> } <nl> decision { <nl> mmm a / modules / planning / testdata / sunnyvale_loop_test / result_follow_03_0 . pb . txt <nl> ppp b / modules / planning / testdata / sunnyvale_loop_test / result_follow_03_0 . pb . txt <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 4 . 2395541628278375 <nl> - a : - 1 . 799051613181424 <nl> + a : - 1 . 7990516131814243 <nl> relative_time : 0 . 2 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 3 . 9697364309195331 <nl> + v : 3 . 9697364309195327 <nl> a : - 1 . 7990516131814243 <nl> relative_time : 0 . 35 <nl> } <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 3 . 8797722917961104 <nl> + v : 3 . 87977229179611 <nl> a : - 1 . 799525806590712 <nl> relative_time : 0 . 39999999999999997 <nl> } <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 3 . 7897838502604619 <nl> + v : 3 . 7897838502604615 <nl> a : - 1 . 8 <nl> relative_time : 0 . 44999999999999996 <nl> } <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 3 . 6097553986559046 <nl> - a : - 1 . 8003793547274305 <nl> + a : - 1 . 8003793547274303 <nl> relative_time : 0 . 54999999999999993 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 3 . 42976488252409 <nl> - a : - 1 . 7990516131814243 <nl> + a : - 1 . 799051613181424 <nl> relative_time : 0 . 65 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 3 . 3398505337086424 <nl> - a : - 1 . 7973919362489166 <nl> + v : 3 . 3398505337086428 <nl> + a : - 1 . 7973919362489164 <nl> relative_time : 0 . 70000000000000007 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 3 . 2500399147014765 <nl> - a : - 1 . 7948787111796907 <nl> + a : - 1 . 7948787111796904 <nl> relative_time : 0 . 75000000000000011 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 3 . 1603792593599982 <nl> - a : - 1 . 7913696799509602 <nl> + a : - 1 . 79136967995096 <nl> relative_time : 0 . 80000000000000016 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 3 . 070921914442752 <nl> - a : - 1 . 7867225845399386 <nl> + a : - 1 . 7867225845399384 <nl> relative_time : 0 . 8500000000000002 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 2 . 9817283396094223 <nl> - a : - 1 . 7807951669238398 <nl> + a : - 1 . 7807951669238395 <nl> relative_time : 0 . 90000000000000024 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 8928661074208324 <nl> - a : - 1 . 7734451690798771 <nl> + v : 2 . 8928661074208328 <nl> + a : - 1 . 7734451690798767 <nl> relative_time : 0 . 95000000000000029 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 2 . 8044099033389456 <nl> - a : - 1 . 7645303329852644 <nl> + a : - 1 . 764530332985264 <nl> relative_time : 1 . 0000000000000002 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 2 . 7164415257268635 <nl> - a : - 1 . 7539084006172154 <nl> + a : - 1 . 753908400617215 <nl> relative_time : 1 . 0500000000000003 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 2 . 6290498858488274 <nl> - a : - 1 . 7414371139529432 <nl> + a : - 1 . 7414371139529428 <nl> relative_time : 1 . 1000000000000003 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 2 . 542331007870219 <nl> - a : - 1 . 7269742149696621 <nl> + a : - 1 . 7269742149696614 <nl> relative_time : 1 . 1500000000000004 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 2 . 4563880288575577 <nl> - a : - 1 . 710377445644585 <nl> + a : - 1 . 7103774456445846 <nl> relative_time : 1 . 2000000000000004 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587259 . 52002795611 <nl> y : 4140951 . 03375574 <nl> theta : - 1 . 8162794043182495 <nl> - kappa : 0 . 0031577271205890387 <nl> - s : 4 . 3467784207289366 <nl> + kappa : 0 . 0031577271205890391 <nl> + s : 4 . 3467784207289375 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 3713311987785031 <nl> - a : - 1 . 6915045479549262 <nl> + v : 2 . 3713311987785035 <nl> + a : - 1 . 6915045479549258 <nl> relative_time : 1 . 2500000000000004 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 2 . 2872778805018545 <nl> - a : - 1 . 670213263877899 <nl> + a : - 1 . 6702132638778986 <nl> relative_time : 1 . 3000000000000005 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 2043525497975489 <nl> - a : - 1 . 6463613353907172 <nl> + v : 2 . 2043525497975494 <nl> + a : - 1 . 6463613353907167 <nl> relative_time : 1 . 3500000000000005 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 1226867953366648 <nl> - a : - 1 . 619806504470594 <nl> + v : 2 . 1226867953366653 <nl> + a : - 1 . 6198065044705936 <nl> relative_time : 1 . 4000000000000006 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 2 . 0424193186914184 <nl> - a : - 1 . 5904065130947436 <nl> + v : 2 . 0424193186914188 <nl> + a : - 1 . 5904065130947431 <nl> relative_time : 1 . 4500000000000006 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> y : 4140950 . 5087325885 <nl> theta : - 1 . 8145697779236987 <nl> kappa : 0 . 0030951930975397111 <nl> - s : 4 . 8879631192752626 <nl> + s : 4 . 8879631192752617 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 1 . 9636959343351654 <nl> + v : 1 . 9636959343351659 <nl> a : - 1 . 5580191032403792 <nl> relative_time : 1 . 5000000000000007 <nl> } <nl> trajectory_point { <nl> x : 587259 . 36541273026 <nl> y : 4140950 . 4153573983 <nl> theta : - 1 . 8142657219169065 <nl> - kappa : 0 . 00308407144271199 <nl> - s : 4 . 9842126346875153 <nl> + kappa : 0 . 0030840714427119898 <nl> + s : 4 . 9842126346875144 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 1 . 886530824435519 <nl> - a : - 1 . 5284827434495982 <nl> + v : 1 . 8865308244355194 <nl> + a : - 1 . 5284827434495984 <nl> relative_time : 1 . 5500000000000007 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 1 . 8108575579784767 <nl> + v : 1 . 8108575579784771 <nl> a : - 1 . 4983525043625541 <nl> relative_time : 1 . 6000000000000008 <nl> } <nl> trajectory_point { <nl> x : 587259 . 32198418933 <nl> y : 4140950 . 2395302923 <nl> theta : - 1 . 8137309089756355 <nl> - kappa : 0 . 0030283756664392408 <nl> - s : 5 . 1653237327848913 <nl> + kappa : 0 . 0030283756664392413 <nl> + s : 5 . 16532373278489 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 1 . 7367047581049 <nl> - a : - 1 . 4676712189373118 <nl> + v : 1 . 7367047581049004 <nl> + a : - 1 . 467671218937312 <nl> relative_time : 1 . 6500000000000008 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 1 . 6640989063077476 <nl> - a : - 1 . 4364817201319369 <nl> + v : 1 . 664098906307748 <nl> + a : - 1 . 4364817201319371 <nl> relative_time : 1 . 7000000000000008 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> y : 4140950 . 077941292 <nl> theta : - 1 . 8132420554801747 <nl> kappa : 0 . 0029747472936373733 <nl> - s : 5 . 3317598127374959 <nl> + s : 5 . 331759812737495 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 1 . 5930643424320738 <nl> - a : - 1 . 4048268409044948 <nl> + v : 1 . 5930643424320743 <nl> + a : - 1 . 4048268409044951 <nl> relative_time : 1 . 7500000000000009 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587259 . 26344423112 <nl> + x : 587259 . 26344423124 <nl> y : 4140950 . 0022997544 <nl> theta : - 1 . 8130132178421632 <nl> - kappa : 0 . 002949643279362371 <nl> - s : 5 . 40967031996922 <nl> + kappa : 0 . 0029496432793623718 <nl> + s : 5 . 4096703199692193 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 1 . 5236232646750312 <nl> - a : - 1 . 3727494142130505 <nl> + v : 1 . 5236232646750316 <nl> + a : - 1 . 3727494142130507 <nl> relative_time : 1 . 8000000000000009 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587259 . 24560080329 <nl> y : 4140949 . 9299900681 <nl> theta : - 1 . 8127944599967265 <nl> - kappa : 0 . 0029256450442611821 <nl> - s : 5 . 484149032772601 <nl> + kappa : 0 . 0029256450442611825 <nl> + s : 5 . 4841490327726 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 1 . 4557957295858679 <nl> - a : - 1 . 3402922730156697 <nl> + v : 1 . 4557957295858681 <nl> + a : - 1 . 3402922730156699 <nl> relative_time : 1 . 850000000000001 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587259 . 22856011835 <nl> - y : 4140949 . 8609334617 <nl> + y : 4140949 . 8609334622 <nl> theta : - 1 . 8125855436613543 <nl> - kappa : 0 . 0029027264456812189 <nl> - s : 5 . 5552770850770985 <nl> + kappa : 0 . 0029027264456812194 <nl> + s : 5 . 5552770850770976 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 1 . 3895996520659288 <nl> - a : - 1 . 3074982502704173 <nl> + v : 1 . 3895996520659291 <nl> + a : - 1 . 3074982502704176 <nl> relative_time : 1 . 900000000000001 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> y : 4140949 . 7950503468 <nl> theta : - 1 . 8123862280743765 <nl> kappa : 0 . 00288086106959831 <nl> - s : 5 . 623136453016043 <nl> + s : 5 . 6231364530160421 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 1 . 325050805368656 <nl> - a : - 1 . 2744101789353588 <nl> + v : 1 . 3250508053686563 <nl> + a : - 1 . 274410178935359 <nl> relative_time : 1 . 9500000000000011 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587259 . 19680824294 <nl> y : 4140949 . 73226042 <nl> theta : - 1 . 8121962703102863 <nl> - kappa : 0 . 0028600222651203591 <nl> - s : 5 . 6878098478442389 <nl> + kappa : 0 . 0028600222651203595 <nl> + s : 5 . 687809847844238 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 1 . 2621628210995888 <nl> + v : 1 . 262162821099589 <nl> a : - 1 . 24107089196856 <nl> relative_time : 2 . 0000000000000009 <nl> } <nl> trajectory_point { <nl> x : 587259 . 18205727055 <nl> y : 4140949 . 6724827709 <nl> theta : - 1 . 8120154255949796 <nl> - kappa : 0 . 0028401831789910134 <nl> - s : 5 . 74938060885557 <nl> + kappa : 0 . 0028401831789910143 <nl> + s : 5 . 749380608855569 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 1 . 2009471892163617 <nl> - a : - 1 . 2075232223280854 <nl> + v : 1 . 2009471892163619 <nl> + a : - 1 . 2075232223280856 <nl> relative_time : 2 . 0500000000000007 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 1 . 1414132580287073 <nl> - a : - 1 . 1738100029720009 <nl> + v : 1 . 1414132580287077 <nl> + a : - 1 . 1738100029720011 <nl> relative_time : 2 . 1000000000000005 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 1 . 0835682341984545 <nl> - a : - 1 . 1399740668583715 <nl> + v : 1 . 0835682341984547 <nl> + a : - 1 . 1399740668583718 <nl> relative_time : 2 . 1500000000000004 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587259 . 1420629014 <nl> + x : 587259 . 14206290129 <nl> y : 4140949 . 5104073947 <nl> theta : - 1 . 8115251008897442 <nl> kappa : 0 . 0027863933872441424 <nl> - s : 5 . 91631765378311 <nl> + s : 5 . 9163176537831088 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 1 . 0274171827395286 <nl> + v : 1 . 0274171827395291 <nl> a : - 1 . 1060582469452629 <nl> relative_time : 2 . 2 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587259 . 130083441 <nl> - y : 4140949 . 4618611727 <nl> + y : 4140949 . 4618611722 <nl> theta : - 1 . 8113782346859189 <nl> kappa : 0 . 0027702818022887587 <nl> - s : 5 . 9663200853635807 <nl> + s : 5 . 96632008536358 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 97296302701795212 <nl> - a : - 1 . 0721053761907398 <nl> + v : 0 . 97296302701795256 <nl> + a : - 1 . 07210537619074 <nl> relative_time : 2 . 25 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 920206548751844 <nl> - a : - 1 . 0381582875528679 <nl> + v : 0 . 92020654875184449 <nl> + a : - 1 . 0381582875528681 <nl> relative_time : 2 . 3 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587259 . 10819489858 <nl> + x : 587259 . 10819489846 <nl> y : 4140949 . 3724526558 <nl> theta : - 1 . 8111335477849153 <nl> - kappa : 0 . 002729097399134722 <nl> - s : 6 . 05836901338733 <nl> + kappa : 0 . 0027290973991347229 <nl> + s : 6 . 0583690133873294 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 8691463880114203 <nl> + v : 0 . 86914638801142075 <nl> a : - 1 . 0042598139897128 <nl> relative_time : 2 . 3499999999999996 <nl> } <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 81977904321899353 <nl> - a : - 0 . 970452788459339 <nl> + v : 0 . 81977904321899375 <nl> + a : - 0 . 97045278845933913 <nl> relative_time : 2 . 3999999999999995 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587259 . 08876621386 <nl> y : 4140949 . 2927813665 <nl> theta : - 1 . 8109267664764579 <nl> - kappa : 0 . 002687375289150121 <nl> - s : 6 . 1403750384444074 <nl> + kappa : 0 . 0026873752891501219 <nl> + s : 6 . 1403750384444065 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 77209887114897291 <nl> + v : 0 . 77209887114897313 <nl> a : - 0 . 93678004391981262 <nl> relative_time : 2 . 4499999999999993 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587259 . 07989413 <nl> + x : 587259 . 07989413012 <nl> y : 4140949 . 2563995752 <nl> theta : - 1 . 8108323400321233 <nl> kappa : 0 . 0026683229414511027 <nl> - s : 6 . 17782298399123 <nl> + s : 6 . 1778229839912289 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 72609808692786415 <nl> + v : 0 . 72609808692786437 <nl> a : - 0 . 90328441332919851 <nl> relative_time : 2 . 4999999999999991 <nl> } <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 68176676403427039 <nl> + v : 0 . 68176676403427061 <nl> a : - 0 . 87000872964556231 <nl> relative_time : 2 . 5499999999999989 <nl> } <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 63909283429889086 <nl> + v : 0 . 63909283429889108 <nl> a : - 0 . 836995825826969 <nl> relative_time : 2 . 5999999999999988 <nl> } <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 598062087904522 <nl> - a : - 0 . 80428853483148421 <nl> + v : 0 . 5980620879045222 <nl> + a : - 0 . 8042885348314841 <nl> relative_time : 2 . 6499999999999986 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587259 . 04955974128 <nl> y : 4140949 . 1320072189 <nl> theta : - 1 . 8105094881071722 <nl> - kappa : 0 . 0026031813880785957 <nl> - s : 6 . 3058606086486195 <nl> + kappa : 0 . 0026031813880785962 <nl> + s : 6 . 3058606086486186 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 5586581733860565 <nl> + v : 0 . 55865817338605672 <nl> a : - 0 . 771929689617173 <nl> relative_time : 2 . 6999999999999984 <nl> } <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 52086259763048415 <nl> + v : 0 . 52086259763048437 <nl> a : - 0 . 73996212314210086 <nl> relative_time : 2 . 7499999999999982 <nl> } <nl> trajectory_point { <nl> x : 587259 . 03721331118 <nl> y : 4140949 . 081378161 <nl> theta : - 1 . 8103780837872514 <nl> - kappa : 0 . 0025766680587714121 <nl> - s : 6 . 3579733313348381 <nl> + kappa : 0 . 0025766680587714125 <nl> + s : 6 . 3579733313348372 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 48465472587689162 <nl> + v : 0 . 48465472587689185 <nl> a : - 0 . 708428668364333 <nl> relative_time : 2 . 799999999999998 <nl> } <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 45001178171646172 <nl> - a : - 0 . 67737215824193475 <nl> + v : 0 . 45001178171646217 <nl> + a : - 0 . 67737215824193486 <nl> relative_time : 2 . 8499999999999979 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 41690884709247422 <nl> - a : - 0 . 64683542573297159 <nl> + v : 0 . 41690884709247444 <nl> + a : - 0 . 6468354257329717 <nl> relative_time : 2 . 8999999999999977 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> y : 4140949 . 0181546081 <nl> theta : - 1 . 8102139912856321 <nl> kappa : 0 . 0025435592682815887 <nl> - s : 6 . 4230496254992531 <nl> + s : 6 . 4230496254992522 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 0 . 38531886230030654 <nl> - a : - 0 . 61686130379550852 <nl> + a : - 0 . 61686130379550874 <nl> relative_time : 2 . 9499999999999975 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 0 . 35521262598743109 <nl> - a : - 0 . 58749262538761138 <nl> + a : - 0 . 58749262538761149 <nl> relative_time : 2 . 9999999999999973 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587259 . 01337418985 <nl> - y : 4140948 . 9836209761 <nl> + y : 4140948 . 9836209756 <nl> theta : - 1 . 8101243615487159 <nl> - kappa : 0 . 0025254747611036851 <nl> - s : 6 . 4585952522502348 <nl> + kappa : 0 . 0025254747611036846 <nl> + s : 6 . 4585952522502357 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 32656869053940096 <nl> - a : - 0 . 55833427338396413 <nl> + v : 0 . 32656869053940119 <nl> + a : - 0 . 55833427338396424 <nl> relative_time : 3 . 0499999999999972 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587259 . 00966819585 <nl> y : 4140948 . 9684237903 <nl> theta : - 1 . 8100849182680174 <nl> - kappa : 0 . 0025175163278074574 <nl> - s : 6 . 4742377852033 <nl> + kappa : 0 . 0025175163278074566 <nl> + s : 6 . 4742377852033011 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 2993720361963772 <nl> + v : 0 . 29937203619637748 <nl> a : - 0 . 52960566853976276 <nl> relative_time : 3 . 099999999999997 <nl> } <nl> trajectory_point { <nl> x : 587259 . 00627590669 <nl> y : 4140948 . 9545130162 <nl> theta : - 1 . 8100488137818163 <nl> - kappa : 0 . 0025102315599381838 <nl> - s : 6 . 4885562090951669 <nl> + kappa : 0 . 0025102315599381834 <nl> + s : 6 . 4885562090951678 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 27360053249752736 <nl> + v : 0 . 27360053249752758 <nl> a : - 0 . 5013325349694121 <nl> relative_time : 3 . 1499999999999968 <nl> } <nl> trajectory_point { <nl> y : 4140948 . 9418199882 <nl> theta : - 1 . 8100158698741178 <nl> kappa : 0 . 0025035844989992504 <nl> - s : 6 . 5016212014005719 <nl> + s : 6 . 5016212014005728 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 2492307627762986 <nl> - a : - 0 . 47354059678731719 <nl> + v : 0 . 24923076277629888 <nl> + a : - 0 . 47354059678731708 <nl> relative_time : 3 . 1999999999999966 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587259 . 00036574947 <nl> - y : 4140948 . 9302772093 <nl> + y : 4140948 . 9302772097 <nl> theta : - 1 . 8099859113622634 <nl> kappa : 0 . 0024975397985370889 <nl> - s : 6 . 5135022366057784 <nl> + s : 6 . 5135022366057793 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 22623802416041811 <nl> - a : - 0 . 44625557810788286 <nl> + v : 0 . 22623802416041838 <nl> + a : - 0 . 44625557810788274 <nl> relative_time : 3 . 2499999999999964 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587258 . 99781526206 <nl> - y : 4140948 . 9198184148 <nl> + y : 4140948 . 9198184153 <nl> theta : - 1 . 809958766259105 <nl> - kappa : 0 . 0024920627568602448 <nl> - s : 6 . 5242675218982944 <nl> + kappa : 0 . 0024920627568602444 <nl> + s : 6 . 5242675218982953 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 20459632757189272 <nl> - a : - 0 . 41950320304551414 <nl> + v : 0 . 204596327571893 <nl> + a : - 0 . 419503203045514 <nl> relative_time : 3 . 2999999999999963 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587258 . 99551327154 <nl> y : 4140948 . 9103786331 <nl> theta : - 1 . 8099342659351769 <nl> - kappa : 0 . 0024871193497584456 <nl> - s : 6 . 5339839328565867 <nl> + kappa : 0 . 0024871193497584452 <nl> + s : 6 . 5339839328565876 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 18427839772700902 <nl> - a : - 0 . 39330919571461581 <nl> + v : 0 . 1842783977270093 <nl> + a : - 0 . 39330919571461576 <nl> relative_time : 3 . 3499999999999961 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> y : 4140948 . 9018942481 <nl> theta : - 1 . 8099122452808645 <nl> kappa : 0 . 002482676263221675 <nl> - s : 6 . 5427169491397912 <nl> + s : 6 . 5427169491397921 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 16525567313633335 <nl> - a : - 0 . 367699280229593 <nl> + v : 0 . 16525567313633366 <nl> + a : - 0 . 36769928022959292 <nl> relative_time : 3 . 3999999999999959 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587258 . 9915930744 <nl> y : 4140948 . 8943030639 <nl> theta : - 1 . 8098925428685708 <nl> - kappa : 0 . 0024787009261592382 <nl> - s : 6 . 55053059017743 <nl> + kappa : 0 . 0024787009261592373 <nl> + s : 6 . 5505305901774307 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 14749830610471185 <nl> + v : 0 . 14749830610471212 <nl> a : - 0 . 3426991807048505 <nl> relative_time : 3 . 4499999999999957 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587258 . 9899448941 <nl> - y : 4140948 . 8875443642 <nl> + y : 4140948 . 8875443647 <nl> theta : - 1 . 8098750011148834 <nl> - kappa : 0 . 0024751615431188312 <nl> - s : 6 . 557487350859124 <nl> + kappa : 0 . 0024751615431188303 <nl> + s : 6 . 5574873508591249 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 13097516273127036 <nl> + v : 0 . 13097516273127063 <nl> a : - 0 . 31833462125479334 <nl> relative_time : 3 . 4999999999999956 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587258 . 98848529439 <nl> - y : 4140948 . 8815589771 <nl> - theta : - 1 . 809859466442737 <nl> - kappa : 0 . 0024720271270056134 <nl> - s : 6 . 5636481372243081 <nl> + y : 4140948 . 8815589775 <nl> + theta : - 1 . 8098594664427372 <nl> + kappa : 0 . 0024720271270056125 <nl> + s : 6 . 56364813722431 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 11565382290941445 <nl> - a : - 0 . 29463132599382641 <nl> + v : 0 . 11565382290941476 <nl> + a : - 0 . 29463132599382647 <nl> relative_time : 3 . 5499999999999954 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587258 . 987200237 <nl> - y : 4140948 . 8762893374 <nl> + y : 4140948 . 8762893369 <nl> theta : - 1 . 8098457894435782 <nl> - kappa : 0 . 0024692675318012734 <nl> - s : 6 . 5690722021519452 <nl> + kappa : 0 . 002469267531801273 <nl> + s : 6 . 5690722021519461 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 10150058032682951 <nl> - a : - 0 . 27161501903635465 <nl> + v : 0 . 10150058032682985 <nl> + a : - 0 . 27161501903635471 <nl> relative_time : 3 . 5999999999999952 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587258 . 986076091 <nl> y : 4140948 . 8716795463 <nl> theta : - 1 . 8098338250395265 <nl> - kappa : 0 . 0024668534852831012 <nl> - s : 6 . 5738170810502377 <nl> + kappa : 0 . 0024668534852831008 <nl> + s : 6 . 5738170810502385 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 088480442465480758 <nl> - a : - 0 . 249311424496783 <nl> + v : 0 . 088480442465481035 <nl> + a : - 0 . 24931142449678312 <nl> relative_time : 3 . 649999999999995 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> y : 4140948 . 8676754385 <nl> theta : - 1 . 8098234326455371 <nl> kappa : 0 . 0024647566217430566 <nl> - s : 6 . 5779385275463431 <nl> + s : 6 . 577938527546344 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 0765571306016129 <nl> - a : - 0 . 22774626648951635 <nl> + v : 0 . 076557130601613177 <nl> + a : - 0 . 22774626648951646 <nl> relative_time : 3 . 6999999999999948 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587258 . 98425813357 <nl> - y : 4140948 . 8642246411 <nl> + y : 4140948 . 8642246416 <nl> theta : - 1 . 8098144763315627 <nl> - kappa : 0 . 0024629495147068378 <nl> - s : 6 . 5814904491760906 <nl> + kappa : 0 . 0024629495147068369 <nl> + s : 6 . 5814904491760915 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 065693079805750676 <nl> - a : - 0 . 20694526912895966 <nl> + v : 0 . 065693079805750954 <nl> + a : - 0 . 20694526912895994 <nl> relative_time : 3 . 7499999999999947 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587258 . 9835392317 <nl> y : 4140948 . 8612766378 <nl> theta : - 1 . 8098068249847128 <nl> - kappa : 0 . 0024614057096529508 <nl> - s : 6 . 5845248430736909 <nl> + kappa : 0 . 0024614057096529504 <nl> + s : 6 . 5845248430736918 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 055849438942698448 <nl> - a : - 0 . 18693415652951789 <nl> + v : 0 . 055849438942698726 <nl> + a : - 0 . 18693415652951817 <nl> relative_time : 3 . 7999999999999945 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587258 . 98293109029 <nl> y : 4140948 . 8587828288 <nl> theta : - 1 . 8098003524714164 <nl> - kappa : 0 . 0024600997567317822 <nl> - s : 6 . 5870917316614506 <nl> + kappa : 0 . 0024600997567317808 <nl> + s : 6 . 5870917316614523 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 046986070671540259 <nl> - a : - 0 . 16773865280559602 <nl> + v : 0 . 046986070671540536 <nl> + a : - 0 . 16773865280559636 <nl> relative_time : 3 . 8499999999999943 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587258 . 98242234089 <nl> y : 4140948 . 8566965987 <nl> theta : - 1 . 8097949377995821 <nl> - kappa : 0 . 0024590072434846626 <nl> - s : 6 . 5892390983394913 <nl> + kappa : 0 . 0024590072434846622 <nl> + s : 6 . 5892390983394922 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 039061551445640108 <nl> - a : - 0 . 14938448207159888 <nl> + v : 0 . 039061551445640386 <nl> + a : - 0 . 14938448207159932 <nl> relative_time : 3 . 8999999999999941 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587258 . 982002114 <nl> y : 4140948 . 8549733721 <nl> theta : - 1 . 8097904652807586 <nl> - kappa : 0 . 0024581048275629418 <nl> - s : 6 . 591012823175455 <nl> + kappa : 0 . 0024581048275629414 <nl> + s : 6 . 5910128231754568 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 032033171512641567 <nl> - a : - 0 . 13189736844193151 <nl> + v : 0 . 032033171512641845 <nl> + a : - 0 . 13189736844193189 <nl> relative_time : 3 . 949999999999994 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587258 . 98166005313 <nl> y : 4140948 . 853570682 <nl> theta : - 1 . 8097868246922948 <nl> - kappa : 0 . 0024573702694470553 <nl> - s : 6 . 5924566185942277 <nl> + kappa : 0 . 0024573702694470549 <nl> + s : 6 . 5924566185942286 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 025856934914468166 <nl> - a : - 0 . 11530303603099867 <nl> + v : 0 . 025856934914468332 <nl> + a : - 0 . 11530303603099917 <nl> relative_time : 3 . 9999999999999938 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587258 . 981386331 <nl> y : 4140948 . 8524482287 <nl> theta : - 1 . 809783911439502 <nl> - kappa : 0 . 0024567824651655938 <nl> - s : 6 . 5936119650676446 <nl> + kappa : 0 . 0024567824651655925 <nl> + s : 6 . 5936119650676464 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 020487559487322837 <nl> - a : - 0 . 099627208953205482 <nl> + v : 0 . 020487559487323004 <nl> + a : - 0 . 099627208953205981 <nl> relative_time : 4 . 0499999999999936 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587258 . 9811716642 <nl> - y : 4140948 . 8515679436 <nl> + y : 4140948 . 8515679431 <nl> theta : - 1 . 8097816267178131 <nl> - kappa : 0 . 002456321479014372 <nl> - s : 6 . 59451804680421 <nl> + kappa : 0 . 0024563214790143712 <nl> + s : 6 . 5945180468042119 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 015878476861688584 <nl> - a : - 0 . 084895611322956865 <nl> + v : 0 . 015878476861688695 <nl> + a : - 0 . 084895611322957309 <nl> relative_time : 4 . 0999999999999934 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587258 . 98100732837 <nl> y : 4140948 . 8508940507 <nl> theta : - 1 . 8097798776749434 <nl> - kappa : 0 . 0024559685762755015 <nl> - s : 6 . 59521168743881 <nl> + kappa : 0 . 0024559685762755 <nl> + s : 6 . 5952116874388116 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 011981832462328035 <nl> - a : - 0 . 071133967254657593 <nl> + v : 0 . 01198183246232809 <nl> + a : - 0 . 071133967254658148 <nl> relative_time : 4 . 1499999999999932 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587258 . 980885174 <nl> - y : 4140948 . 8503931318 <nl> + y : 4140948 . 8503931314 <nl> theta : - 1 . 8097785775730522 <nl> - kappa : 0 . 002455706255936455 <nl> - s : 6 . 5957272857224236 <nl> + kappa : 0 . 0024557062559364537 <nl> + s : 6 . 5957272857224254 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 0 . 00874848550828361 <nl> - a : - 0 . 058368000862712766 <nl> + a : - 0 . 058368000862713321 <nl> relative_time : 4 . 1999999999999931 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> y : 4140948 . 8500341848 <nl> theta : - 1 . 8097776459509025 <nl> kappa : 0 . 00245551828340914 <nl> - s : 6 . 5960967512118414 <nl> + s : 6 . 5960967512118422 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 0061280090128774112 <nl> - a : - 0 . 046623436261527207 <nl> + v : 0 . 0061280090128774667 <nl> + a : - 0 . 046623436261527762 <nl> relative_time : 4 . 2499999999999929 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587258 . 98073777463 <nl> - y : 4140948 . 8497886909 <nl> + y : 4140948 . 84978869 <nl> theta : - 1 . 809777008786023 <nl> - kappa : 0 . 0024553897232489678 <nl> - s : 6 . 5963494399593747 <nl> + kappa : 0 . 0024553897232489673 <nl> + s : 6 . 5963494399593756 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 0040686897837114433 <nl> - a : - 0 . 035925997565505963 <nl> + v : 0 . 0040686897837114988 <nl> + a : - 0 . 035925997565506518 <nl> relative_time : 4 . 2999999999999927 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> y : 4140948 . 8496306706 <nl> theta : - 1 . 8097765986568677 <nl> kappa : 0 . 002455306971873919 <nl> - s : 6 . 5965120902025731 <nl> + s : 6 . 596512090202574 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 0 . 0025175284226673922 <nl> - a : - 0 . 026301408889053857 <nl> + a : - 0 . 026301408889054412 <nl> relative_time : 4 . 3499999999999925 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587258 . 98067633761 <nl> y : 4140948 . 8495367551 <nl> - theta : - 1 . 8097763549049775 <nl> - kappa : 0 . 0024552577902836178 <nl> - s : 6 . 5966087580539376 <nl> + theta : - 1 . 8097763549049777 <nl> + kappa : 0 . 0024552577902836169 <nl> + s : 6 . 5966087580539394 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 0 . 0014202393259065138 <nl> - a : - 0 . 017775394346575824 <nl> + a : - 0 . 017775394346576379 <nl> relative_time : 4 . 3999999999999924 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587258 . 980664019 <nl> y : 4140948 . 84948624 <nl> theta : - 1 . 8097762237971411 <nl> - kappa : 0 . 0024552313367783977 <nl> - s : 6 . 5966607531906343 <nl> + kappa : 0 . 0024552313367783964 <nl> + s : 6 . 5966607531906361 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 00072125068387007829 <nl> - a : - 0 . 010373678052476909 <nl> + v : 0 . 0007212506838701338 <nl> + a : - 0 . 010373678052477353 <nl> relative_time : 4 . 4499999999999922 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587258 . 98065790138 <nl> y : 4140948 . 8494611541 <nl> theta : - 1 . 8097761586875556 <nl> - kappa : 0 . 0024552181996783736 <nl> - s : 6 . 5966865745442078 <nl> + kappa : 0 . 0024552181996783731 <nl> + s : 6 . 5966865745442087 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 00036370448127903687 <nl> - a : - 0 . 0041219841211620478 <nl> + v : 0 . 00036370448127909238 <nl> + a : - 0 . 0041219841211623809 <nl> relative_time : 4 . 499999999999992 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587258 . 980654689 <nl> - y : 4140948 . 8494479805 <nl> + y : 4140948 . 8494479815 <nl> theta : - 1 . 809776124497583 <nl> kappa : 0 . 0024552113011996769 <nl> - s : 6 . 5967001337054558 <nl> + s : 6 . 5967001337054549 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 00018881201775038027 <nl> - a : - 0 . 0029037986178160049 <nl> + v : 0 . 000188812017750381 <nl> + a : - 0 . 0029037986178160236 <nl> relative_time : 4 . 5499999999999918 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587258 . 98065320519 <nl> y : 4140948 . 8494418962 <nl> theta : - 1 . 8097761087047166 <nl> - kappa : 0 . 0024552081146878551 <nl> - s : 6 . 5967063968874564 <nl> + kappa : 0 . 0024552081146878555 <nl> + s : 6 . 5967063968874555 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 7 . 0406003289566065e - 05 <nl> - a : - 0 . 0018607300869382735 <nl> + v : 7 . 0406003289566119e - 05 <nl> + a : - 0 . 0018607300869382839 <nl> relative_time : 4 . 5999999999999917 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587258 . 98065283149 <nl> - y : 4140948 . 8494403637 <nl> + y : 4140948 . 8494403642 <nl> theta : - 1 . 809776104727947 <nl> - kappa : 0 . 0024552073122987694 <nl> - s : 6 . 5967079740066259 <nl> + kappa : 0 . 0024552073122987702 <nl> + s : 6 . 596707974006625 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 8 . 51098705401121e - 18 <nl> - a : - 0 . 00098200209945324256 <nl> + v : 8 . 1857264022655585e - 18 <nl> + a : - 0 . 0009820020994532456 <nl> relative_time : 4 . 6499999999999915 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587258 . 9806530471 <nl> y : 4140948 . 849441248 <nl> theta : - 1 . 8097761070222427 <nl> - kappa : 0 . 0024552077752166479 <nl> - s : 6 . 5967070641280232 <nl> + kappa : 0 . 0024552077752166483 <nl> + s : 6 . 5967070641280223 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : - 3 . 0353608561053979e - 05 <nl> - a : - 0 . 00025683822628598052 <nl> + v : - 3 . 035360856105425e - 05 <nl> + a : - 0 . 00025683822628597792 <nl> relative_time : 4 . 6999999999999913 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587258 . 98065342184 <nl> y : 4140948 . 8494427847 <nl> - theta : - 1 . 8097761110106174 <nl> - kappa : 0 . 0024552085799473076 <nl> - s : 6 . 5967054824064206 <nl> + theta : - 1 . 8097761110106176 <nl> + kappa : 0 . 0024552085799473084 <nl> + s : 6 . 59670548240642 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : - 2 . 8063617382636597e - 05 <nl> - a : 0 . 0003255379616384441 <nl> + v : - 2 . 8063617382636759e - 05 <nl> + a : 0 . 00032553796163845104 <nl> relative_time : 4 . 7499999999999911 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587258 . 98065361031 <nl> - y : 4140948 . 8494435572 <nl> - theta : - 1 . 8097761130161978 <nl> - kappa : 0 . 0024552089846113789 <nl> - s : 6 . 5967046870273762 <nl> + y : 4140948 . 8494435577 <nl> + theta : - 1 . 809776113016198 <nl> + kappa : 0 . 00245520898461138 <nl> + s : 6 . 5967046870273753 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : - 8 . 077306185017008e - 18 <nl> - a : 0 . 00077590289339496063 <nl> + v : - 7 . 7520455332713567e - 18 <nl> + a : 0 . 00077590289339497191 <nl> relative_time : 4 . 7999999999999909 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587258 . 98065334512 <nl> y : 4140948 . 84944247 <nl> theta : - 1 . 8097761101942893 <nl> - kappa : 0 . 0024552084152375227 <nl> - s : 6 . 5967058061483108 <nl> + kappa : 0 . 0024552084152375236 <nl> + s : 6 . 59670580614831 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 4 . 7506091505309517e - 05 <nl> - a : 0 . 0011050329980585027 <nl> + v : 4 . 7506091505310493e - 05 <nl> + a : 0 . 0011050329980585166 <nl> relative_time : 4 . 8499999999999908 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587258 . 98065243091 <nl> y : 4140948 . 8494387213 <nl> theta : - 1 . 8097761004644435 <nl> - kappa : 0 . 0024552064520556574 <nl> - s : 6 . 5967096648395733 <nl> + kappa : 0 . 0024552064520556582 <nl> + s : 6 . 5967096648395724 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 00010866232650554085 <nl> - a : 0 . 0013237047047039993 <nl> + v : 0 . 00010866232650554275 <nl> + a : 0 . 001323704704704015 <nl> relative_time : 4 . 8999999999999906 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587258 . 98065073765 <nl> y : 4140948 . 8494317774 <nl> theta : - 1 . 8097760824425255 <nl> - kappa : 0 . 0024552028157901759 <nl> - s : 6 . 5967168120255213 <nl> + kappa : 0 . 0024552028157901764 <nl> + s : 6 . 59671681202552 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 00017821519582665718 <nl> - a : 0 . 0014426944424063811 <nl> + v : 0 . 00017821519582665945 <nl> + a : 0 . 0014426944424063967 <nl> relative_time : 4 . 94999999999999 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587258 . 98064819421 <nl> y : 4140948 . 849421348 <nl> theta : - 1 . 8097760553727809 <nl> - kappa : 0 . 0024551973539531711 <nl> - s : 6 . 5967275474255871 <nl> + kappa : 0 . 0024551973539531716 <nl> + s : 6 . 5967275474255862 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 00025145001174837556 <nl> - a : 0 . 0014727786402405803 <nl> + v : 0 . 00025145001174837849 <nl> + a : 0 . 0014727786402405968 <nl> relative_time : 4 . 99999999999999 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587258 . 98064478231 <nl> y : 4140948 . 8494073572 <nl> theta : - 1 . 8097760190599019 <nl> - kappa : 0 . 0024551900271376553 <nl> - s : 6 . 5967419484953558 <nl> + kappa : 0 . 0024551900271376557 <nl> + s : 6 . 5967419484953549 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 00032419090800416033 <nl> - a : 0 . 0014247337272815267 <nl> + v : 0 . 00032419090800416461 <nl> + a : 0 . 0014247337272815441 <nl> relative_time : 5 . 04999999999999 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587258 . 98064052989 <nl> y : 4140948 . 8493899191 <nl> theta : - 1 . 8097759738010959 <nl> - kappa : 0 . 0024551808953107825 <nl> - s : 6 . 5967598973676349 <nl> + kappa : 0 . 0024551808953107829 <nl> + s : 6 . 596759897367634 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 00039280083978122254 <nl> - a : 0 . 0013093361326041528 <nl> + v : 0 . 00039280083978122704 <nl> + a : 0 . 0013093361326041676 <nl> relative_time : 5 . 09999999999999 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> y : 4140948 . 8493693122 <nl> theta : - 1 . 8097759203181507 <nl> kappa : 0 . 0024551701041070732 <nl> - s : 6 . 5967811077935252 <nl> + s : 6 . 5967811077935243 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 00045418158372051876 <nl> - a : 0 . 00113736228528339 <nl> + v : 0 . 00045418158372052348 <nl> + a : 0 . 0011373622852834022 <nl> relative_time : 5 . 14999999999999 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587258 . 98062980827 <nl> y : 4140948 . 8493459523 <nl> theta : - 1 . 8097758596895026 <nl> - kappa : 0 . 0024551578711216292 <nl> - s : 6 . 5968051520834994 <nl> + kappa : 0 . 00245515787112163 <nl> + s : 6 . 5968051520834985 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 000505773737916753 <nl> - a : 0 . 00091958861439416558 <nl> + v : 0 . 00050577373791675911 <nl> + a : 0 . 00091958861439417859 <nl> relative_time : 5 . 1999999999999895 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587258 . 98062356887 <nl> y : 4140948 . 849320366 <nl> theta : - 1 . 8097757932823038 <nl> - kappa : 0 . 0024551444722033643 <nl> - s : 6 . 5968314880484682 <nl> + kappa : 0 . 0024551444722033648 <nl> + s : 6 . 5968314880484673 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 00054555672191837577 <nl> - a : 0 . 00066679154901141437 <nl> + v : 0 . 00054555672191838216 <nl> + a : 0 . 00066679154901142478 <nl> relative_time : 5 . 2499999999999893 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587258 . 98061693565 <nl> y : 4140948 . 8492931658 <nl> theta : - 1 . 8097757226844877 <nl> - kappa : 0 . 0024551302277482177 <nl> - s : 6 . 5968594859408594 <nl> + kappa : 0 . 0024551302277482181 <nl> + s : 6 . 5968594859408585 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 00057204877672758418 <nl> - a : 0 . 00038974751821006445 <nl> + v : 0 . 00057204877672759166 <nl> + a : 0 . 000389747518210074 <nl> relative_time : 5 . 2999999999999892 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587258 . 98061007226 <nl> y : 4140948 . 8492650213 <nl> theta : - 1 . 8097756496368378 <nl> - kappa : 0 . 0024551154889923821 <nl> - s : 6 . 5968884553956837 <nl> + kappa : 0 . 0024551154889923825 <nl> + s : 6 . 5968884553956828 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 00058430696480032138 <nl> - a : 9 . 9232951065049944e - 05 <nl> + v : 0 . 00058430696480032854 <nl> + a : 9 . 9232951065056016e - 05 <nl> relative_time : 5 . 349999999999989 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587258 . 98060315021 <nl> y : 4140948 . 8492366355 <nl> theta : - 1 . 8097755759650533 <nl> - kappa : 0 . 0024551006243055213 <nl> - s : 6 . 596917672371613 <nl> + kappa : 0 . 0024551006243055222 <nl> + s : 6 . 5969176723716121 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 00058192717004627685 <nl> - a : - 0 . 00019397572334869852 <nl> + v : 0 . 00058192717004628422 <nl> + a : - 0 . 00019397572334869245 <nl> relative_time : 5 . 3999999999999888 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587258 . 98059634271 <nl> y : 4140948 . 84920872 <nl> theta : - 1 . 809775503511817 <nl> - kappa : 0 . 0024550860054839952 <nl> - s : 6 . 5969464060920515 <nl> + kappa : 0 . 0024550860054839956 <nl> + s : 6 . 5969464060920506 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 00056504409782888823 <nl> - a : - 0 . 00047910207595625465 <nl> + v : 0 . 00056504409782889592 <nl> + a : - 0 . 00047910207595625032 <nl> relative_time : 5 . 4499999999999886 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> y : 4140948 . 8491819645 <nl> theta : - 1 . 8097754340688621 <nl> kappa : 0 . 0024550719940440785 <nl> - s : 6 . 5969739459862069 <nl> + s : 6 . 596973945986206 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 00053433127496533889 <nl> - a : - 0 . 00074536967768268261 <nl> + v : 0 . 00053433127496534517 <nl> + a : - 0 . 00074536967768268 <nl> relative_time : 5 . 4999999999999885 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587258 . 98058373341 <nl> y : 4140948 . 849157013 <nl> - theta : - 1 . 8097753693090384 <nl> + theta : - 1 . 8097753693090386 <nl> kappa : 0 . 0024550589275151849 <nl> - s : 6 . 5969996286301633 <nl> + s : 6 . 5969996286301624 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 00049100104972655363 <nl> - a : - 0 . 00098200209945305044 <nl> + v : 0 . 00049100104972656187 <nl> + a : - 0 . 00098200209945304654 <nl> relative_time : 5 . 5499999999999883 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587258 . 98057822837 <nl> y : 4140948 . 8491344387 <nl> theta : - 1 . 8097753107183807 <nl> - kappa : 0 . 0024550471057330878 <nl> - s : 6 . 5970228646879567 <nl> + kappa : 0 . 0024550471057330882 <nl> + s : 6 . 5970228646879558 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 00043680459183721595 <nl> - a : - 0 . 001178222912192431 <nl> + v : 0 . 0004368045918372236 <nl> + a : - 0 . 0011782229121924293 <nl> relative_time : 5 . 5999999999999881 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587258 . 98057341867 <nl> y : 4140948 . 8491147151 <nl> theta : - 1 . 8097752595281742 <nl> - kappa : 0 . 0024550367771331424 <nl> - s : 6 . 5970431658526438 <nl> + kappa : 0 . 0024550367771331433 <nl> + s : 6 . 5970431658526429 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 0003740318924757445 <nl> - a : - 0 . 0013232556868258936 <nl> + v : 0 . 0003740318924757504 <nl> + a : - 0 . 0013232556868258906 <nl> relative_time : 5 . 6499999999999879 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587258 . 98056938965 <nl> y : 4140948 . 8490981935 <nl> theta : - 1 . 8097752166470231 <nl> - kappa : 0 . 0024550281250435083 <nl> - s : 6 . 597060171787378 <nl> + kappa : 0 . 0024550281250435087 <nl> + s : 6 . 5970601717873771 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 0003055117642743058 <nl> - a : - 0 . 0014063239942785073 <nl> + v : 0 . 000305511764274316 <nl> + a : - 0 . 0014063239942784986 <nl> relative_time : 5 . 6999999999999877 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587258 . 98056619 <nl> y : 4140948 . 8490850721 <nl> theta : - 1 . 8097751825929167 <nl> - kappa : 0 . 0024550212539783678 <nl> - s : 6 . 59707367706648 <nl> + kappa : 0 . 0024550212539783682 <nl> + s : 6 . 5970736770664793 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 00023461184131882206 <nl> - a : - 0 . 001416651405475337 <nl> + v : 0 . 00023461184131883371 <nl> + a : - 0 . 0014166514054753223 <nl> relative_time : 5 . 7499999999999876 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587258 . 98056382523 <nl> y : 4140948 . 8490753756 <nl> theta : - 1 . 809775157425296 <nl> - kappa : 0 . 0024550161759311529 <nl> - s : 6 . 5970836581165111 <nl> + kappa : 0 . 0024550161759311533 <nl> + s : 6 . 59708365811651 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 00016523857914895322 <nl> - a : - 0 . 0013434614913414513 <nl> + v : 0 . 00016523857914896187 <nl> + a : - 0 . 0013434614913414395 <nl> relative_time : 5 . 7999999999999874 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587258 . 98056225164 <nl> y : 4140948 . 8490689225 <nl> - theta : - 1 . 8097751406771221 <nl> - kappa : 0 . 0024550127966677625 <nl> - s : 6 . 5970903001573467 <nl> + theta : - 1 . 8097751406771219 <nl> + kappa : 0 . 0024550127966677629 <nl> + s : 6 . 5970903001573458 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 00010183725475810515 <nl> - a : - 0 . 0011759778228019237 <nl> + v : 0 . 0001018372547581129 <nl> + a : - 0 . 0011759778228019103 <nl> relative_time : 5 . 8499999999999872 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587258 . 98056136933 <nl> + x : 587258 . 98056136945 <nl> y : 4140948 . 8490653047 <nl> theta : - 1 . 8097751312869412 <nl> kappa : 0 . 0024550109020197884 <nl> - s : 6 . 5970940241432459 <nl> + s : 6 . 597094024143245 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 4 . 9391966593436505e - 05 <nl> - a : - 0 . 00090342397078181907 <nl> + v : 4 . 9391966593445721e - 05 <nl> + a : - 0 . 00090342397078179912 <nl> relative_time : 5 . 899999999999987 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> y : 4140948 . 8490638575 <nl> theta : - 1 . 8097751275309537 <nl> kappa : 0 . 0024550101441777319 <nl> - s : 6 . 5970955137039295 <nl> + s : 6 . 5970955137039287 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 1 . 3425634555849341e - 05 <nl> - a : - 0 . 00051502350620621007 <nl> + v : 1 . 3425634555860671e - 05 <nl> + a : - 0 . 00051502350620618318 <nl> relative_time : 5 . 9499999999999869 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587258 . 98056096234 <nl> y : 4140948 . 8490636358 <nl> - theta : - 1 . 80977512695508 <nl> - kappa : 0 . 0024550100279842305 <nl> - s : 6 . 5970957420856475 <nl> + theta : - 1 . 8097751269550801 <nl> + kappa : 0 . 0024550100279842309 <nl> + s : 6 . 5970957420856466 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : - 1 . 111307226797642e - 17 <nl> - a : - 1 . 717376241217039e - 16 <nl> + v : 2 . 4936649967166602e - 18 <nl> + a : - 1 . 2750217548429532e - 16 <nl> relative_time : 5 . 9999999999999867 <nl> } <nl> decision { <nl> mmm a / modules / planning / testdata / sunnyvale_loop_test / result_nudge_0 . pb . txt <nl> ppp b / modules / planning / testdata / sunnyvale_loop_test / result_nudge_0 . pb . txt <nl> trajectory_point { <nl> path_point { <nl> x : 587325 . 338303 <nl> y : 4141206 . 17551 <nl> + z : 0 <nl> theta : - 1 . 82326794493 <nl> kappa : - 0 . 000370558563240735 <nl> - s : 3 . 4694469519536142e - 18 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 11 . 011111259460449 <nl> - a : 0 . 40624467846500012 <nl> + a : 0 . 4062446784649999 <nl> relative_time : 0 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 11 . 031568263015794 <nl> - a : 0 . 41189262119317588 <nl> + a : 0 . 41189262119317371 <nl> relative_time : 0 . 05 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 11 . 052286509780426 <nl> - a : 0 . 4166998559608836 <nl> + v : 11 . 052286509780425 <nl> + a : 0 . 41669985596087961 <nl> relative_time : 0 . 1 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 11 . 073224781724981 <nl> - a : 0 . 42069907751452673 <nl> + a : 0 . 42069907751452107 <nl> relative_time : 0 . 15000000000000002 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 11 . 094343495557418 <nl> - a : 0 . 4239229806005087 <nl> + v : 11 . 094343495557416 <nl> + a : 0 . 42392298060050143 <nl> relative_time : 0 . 2 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 11 . 115604702723012 <nl> - a : 0 . 426404259965233 <nl> + v : 11 . 11560470272301 <nl> + a : 0 . 42640425996522424 <nl> relative_time : 0 . 25 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 11 . 13697208940436 <nl> - a : 0 . 42817561035510304 <nl> + v : 11 . 136972089404358 <nl> + a : 0 . 42817561035509288 <nl> relative_time : 0 . 3 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 11 . 158410976521381 <nl> - a : 0 . 42926972651652229 <nl> + v : 11 . 158410976521377 <nl> + a : 0 . 4292697265165108 <nl> relative_time : 0 . 35 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587324 . 2285259387 <nl> y : 4141201 . 8786194883 <nl> - theta : - 1 . 8234577529341043 <nl> - kappa : 0 . 00014093246483529425 <nl> - s : 4 . 4378906407775309 <nl> + theta : - 1 . 8234577529341041 <nl> + kappa : 0 . 00014093246483529422 <nl> + s : 4 . 43789064077753 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 11 . 179888319731312 <nl> - a : 0 . 42971930319589413 <nl> + v : 11 . 179888319731308 <nl> + a : 0 . 42971930319588147 <nl> relative_time : 0 . 39999999999999997 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 11 . 201372709428709 <nl> - a : 0 . 42955703513962207 <nl> + v : 11 . 201372709428705 <nl> + a : 0 . 4295570351396083 <nl> relative_time : 0 . 44999999999999996 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587323 . 94860369433 <nl> + x : 587323 . 94860369444 <nl> y : 4141200 . 7940227035 <nl> theta : - 1 . 8232838050201658 <nl> kappa : 0 . 00016465410109047635 <nl> - s : 5 . 55802753200587 <nl> + s : 5 . 5580275320058687 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 11 . 222834370745453 <nl> - a : 0 . 42881561709410948 <nl> + v : 11 . 222834370745449 <nl> + a : 0 . 42881561709409471 <nl> relative_time : 0 . 49999999999999994 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587323 . 80830390577 <nl> y : 4141200 . 250150193 <nl> - theta : - 1 . 8231905515635496 <nl> - kappa : 0 . 00016849490880804945 <nl> - s : 6 . 119704788783733 <nl> + theta : - 1 . 8231905515635494 <nl> + kappa : 0 . 00016849490880804948 <nl> + s : 6 . 1197047887837321 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 11 . 24424516355074 <nl> - a : 0 . 42752774380575986 <nl> + v : 11 . 244245163550735 <nl> + a : 0 . 42752774380574415 <nl> relative_time : 0 . 54999999999999993 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> y : 4141199 . 7052248036 <nl> theta : - 1 . 8230960976521675 <nl> kappa : 0 . 00016620586663953531 <nl> - s : 6 . 6824507578876746 <nl> + s : 6 . 6824507578876737 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 11 . 265578582451088 <nl> - a : 0 . 42572611002097666 <nl> + v : 11 . 265578582451083 <nl> + a : 0 . 42572611002096011 <nl> relative_time : 0 . 6 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> y : 4141199 . 1592581514 <nl> theta : - 1 . 823003516446057 <nl> kappa : 0 . 00016228283179982593 <nl> - s : 7 . 2462609420446364 <nl> + s : 7 . 2462609420446356 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 11 . 286809756790337 <nl> - a : 0 . 42344341048616324 <nl> + v : 11 . 28680975679033 <nl> + a : 0 . 423443410486146 <nl> relative_time : 0 . 65 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587323 . 38614847371 <nl> y : 4141198 . 6122543458 <nl> theta : - 1 . 8229130779836995 <nl> - kappa : 0 . 0001565120568270559 <nl> - s : 7 . 8111296413171889 <nl> + kappa : 0 . 00015651205682705593 <nl> + s : 7 . 8111296413171871 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 11 . 307915450649643 <nl> - a : 0 . 42071233994772317 <nl> + v : 11 . 307915450649636 <nl> + a : 0 . 42071233994770518 <nl> relative_time : 0 . 70000000000000007 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587323 . 24500827352 <nl> - y : 4141198 . 0642166338 <nl> + y : 4141198 . 0642166333 <nl> theta : - 1 . 8228264260854536 <nl> kappa : 0 . 00015146711669355241 <nl> - s : 8 . 37705003484039 <nl> + s : 8 . 3770500348403889 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 11 . 328874062847488 <nl> - a : 0 . 41756559315205982 <nl> + v : 11 . 328874062847481 <nl> + a : 0 . 41756559315204117 <nl> relative_time : 0 . 75000000000000011 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> y : 4141197 . 5151615618 <nl> theta : - 1 . 822741278214125 <nl> kappa : 0 . 00014672275188920531 <nl> - s : 8 . 9440142625586585 <nl> + s : 8 . 9440142625586549 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 11 . 34966562693967 <nl> - a : 0 . 41403586484557658 <nl> + v : 11 . 349665626939661 <nl> + a : 0 . 41403586484555743 <nl> relative_time : 0 . 80000000000000016 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587322 . 9620754458 <nl> - y : 4141196 . 9650846627 <nl> + y : 4141196 . 9650846622 <nl> theta : - 1 . 8226590159870455 <nl> kappa : 0 . 00014489539317292995 <nl> - s : 9 . 5120135069626279 <nl> + s : 9 . 5120135069626262 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 11 . 370271811219306 <nl> - a : 0 . 410155849774677 <nl> + v : 11 . 370271811219295 <nl> + a : 0 . 41015584977465741 <nl> relative_time : 0 . 8500000000000002 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587322 . 82028188894 <nl> - y : 4141196 . 4140097625 <nl> + y : 4141196 . 414009762 <nl> theta : - 1 . 8225767309980438 <nl> - kappa : 0 . 00014401349086082011 <nl> - s : 10 . 081038074826033 <nl> + kappa : 0 . 00014401349086082008 <nl> + s : 10 . 081038074826029 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 11 . 390675918716838 <nl> - a : 0 . 40595824268576447 <nl> + v : 11 . 390675918716825 <nl> + a : 0 . 40595824268574443 <nl> relative_time : 0 . 90000000000000024 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587322 . 67829981574 <nl> - y : 4141195 . 8619354805 <nl> + y : 4141195 . 86193548 <nl> theta : - 1 . 82249406531125 <nl> - kappa : 0 . 00014644531137628154 <nl> - s : 10 . 651077478942554 <nl> + kappa : 0 . 00014644531137628151 <nl> + s : 10 . 651077478942549 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 11 . 410862887200022 <nl> - a : 0 . 40147573832524241 <nl> + v : 11 . 410862887200009 <nl> + a : 0 . 40147573832522204 <nl> relative_time : 0 . 95000000000000029 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587322 . 53610394918 <nl> y : 4141195 . 3088798882 <nl> theta : - 1 . 8224090877742118 <nl> - kappa : 0 . 00015122043468796166 <nl> - s : 11 . 222120519862692 <nl> + kappa : 0 . 0001512204346879616 <nl> + s : 11 . 222120519862688 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 11 . 430819289173941 <nl> - a : 0 . 39674103143951428 <nl> + v : 11 . 430819289173929 <nl> + a : 0 . 39674103143949363 <nl> relative_time : 1 . 0000000000000002 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587322 . 39370707073 <nl> - y : 4141194 . 754851914 <nl> + y : 4141194 . 7548519135 <nl> theta : - 1 . 8223212113184526 <nl> - kappa : 0 . 00015897453665247418 <nl> - s : 11 . 794155367630646 <nl> + kappa : 0 . 0001589745366524741 <nl> + s : 11 . 794155367630639 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 11 . 450533331880994 <nl> - a : 0 . 39178681677498362 <nl> + v : 11 . 45053333188098 <nl> + a : 0 . 39178681677496269 <nl> relative_time : 1 . 0500000000000003 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587322 . 25112887006 <nl> y : 4141194 . 1998592876 <nl> theta : - 1 . 8222254628371668 <nl> - kappa : 0 . 00017138530265516276 <nl> - s : 12 . 367169643521153 <nl> + kappa : 0 . 00017138530265516262 <nl> + s : 12 . 367169643521148 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 11 . 4699948573009 <nl> - a : 0 . 38664578907805369 <nl> + v : 11 . 469994857300884 <nl> + a : 0 . 3866457890780326 <nl> relative_time : 1 . 1000000000000003 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587322 . 10833733156 <nl> - y : 4141193 . 6439234982 <nl> + y : 4141193 . 6439234978 <nl> theta : - 1 . 822126195603865 <nl> - kappa : 0 . 0001858358902794234 <nl> - s : 12 . 941150501776381 <nl> + kappa : 0 . 00018583589027942321 <nl> + s : 12 . 941150501776374 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 11 . 4891953421507 <nl> - a : 0 . 38135064309512806 <nl> + v : 11 . 489195342150683 <nl> + a : 0 . 38135064309510686 <nl> relative_time : 1 . 1500000000000004 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587321 . 96540868259 <nl> y : 4141193 . 087038639 <nl> theta : - 1 . 8220093488199192 <nl> - kappa : 0 . 00020812250633337002 <nl> - s : 13 . 516084711342776 <nl> + kappa : 0 . 00020812250633336969 <nl> + s : 13 . 516084711342767 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 11 . 508127897884753 <nl> - a : 0 . 37593407357261016 <nl> + v : 11 . 508127897884735 <nl> + a : 0 . 37593407357258884 <nl> relative_time : 1 . 2000000000000004 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587321 . 82227917959 <nl> - y : 4141192 . 5292350561 <nl> - theta : - 1 . 8218853333093374 <nl> - kappa : 0 . 00023299292632548253 <nl> - s : 14 . 091958737607936 <nl> + y : 4141192 . 5292350566 <nl> + theta : - 1 . 8218853333093372 <nl> + kappa : 0 . 00023299292632548207 <nl> + s : 14 . 091958737607927 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 11 . 52678727069474 <nl> - a : 0 . 37042877525690332 <nl> + v : 11 . 526787270694722 <nl> + a : 0 . 370428775256882 <nl> relative_time : 1 . 2500000000000004 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587321 . 67901749723 <nl> y : 4141191 . 9705093363 <nl> theta : - 1 . 8217396876137011 <nl> - kappa : 0 . 0002655114234552804 <nl> - s : 14 . 668758824137479 <nl> + kappa : 0 . 00026551142345527981 <nl> + s : 14 . 668758824137468 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 11 . 545169841509663 <nl> - a : 0 . 3648674428944112 <nl> + v : 11 . 545169841509644 <nl> + a : 0 . 36486744289438983 <nl> relative_time : 1 . 3000000000000005 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587321 . 53560773446 <nl> y : 4141191 . 4108799258 <nl> theta : - 1 . 8215750367598387 <nl> - kappa : 0 . 00030388313523565483 <nl> - s : 15 . 246471074411904 <nl> + kappa : 0 . 00030388313523565386 <nl> + s : 15 . 246471074411891 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 11 . 563273625995842 <nl> - a : 0 . 359282771231537 <nl> + v : 11 . 563273625995821 <nl> + a : 0 . 35928277123151575 <nl> relative_time : 1 . 3500000000000005 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587321 . 39205458493 <nl> + x : 587321 . 39205458481 <nl> y : 4141190 . 850360027 <nl> theta : - 1 . 8213910905505737 <nl> - kappa : 0 . 00034819803955449654 <nl> - s : 15 . 825081533563456 <nl> + kappa : 0 . 00034819803955449588 <nl> + s : 15 . 825081533563447 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 11 . 581098274556917 <nl> - a : 0 . 35370745501468442 <nl> + v : 11 . 581098274556895 <nl> + a : 0 . 35370745501466316 <nl> relative_time : 1 . 4000000000000006 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587321 . 24843849766 <nl> - y : 4141190 . 2889434607 <nl> + y : 4141190 . 28894346 <nl> theta : - 1 . 8211672875772462 <nl> - kappa : 0 . 0004022002171928662 <nl> - s : 16 . 404576270113004 <nl> + kappa : 0 . 00040220021719286517 <nl> + s : 16 . 404576270112994 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 11 . 59864507233385 <nl> - a : 0 . 34817418899025665 <nl> + v : 11 . 598645072333827 <nl> + a : 0 . 3481741889902355 <nl> relative_time : 1 . 4500000000000006 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587321 . 10466628161 <nl> y : 4141189 . 7266683518 <nl> theta : - 1 . 8209284923932363 <nl> - kappa : 0 . 00045897921082541451 <nl> - s : 16 . 984941457706892 <nl> + kappa : 0 . 00045897921082541321 <nl> + s : 16 . 984941457706878 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 11 . 615916939204919 <nl> - a : 0 . 3427156679046483 <nl> + v : 11 . 615916939204904 <nl> + a : 0 . 34271566790463925 <nl> relative_time : 1 . 5000000000000007 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587320 . 96092261979 <nl> y : 4141189 . 1635018606 <nl> - theta : - 1 . 8206358861733787 <nl> - kappa : 0 . 00051344285921774884 <nl> - s : 17 . 56616322037835 <nl> + theta : - 1 . 8206358861733785 <nl> + kappa : 0 . 00051344285921774754 <nl> + s : 17 . 566163220378336 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 11 . 63290394570005 <nl> - a : 0 . 33676109613854877 <nl> + v : 11 . 632903945700036 <nl> + a : 0 . 33676109613853838 <nl> relative_time : 1 . 5500000000000007 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587320 . 81707582821 <nl> - y : 4141188 . 599492833 <nl> - theta : - 1 . 820325562269447 <nl> - kappa : 0 . 0005654038694890976 <nl> - s : 18 . 148226881811862 <nl> + y : 4141188 . 5994928326 <nl> + theta : - 1 . 8203255622694472 <nl> + kappa : 0 . 00056540386948909652 <nl> + s : 18 . 148226881811848 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 11 . 649592730555677 <nl> - a : 0 . 33078742858659249 <nl> + v : 11 . 649592730555661 <nl> + a : 0 . 330787428586581 <nl> relative_time : 1 . 6000000000000008 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587320 . 67323037947 <nl> y : 4141188 . 0346300444 <nl> theta : - 1 . 8199809424770408 <nl> - kappa : 0 . 00061238502162586626 <nl> - s : 18 . 731117508621384 <nl> + kappa : 0 . 00061238502162586485 <nl> + s : 18 . 731117508621367 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 11 . 665982432921837 <nl> - a : 0 . 32479842282222188 <nl> + v : 11 . 665982432921821 <nl> + a : 0 . 32479842282220944 <nl> relative_time : 1 . 6500000000000008 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587320 . 52940553869 <nl> + x : 587320 . 52940553881 <nl> y : 4141187 . 4689241722 <nl> theta : - 1 . 8196090608666382 <nl> - kappa : 0 . 0006547286933285591 <nl> - s : 19 . 314820129075326 <nl> + kappa : 0 . 00065472869332855791 <nl> + s : 19 . 314820129075308 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 11 . 682072379827249 <nl> - a : 0 . 31879783641887932 <nl> + v : 11 . 682072379827233 <nl> + a : 0 . 31879783641886617 <nl> relative_time : 1 . 7000000000000008 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587320 . 38551565935 <nl> + x : 587320 . 38551565923 <nl> y : 4141186 . 9024124769 <nl> theta : - 1 . 8192207543797245 <nl> - kappa : 0 . 00069433510969884866 <nl> - s : 19 . 899319742490508 <nl> + kappa : 0 . 00069433510969884747 <nl> + s : 19 . 899319742490491 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 11 . 697862086179299 <nl> - a : 0 . 31278942695000717 <nl> + v : 11 . 697862086179283 <nl> + a : 0 . 31278942694999357 <nl> relative_time : 1 . 7500000000000009 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587320 . 24179890531 <nl> - y : 4141186 . 3350501438 <nl> + y : 4141186 . 3350501442 <nl> theta : - 1 . 8187984943233737 <nl> - kappa : 0 . 00072722642365139248 <nl> - s : 20 . 484601328626091 <nl> + kappa : 0 . 0007272264236513914 <nl> + s : 20 . 48460132862607 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 11 . 713351254764047 <nl> - a : 0 . 30677695198904792 <nl> + v : 11 . 71335125476403 <nl> + a : 0 . 30677695198903393 <nl> relative_time : 1 . 8000000000000009 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587320 . 09801741748 <nl> + x : 587320 . 09801741759 <nl> y : 4141185 . 7669130745 <nl> theta : - 1 . 8183666038177813 <nl> - kappa : 0 . 00075808618719316336 <nl> - s : 21 . 070649857077495 <nl> + kappa : 0 . 00075808618719316249 <nl> + s : 21 . 070649857077477 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 11 . 728539776246226 <nl> - a : 0 . 300764169109444 <nl> + v : 11 . 728539776246208 <nl> + a : 0 . 30076416910942977 <nl> relative_time : 1 . 850000000000001 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587319 . 954382562 <nl> - y : 4141185 . 1979633546 <nl> + y : 4141185 . 1979633542 <nl> theta : - 1 . 8179118865708508 <nl> - kappa : 0 . 000783623399225366 <nl> - s : 21 . 657450296670351 <nl> + kappa : 0 . 000783623399225365 <nl> + s : 21 . 65745029667033 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 11 . 743427729169239 <nl> - a : 0 . 29475483588463763 <nl> + v : 11 . 74342772916922 <nl> + a : 0 . 29475483588462342 <nl> relative_time : 1 . 900000000000001 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587319 . 810803141 <nl> y : 4141184 . 6282397313 <nl> theta : - 1 . 8174449022258916 <nl> - kappa : 0 . 00080589227840846989 <nl> - s : 22 . 244987624854424 <nl> + kappa : 0 . 00080589227840846924 <nl> + s : 22 . 244987624854403 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 11 . 758015379955161 <nl> - a : 0 . 28875270988807145 <nl> + v : 11 . 758015379955141 <nl> + a : 0 . 28875270988805729 <nl> relative_time : 1 . 9500000000000011 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587319 . 6672665918 <nl> y : 4141184 . 0577608449 <nl> theta : - 1 . 816966467651699 <nl> - kappa : 0 . 000825119410123153 <nl> - s : 22 . 833246837097551 <nl> + kappa : 0 . 00082511941012315215 <nl> + s : 22 . 833246837097526 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 11 . 772303182904741 <nl> - a : 0 . 2827615486931877 <nl> + v : 11 . 77230318290472 <nl> + a : 0 . 28276154869317377 <nl> relative_time : 2 . 0000000000000009 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587319 . 52394310851 <nl> - y : 4141183 . 4864995782 <nl> + y : 4141183 . 4864995787 <nl> theta : - 1 . 8164741910096929 <nl> - kappa : 0 . 00083977342695923125 <nl> - s : 23 . 422212956279569 <nl> + kappa : 0 . 0008397734269592306 <nl> + s : 23 . 422212956279544 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 11 . 786291780197399 <nl> - a : 0 . 27678510987342891 <nl> + v : 11 . 786291780197377 <nl> + a : 0 . 27678510987341526 <nl> relative_time : 2 . 0500000000000007 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587319 . 38059808651 <nl> - y : 4141182 . 9145303187 <nl> + y : 4141182 . 9145303182 <nl> theta : - 1 . 8159769953546609 <nl> - kappa : 0 . 00085282747187476388 <nl> - s : 24 . 011871042086263 <nl> + kappa : 0 . 00085282747187476345 <nl> + s : 24 . 011871042086238 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 11 . 799982001891227 <nl> - a : 0 . 27082715100223737 <nl> + v : 11 . 799982001891205 <nl> + a : 0 . 2708271510022241 <nl> relative_time : 2 . 1000000000000005 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587319 . 23751335556 <nl> y : 4141182 . 3417979563 <nl> theta : - 1 . 8154693628800915 <nl> - kappa : 0 . 00086172168537861419 <nl> - s : 24 . 602206200403277 <nl> + kappa : 0 . 00086172168537861386 <nl> + s : 24 . 602206200403252 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 11 . 81337486592299 <nl> - a : 0 . 26489142965305557 <nl> + v : 11 . 813374865922967 <nl> + a : 0 . 26489142965304274 <nl> relative_time : 2 . 1500000000000004 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587319 . 09448585822 <nl> - y : 4141181 . 7683688067 <nl> + y : 4141181 . 7683688072 <nl> theta : - 1 . 814958160590741 <nl> - kappa : 0 . 00086895392566310812 <nl> - s : 25 . 19320359271007 <nl> + kappa : 0 . 0008689539256631079 <nl> + s : 25 . 193203592710042 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 11 . 826471578108123 <nl> - a : 0 . 25898170339932586 <nl> + v : 11 . 8264715781081 <nl> + a : 0 . 25898170339931348 <nl> relative_time : 2 . 2 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587318 . 95157732954 <nl> y : 4141181 . 1942427023 <nl> theta : - 1 . 8144425997889879 <nl> - kappa : 0 . 000874077432254085 <nl> - s : 25 . 78484844547383 <nl> + kappa : 0 . 00087407743225408475 <nl> + s : 25 . 784848445473806 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 11 . 839273532140737 <nl> - a : 0 . 25310172981449064 <nl> + v : 11 . 839273532140712 <nl> + a : 0 . 25310172981447887 <nl> relative_time : 2 . 25 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587318 . 80889632134 <nl> - y : 4141180 . 6194080715 <nl> + y : 4141180 . 619408072 <nl> theta : - 1 . 8139236739558451 <nl> kappa : 0 . 000877077189998307 <nl> - s : 26 . 377126059543432 <nl> + s : 26 . 377126059543404 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 11 . 851782309593611 <nl> - a : 0 . 24725526647199239 <nl> + v : 11 . 851782309593586 <nl> + a : 0 . 24725526647198115 <nl> relative_time : 2 . 3 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587318 . 666226111 <nl> y : 4141180 . 0439338544 <nl> - theta : - 1 . 8134033582919113 <nl> - kappa : 0 . 00087882450404988468 <nl> - s : 26 . 970021819543341 <nl> + theta : - 1 . 8134033582919116 <nl> + kappa : 0 . 000878824504049885 <nl> + s : 26 . 970021819543309 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 11 . 863999679918198 <nl> - a : 0 . 24144607094527343 <nl> + v : 11 . 863999679918173 <nl> + a : 0 . 24144607094526277 <nl> relative_time : 2 . 3499999999999996 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587318 . 52387725061 <nl> y : 4141179 . 467758256 <nl> theta : - 1 . 8128833038149852 <nl> - kappa : 0 . 00087335847894206816 <nl> - s : 27 . 56352120326757 <nl> + kappa : 0 . 00087335847894206859 <nl> + s : 27 . 563521203267534 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 11 . 875927600444625 <nl> - a : 0 . 23567790080777623 <nl> + v : 11 . 8759276004446 <nl> + a : 0 . 2356779008077661 <nl> relative_time : 2 . 3999999999999995 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587318 . 38158365712 <nl> - y : 4141178 . 8909621737 <nl> + y : 4141178 . 8909621742 <nl> theta : - 1 . 8123670693903906 <nl> - kappa : 0 . 00086358866340572433 <nl> - s : 28 . 157609791073597 <nl> + kappa : 0 . 00086358866340572509 <nl> + s : 28 . 157609791073568 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 11 . 887568216381688 <nl> - a : 0 . 22995451363294314 <nl> + v : 11 . 887568216381661 <nl> + a : 0 . 22995451363293357 <nl> relative_time : 2 . 4499999999999993 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587318 . 239456208 <nl> y : 4141178 . 3135330025 <nl> theta : - 1 . 8118570375533212 <nl> - kappa : 0 . 0008471658684597621 <nl> - s : 28 . 752273275276323 <nl> + kappa : 0 . 00084716586845976307 <nl> + s : 28 . 752273275276288 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 11 . 898923860816854 <nl> - a : 0 . 22427966699421661 <nl> + v : 11 . 898923860816828 <nl> + a : 0 . 22427966699420754 <nl> relative_time : 2 . 4999999999999991 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587318 . 09754197346 <nl> y : 4141177 . 7354740603 <nl> theta : - 1 . 8113616666243455 <nl> - kappa : 0 . 00082412882353365352 <nl> - s : 29 . 34749746954197 <nl> + kappa : 0 . 00082412882353365483 <nl> + s : 29 . 347497469541938 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 11 . 909997054716268 <nl> - a : 0 . 21865711846503902 <nl> + v : 11 . 909997054716241 <nl> + a : 0 . 21865711846503039 <nl> relative_time : 2 . 5499999999999989 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587317 . 95565432671 <nl> - y : 4141177 . 15684569 <nl> + x : 587317 . 95565432659 <nl> + y : 4141177 . 1568456898 <nl> theta : - 1 . 8108730696165707 <nl> - kappa : 0 . 00079814397775726856 <nl> - s : 29 . 943268318282051 <nl> + kappa : 0 . 0007981439777572704 <nl> + s : 29 . 943268318282016 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 11 . 920790506924741 <nl> - a : 0 . 21309062561885278 <nl> + v : 11 . 920790506924714 <nl> + a : 0 . 21309062561884454 <nl> relative_time : 2 . 5999999999999988 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587317 . 81408121868 <nl> y : 4141176 . 5775918392 <nl> theta : - 1 . 8104122515834968 <nl> - kappa : 0 . 00076503744499334782 <nl> - s : 30 . 539571906047275 <nl> + kappa : 0 . 00076503744499335 <nl> + s : 30 . 539571906047236 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 11 . 93130711416576 <nl> - a : 0 . 2075839460291003 <nl> + v : 11 . 931307114165733 <nl> + a : 0 . 20758394602909236 <nl> relative_time : 2 . 6499999999999986 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587317 . 67254416249 <nl> y : 4141175 . 9977949909 <nl> - theta : - 1 . 8099643603405464 <nl> - kappa : 0 . 00072984375549238392 <nl> - s : 31 . 136394466921494 <nl> + theta : - 1 . 8099643603405466 <nl> + kappa : 0 . 00072984375549238652 <nl> + s : 31 . 136394466921452 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 11 . 941549961041483 <nl> - a : 0 . 202140837269224 <nl> + v : 11 . 941549961041455 <nl> + a : 0 . 20214083726921625 <nl> relative_time : 2 . 6999999999999984 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587317 . 53115941386 <nl> y : 4141175 . 4174407842 <nl> theta : - 1 . 8095388646850026 <nl> - kappa : 0 . 00069110292660007149 <nl> - s : 31 . 733722393915635 <nl> + kappa : 0 . 00069110292660007431 <nl> + s : 31 . 733722393915592 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 11 . 951522320032739 <nl> - a : 0 . 19676505691266627 <nl> + v : 11 . 95152232003271 <nl> + a : 0 . 19676505691265861 <nl> relative_time : 2 . 7499999999999982 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587317 . 38993214944 <nl> - y : 4141174 . 8365419945 <nl> + x : 587317 . 38993214932 <nl> + y : 4141174 . 836541994 <nl> theta : - 1 . 8091413167047368 <nl> - kappa : 0 . 00064980993771583911 <nl> - s : 32 . 331542248361636 <nl> + kappa : 0 . 00064980993771584215 <nl> + s : 32 . 331542248361593 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 11 . 961227651499028 <nl> - a : 0 . 19146036253286949 <nl> + v : 11 . 961227651499 <nl> + a : 0 . 19146036253286181 <nl> relative_time : 2 . 799999999999998 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587317 . 24872091692 <nl> - y : 4141174 . 2551466865 <nl> + x : 587317 . 2487209168 <nl> + y : 4141174 . 2551466869 <nl> theta : - 1 . 8087570186608222 <nl> - kappa : 0 . 00060731351676812564 <nl> - s : 32 . 929840769306374 <nl> + kappa : 0 . 00060731351676812889 <nl> + s : 32 . 929840769306331 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 11 . 970669603678529 <nl> - a : 0 . 18623051170327612 <nl> + v : 11 . 970669603678498 <nl> + a : 0 . 18623051170326826 <nl> relative_time : 2 . 8499999999999979 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587317 . 10774360585 <nl> y : 4141173 . 6732155383 <nl> theta : - 1 . 8084148409878338 <nl> - kappa : 0 . 00056214650608337228 <nl> - s : 33 . 528604882905611 <nl> + kappa : 0 . 00056214650608337553 <nl> + s : 33 . 528604882905569 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 11 . 979852012688083 <nl> - a : 0 . 18107926199732852 <nl> + v : 11 . 979852012688054 <nl> + a : 0 . 18107926199732036 <nl> relative_time : 2 . 8999999999999977 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587316 . 96677249926 <nl> y : 4141173 . 0908171078 <nl> theta : - 1 . 8080896016672503 <nl> - kappa : 0 . 00051540355180269381 <nl> - s : 34 . 1278217118179 <nl> + kappa : 0 . 00051540355180269858 <nl> + s : 34 . 127821711817845 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 11 . 988778902523213 <nl> - a : 0 . 17601037098846911 <nl> + v : 11 . 988778902523183 <nl> + a : 0 . 17601037098846045 <nl> relative_time : 2 . 9499999999999975 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587316 . 82589240221 <nl> y : 4141172 . 5079439115 <nl> theta : - 1 . 8077937827397383 <nl> - kappa : 0 . 00046596718692651709 <nl> - s : 34 . 727478584598543 <nl> + kappa : 0 . 00046596718692652056 <nl> + s : 34 . 7274785845985 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 11 . 997454485058105 <nl> - a : 0 . 1710275962501403 <nl> + v : 11 . 997454485058075 <nl> + a : 0 . 17102759625013098 <nl> relative_time : 2 . 9999999999999973 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587316 . 685098217 <nl> - y : 4141171 . 9246101254 <nl> + x : 587316 . 68509821687 <nl> + y : 4141171 . 9246101249 <nl> theta : - 1 . 8075339565183817 <nl> - kappa : 0 . 00041436556446848235 <nl> - s : 35 . 327563015168714 <nl> + kappa : 0 . 00041436556446848604 <nl> + s : 35 . 327563015168671 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 12 . 005881331046668 <nl> - a : 0 . 16605879311673646 <nl> + v : 12 . 005881331046648 <nl> + a : 0 . 16605879311673263 <nl> relative_time : 3 . 0499999999999972 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587316 . 54429399257 <nl> - y : 4141171 . 3408516739 <nl> + y : 4141171 . 3408516734 <nl> theta : - 1 . 8072914374788269 <nl> - kappa : 0 . 00036176618059792113 <nl> - s : 35 . 928062608416155 <nl> + kappa : 0 . 00036176618059792493 <nl> + s : 35 . 928062608416113 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 12 . 014061619927636 <nl> - a : 0 . 16116532345521889 <nl> + v : 12 . 014061619927617 <nl> + a : 0 . 16116532345521517 <nl> relative_time : 3 . 099999999999997 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587316 . 40359609248 <nl> y : 4141170 . 7566531263 <nl> - theta : - 1 . 8070992683269766 <nl> - kappa : 0 . 000307653379629487 <nl> - s : 36 . 528965130681094 <nl> + theta : - 1 . 8070992683269769 <nl> + kappa : 0 . 00030765337962949089 <nl> + s : 36 . 528965130681051 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 12 . 02199912010097 <nl> - a : 0 . 15634725632054139 <nl> + v : 12 . 021999120100951 <nl> + a : 0 . 15634725632053778 <nl> relative_time : 3 . 1499999999999968 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587316 . 26286874153 <nl> y : 4141170 . 1720596212 <nl> theta : - 1 . 806927990671114 <nl> - kappa : 0 . 00025345564681849138 <nl> - s : 37 . 130258536810082 <nl> + kappa : 0 . 00025345564681849523 <nl> + s : 37 . 13025853681004 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 12 . 029697603419386 <nl> - a : 0 . 1516046607676623 <nl> + v : 12 . 029697603419367 <nl> + a : 0 . 1516046607676588 <nl> relative_time : 3 . 1999999999999966 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587316 . 12215250765 <nl> y : 4141169 . 5870735887 <nl> theta : - 1 . 806790403772196 <nl> - kappa : 0 . 00019914377169647515 <nl> - s : 37 . 731930970328619 <nl> + kappa : 0 . 000199143771696479 <nl> + s : 37 . 731930970328577 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 12 . 03716084518835 <nl> - a : 0 . 14693760585153995 <nl> + v : 12 . 037160845188328 <nl> + a : 0 . 14693760585153659 <nl> relative_time : 3 . 2499999999999964 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587315 . 98142753658 <nl> + x : 587315 . 98142753646 <nl> y : 4141169 . 0017118258 <nl> theta : - 1 . 8066912823642849 <nl> - kappa : 0 . 00014570885465681261 <nl> - s : 38 . 333970763613806 <nl> + kappa : 0 . 00014570885465681633 <nl> + s : 38 . 333970763613763 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 12 . 044392624166068 <nl> - a : 0 . 14234616062713265 <nl> + v : 12 . 044392624166049 <nl> + a : 0 . 14234616062712943 <nl> relative_time : 3 . 2999999999999963 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587315 . 84065253637 <nl> + x : 587315 . 84065253625 <nl> y : 4141168 . 4159960696 <nl> - theta : - 1 . 8066103242336742 <nl> - kappa : 9 . 2774076281974189e - 05 <nl> - s : 38 . 936366438066969 <nl> + theta : - 1 . 8066103242336744 <nl> + kappa : 9 . 2774076281978364e - 05 <nl> + s : 38 . 936366438066919 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 12 . 051396722563506 <nl> - a : 0 . 13783039414939874 <nl> + v : 12 . 051396722563485 <nl> + a : 0 . 13783039414939569 <nl> relative_time : 3 . 3499999999999961 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587315 . 69985025981 <nl> - y : 4141167 . 8299324657 <nl> + y : 4141167 . 8299324652 <nl> theta : - 1 . 806577981634214 <nl> - kappa : 4 . 23067595408657e - 05 <nl> - s : 39 . 5391067042863 <nl> + kappa : 4 . 2306759540870463e - 05 <nl> + s : 39 . 53910670428624 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 12 . 05817692604437 <nl> - a : 0 . 13339037547329657 <nl> + v : 12 . 058176926044348 <nl> + a : 0 . 13339037547329369 <nl> relative_time : 3 . 3999999999999959 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587315 . 5589732104 <nl> - y : 4141167 . 2435438456 <nl> + y : 4141167 . 2435438447 <nl> theta : - 1 . 806565585490113 <nl> - kappa : - 6 . 52473236143135e - 06 <nl> - s : 40 . 14218046223948 <nl> + kappa : - 6 . 5247323614275131e - 06 <nl> + s : 40 . 14218046223943 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 12 . 064737023725113 <nl> - a : 0 . 12902617365378444 <nl> + v : 12 . 064737023725092 <nl> + a : 0 . 12902617365378172 <nl> relative_time : 3 . 4499999999999957 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587315 . 41802521015 <nl> - y : 4141166 . 65684051 <nl> - theta : - 1 . 8065812532462084 <nl> - kappa : - 5 . 3043059729419714e - 05 <nl> - s : 40 . 745576801436371 <nl> + x : 587315 . 41802521 <nl> + y : 4141166 . 6568405097 <nl> + theta : - 1 . 8065812532462087 <nl> + kappa : - 5 . 3043059729415336e - 05 <nl> + s : 40 . 745576801436314 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 12 . 071080808174941 <nl> - a : 0 . 12473785774582069 <nl> + v : 12 . 071080808174919 <nl> + a : 0 . 12473785774581814 <nl> relative_time : 3 . 4999999999999956 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587315 . 27697596862 <nl> - y : 4141166 . 0698407646 <nl> + y : 4141166 . 0698407637 <nl> theta : - 1 . 8066306163984633 <nl> - kappa : - 9 . 54018426527257e - 05 <nl> - s : 41 . 34928500110157 <nl> + kappa : - 9 . 5401842652721827e - 05 <nl> + s : 41 . 349285001101514 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 12 . 077212075415803 <nl> - a : 0 . 12052549680436367 <nl> + v : 12 . 077212075415781 <nl> + a : 0 . 12052549680436128 <nl> relative_time : 3 . 5499999999999954 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587315 . 13583899068 <nl> - y : 4141165 . 482552194 <nl> + x : 587315 . 1358389908 <nl> + y : 4141165 . 4825521945 <nl> theta : - 1 . 8066946487568687 <nl> - kappa : - 0 . 00013572122126849181 <nl> - s : 41 . 953294530347122 <nl> + kappa : - 0 . 00013572122126848858 <nl> + s : 41 . 953294530347065 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 12 . 083134624922401 <nl> - a : 0 . 11638915988437167 <nl> + v : 12 . 08313462492238 <nl> + a : 0 . 11638915988436949 <nl> relative_time : 3 . 5999999999999952 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587314 . 99456615909 <nl> y : 4141164 . 8949970026 <nl> - theta : - 1 . 8067919758580271 <nl> - kappa : - 0 . 0001699992848181572 <nl> - s : 42 . 557595048345107 <nl> + theta : - 1 . 8067919758580273 <nl> + kappa : - 0 . 00016999928481815398 <nl> + s : 42 . 55759504834505 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 12 . 088852259622181 <nl> - a : 0 . 11232891604080306 <nl> + v : 12 . 088852259622159 <nl> + a : 0 . 11232891604080103 <nl> relative_time : 3 . 649999999999995 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587314 . 85317678086 <nl> - y : 4141164 . 307180997 <nl> + y : 4141164 . 3071809965 <nl> theta : - 1 . 8069033361435405 <nl> - kappa : - 0 . 00020042514334630694 <nl> - s : 43 . 162176404500308 <nl> + kappa : - 0 . 00020042514334630451 <nl> + s : 43 . 162176404500251 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 12 . 094368785895337 <nl> - a : 0 . 10834483432861612 <nl> + v : 12 . 094368785895316 <nl> + a : 0 . 1083448343286143 <nl> relative_time : 3 . 6999999999999948 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587314 . 71166460216 <nl> - y : 4141163 . 719115925 <nl> + y : 4141163 . 7191159255 <nl> theta : - 1 . 8070310868867139 <nl> - kappa : - 0 . 000226345923874124 <nl> - s : 43 . 767028638622826 <nl> + kappa : - 0 . 00022634592387412122 <nl> + s : 43 . 767028638622762 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 12 . 099688013574815 <nl> - a : 0 . 10443698380276924 <nl> + v : 12 . 099688013574793 <nl> + a : 0 . 1044369838027676 <nl> relative_time : 3 . 7499999999999947 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587314 . 56998217781 <nl> - y : 4141163 . 1308232727 <nl> + y : 4141163 . 1308232732 <nl> theta : - 1 . 8071759456845837 <nl> - kappa : - 0 . 00024430324480583112 <nl> - s : 44 . 372141981100732 <nl> + kappa : - 0 . 0002443032448058296 <nl> + s : 44 . 372141981100675 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 12 . 104813755946303 <nl> - a : 0 . 1006054335182207 <nl> + v : 12 . 104813755946282 <nl> + a : 0 . 10060543351821927 <nl> relative_time : 3 . 7999999999999945 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587314 . 42819082446 <nl> y : 4141162 . 5422981358 <nl> theta : - 1 . 8073264967280072 <nl> - kappa : - 0 . 00025837734434901291 <nl> - s : 44 . 977506853072704 <nl> + kappa : - 0 . 00025837734434901258 <nl> + s : 44 . 977506853072647 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 12 . 109749829748241 <nl> - a : 0 . 096850252529928849 <nl> + v : 12 . 109749829748219 <nl> + a : 0 . 0968502525299276 <nl> relative_time : 3 . 8499999999999943 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587314 . 28621681221 <nl> y : 4141161 . 9535679473 <nl> theta : - 1 . 8074856979949652 <nl> - kappa : - 0 . 00026206234982326451 <nl> - s : 45 . 583113866600662 <nl> + kappa : - 0 . 00026206234982326408 <nl> + s : 45 . 5831138666006 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 12 . 114500055171815 <nl> - a : 0 . 093171509892852028 <nl> + v : 12 . 114500055171794 <nl> + a : 0 . 093171509892850973 <nl> relative_time : 3 . 8999999999999941 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587314 . 14410863654 <nl> y : 4141161 . 3646305017 <nl> theta : - 1 . 8076430939773864 <nl> - kappa : - 0 . 000258384903172096 <nl> - s : 46 . 188953824842393 <nl> + kappa : - 0 . 00025838490317209713 <nl> + s : 46 . 188953824842329 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 12 . 119068255860963 <nl> - a : 0 . 089569274661948556 <nl> + v : 12 . 11906825586094 <nl> + a : 0 . 089569274661947682 <nl> relative_time : 3 . 949999999999994 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587314 . 00187390379 <nl> - y : 4141160 . 7754932269 <nl> + y : 4141160 . 7754932265 <nl> theta : - 1 . 8077988112429835 <nl> - kappa : - 0 . 00024785362229954303 <nl> - s : 46 . 7950177222242 <nl> + kappa : - 0 . 000247853622299544 <nl> + s : 46 . 795017722224145 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 12 . 123458258912363 <nl> - a : 0 . 086043615892176753 <nl> + v : 12 . 123458258912342 <nl> + a : 0 . 086043615892176073 <nl> relative_time : 3 . 9999999999999938 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587313 . 85946302349 <nl> y : 4141160 . 1861771895 <nl> theta : - 1 . 8079403267946559 <nl> - kappa : - 0 . 00022756807528796208 <nl> - s : 47 . 401296744613568 <nl> + kappa : - 0 . 00022756807528796438 <nl> + s : 47 . 401296744613504 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 12 . 127673894875448 <nl> - a : 0 . 082594602638494954 <nl> + v : 12 . 127673894875427 <nl> + a : 0 . 082594602638494469 <nl> relative_time : 4 . 0499999999999936 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587313 . 716957157 <nl> - y : 4141159 . 5966716614 <nl> - theta : - 1 . 8080738908778153 <nl> - kappa : - 0 . 00020401446028218 <nl> - s : 48 . 007782269491727 <nl> + y : 4141159 . 5966716618 <nl> + theta : - 1 . 8080738908778151 <nl> + kappa : - 0 . 00020401446028218349 <nl> + s : 48 . 007782269491656 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 12 . 131718997752397 <nl> - a : 0 . 0792223039558615 <nl> + v : 12 . 131718997752374 <nl> + a : 0 . 079222303955861176 <nl> relative_time : 4 . 0999999999999934 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587313 . 57430946059 <nl> y : 4141159 . 0069966489 <nl> theta : - 1 . 8081874430927096 <nl> - kappa : - 0 . 00017423055749721659 <nl> - s : 48 . 614465866126366 <nl> + kappa : - 0 . 00017423055749722009 <nl> + s : 48 . 614465866126295 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 12 . 135597404998135 <nl> - a : 0 . 07592678889923471 <nl> + v : 12 . 135597404998112 <nl> + a : 0 . 075926788899234557 <nl> relative_time : 4 . 1499999999999932 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587313 . 43156185944 <nl> - y : 4141158 . 4171504998 <nl> + x : 587313 . 43156185932 <nl> + y : 4141158 . 4171504993 <nl> theta : - 1 . 808282094153822 <nl> - kappa : - 0 . 00014142003134557299 <nl> - s : 49 . 221339295744222 <nl> + kappa : - 0 . 00014142003134557667 <nl> + s : 49 . 221339295744158 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 12 . 139312957520335 <nl> + v : 12 . 139312957520314 <nl> a : 0 . 072708126523572933 <nl> relative_time : 4 . 1999999999999931 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587313 . 28873212461 <nl> - y : 4141157 . 8271371932 <nl> + x : 587313 . 28873212449 <nl> + y : 4141157 . 8271371927 <nl> theta : - 1 . 8083632830542691 <nl> - kappa : - 0 . 00010645014656971468 <nl> - s : 49 . 828394511703756 <nl> + kappa : - 0 . 00010645014656971878 <nl> + s : 49 . 828394511703685 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 12 . 142869499679424 <nl> - a : 0 . 069566385883834458 <nl> + v : 12 . 142869499679401 <nl> + a : 0 . 069566385883834639 <nl> relative_time : 4 . 2499999999999929 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587313 . 14580369391 <nl> y : 4141157 . 2369688256 <nl> theta : - 1 . 8084102163239548 <nl> - kappa : - 6 . 9325959986856424e - 05 <nl> - s : 50 . 435623659667741 <nl> + kappa : - 6 . 9325959986860341e - 05 <nl> + s : 50 . 435623659667677 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 12 . 146270879288567 <nl> - a : 0 . 066501636034977649 <nl> + v : 12 . 146270879288545 <nl> + a : 0 . 066501636034977954 <nl> relative_time : 4 . 2999999999999927 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587313 . 002824891 <nl> - y : 4141156 . 6466415809 <nl> + y : 4141156 . 6466415813 <nl> theta : - 1 . 8084439702311648 <nl> - kappa : - 3 . 2178201231285971e - 05 <nl> - s : 51 . 043019077775952 <nl> + kappa : - 3 . 217820123129028e - 05 <nl> + s : 51 . 043019077775881 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 12 . 149520947613686 <nl> - a : 0 . 063513946031960825 <nl> + v : 12 . 149520947613663 <nl> + a : 0 . 0635139460319613 <nl> relative_time : 4 . 3499999999999925 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587312 . 85979083669 <nl> + x : 587312 . 85979083681 <nl> y : 4141156 . 0561643261 <nl> theta : - 1 . 8084518230632318 <nl> - kappa : 4 . 6957615560845939e - 06 <nl> - s : 51 . 650573296817768 <nl> + kappa : 4 . 6957615560802791e - 06 <nl> + s : 51 . 6505732968177 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 12 . 152623559373444 <nl> - a : 0 . 060603384929742307 <nl> + v : 12 . 152623559373422 <nl> + a : 0 . 060603384929742904 <nl> relative_time : 4 . 3999999999999924 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587312 . 71672782628 <nl> - y : 4141155 . 465538179 <nl> + y : 4141155 . 4655381786 <nl> theta : - 1 . 8084360714986274 <nl> - kappa : 3 . 987350150873515e - 05 <nl> - s : 52 . 258279040404815 <nl> + kappa : 3 . 9873501508731139e - 05 <nl> + s : 52 . 258279040404744 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 12 . 155582572739256 <nl> - a : 0 . 057770021783280445 <nl> + v : 12 . 155582572739233 <nl> + a : 0 . 057770021783281153 <nl> relative_time : 4 . 4499999999999922 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587312 . 57363502018 <nl> - y : 4141154 . 8747706311 <nl> + y : 4141154 . 8747706306 <nl> theta : - 1 . 8084074844660563 <nl> - kappa : 7 . 4096946284685677e - 05 <nl> - s : 52 . 866129225143609 <nl> + kappa : 7 . 4096946284682181e - 05 <nl> + s : 52 . 866129225143538 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 12 . 158401849335284 <nl> - a : 0 . 05501392564753356 <nl> + v : 12 . 158401849335261 <nl> + a : 0 . 055013925647534392 <nl> relative_time : 4 . 499999999999992 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587312 . 43055159342 <nl> y : 4141154 . 2838593018 <nl> theta : - 1 . 8083475409346419 <nl> - kappa : 0 . 00010396286250471808 <nl> - s : 53 . 474116943876083 <nl> + kappa : 0 . 00010396286250471425 <nl> + s : 53 . 474116943876005 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 12 . 161084250099711 <nl> - a : 0 . 052295904982231571 <nl> + v : 12 . 161084250099687 <nl> + a : 0 . 052295904982232085 <nl> relative_time : 4 . 5499999999999918 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587312 . 28746473626 <nl> y : 4141153 . 6928142691 <nl> theta : - 1 . 8082773855695586 <nl> - kappa : 0 . 00013150561145590113 <nl> - s : 54 . 082235419389946 <nl> + kappa : 0 . 00013150561145589782 <nl> + s : 54 . 08223541938986 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 12 . 163632801347763 <nl> - a : 0 . 049659575172227792 <nl> + v : 12 . 16363280134774 <nl> + a : 0 . 049659575172228215 <nl> relative_time : 4 . 5999999999999917 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587312 . 14439394558 <nl> - y : 4141153 . 1016375963 <nl> + y : 4141153 . 1016375958 <nl> theta : - 1 . 8081903250841198 <nl> - kappa : 0 . 00015519587451827161 <nl> - s : 54 . 690478060398384 <nl> + kappa : 0 . 0001551958745182683 <nl> + s : 54 . 6904780603983 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 12 . 166051532149137 <nl> - a : 0 . 047102717294432765 <nl> + v : 12 . 166051532149114 <nl> + a : 0 . 047102717294433112 <nl> relative_time : 4 . 6499999999999915 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587312 . 00136427232 <nl> y : 4141152 . 5103298044 <nl> - theta : - 1 . 8080886425705582 <nl> - kappa : 0 . 00017340843578216565 <nl> - s : 55 . 298838474294435 <nl> + theta : - 1 . 8080886425705585 <nl> + kappa : 0 . 00017340843578216356 <nl> + s : 55 . 298838474294357 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 12 . 168344360627358 <nl> - a : 0 . 044623112425757026 <nl> + v : 12 . 168344360627335 <nl> + a : 0 . 044623112425757318 <nl> relative_time : 4 . 6999999999999913 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587311 . 85834386421 <nl> y : 4141151 . 918904982 <nl> theta : - 1 . 8079805469329873 <nl> - kappa : 0 . 00018880870380100464 <nl> - s : 55 . 907310461603657 <nl> + kappa : 0 . 00018880870380100359 <nl> + s : 55 . 907310461603572 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 12 . 170515093959812 <nl> - a : 0 . 042218541643111118 <nl> + v : 12 . 170515093959789 <nl> + a : 0 . 042218541643111375 <nl> relative_time : 4 . 7499999999999911 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587311 . 71539942571 <nl> y : 4141151 . 3273531916 <nl> theta : - 1 . 8078615516835976 <nl> - kappa : 0 . 00019629493866363631 <nl> - s : 56 . 515888010436804 <nl> + kappa : 0 . 00019629493866363528 <nl> + s : 56 . 515888010436719 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 12 . 17256742837772 <nl> - a : 0 . 03988678602340559 <nl> + v : 12 . 172567428377697 <nl> + a : 0 . 039886786023405826 <nl> relative_time : 4 . 7999999999999909 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587311 . 57248485636 <nl> - y : 4141150 . 735691587 <nl> + y : 4141150 . 7356915874 <nl> theta : - 1 . 80774126127285 <nl> - kappa : 0 . 00019943135512482654 <nl> - s : 57 . 12456529094257 <nl> + kappa : 0 . 00019943135512482681 <nl> + s : 57 . 124565290942485 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 12 . 174504949166151 <nl> - a : 0 . 037625626643550986 <nl> + v : 12 . 174504949166128 <nl> + a : 0 . 037625626643551208 <nl> relative_time : 4 . 8499999999999908 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587311 . 42961097823 <nl> - y : 4141150 . 1439233706 <nl> - theta : - 1 . 8076194495505293 <nl> - kappa : 0 . 00019744275930556762 <nl> - s : 57 . 733336649760211 <nl> + y : 4141150 . 1439233711 <nl> + theta : - 1 . 8076194495505296 <nl> + kappa : 0 . 00019744275930556792 <nl> + s : 57 . 733336649760126 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 12 . 176331130664019 <nl> - a : 0 . 03543284458045784 <nl> + v : 12 . 176331130663998 <nl> + a : 0 . 035432844580458069 <nl> relative_time : 4 . 8999999999999906 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587311 . 28681210487 <nl> - y : 4141149 . 5520459134 <nl> + y : 4141149 . 5520459139 <nl> theta : - 1 . 80750350353585 <nl> - kappa : 0 . 00018696236510208544 <nl> - s : 58 . 342196604472306 <nl> + kappa : 0 . 00018696236510208728 <nl> + s : 58 . 342196604472214 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 12 . 17804933626409 <nl> - a : 0 . 033306220911036709 <nl> + v : 12 . 178049336264067 <nl> + a : 0 . 033306220911036952 <nl> relative_time : 4 . 94999999999999 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587311 . 14403338672 <nl> y : 4141148 . 9600779265 <nl> theta : - 1 . 8073920138753576 <nl> - kappa : 0 . 00017268860677909566 <nl> - s : 58 . 9511398380574 <nl> + kappa : 0 . 00017268860677909913 <nl> + s : 58 . 951139838057308 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 12 . 179662818412966 <nl> - a : 0 . 031243536712198122 <nl> + v : 12 . 179662818412943 <nl> + a : 0 . 031243536712198396 <nl> relative_time : 4 . 99999999999999 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587311 . 00132018176 <nl> y : 4141148 . 3680137815 <nl> theta : - 1 . 8072947356099984 <nl> - kappa : 0 . 00014975969974820457 <nl> - s : 59 . 560161193342722 <nl> + kappa : 0 . 00014975969974820804 <nl> + s : 59 . 56016119334263 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 12 . 181174718611102 <nl> - a : 0 . 029242573060852633 <nl> + v : 12 . 181174718611079 <nl> + a : 0 . 029242573060852949 <nl> relative_time : 5 . 04999999999999 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587310 . 85863461508 <nl> y : 4141147 . 7758677639 <nl> theta : - 1 . 8072130098497308 <nl> - kappa : 0 . 00012085008813029866 <nl> - s : 60 . 169255667456866 <nl> + kappa : 0 . 00012085008813030381 <nl> + s : 60 . 169255667456774 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 12 . 182588067412793 <nl> - a : 0 . 027301111033910776 <nl> + v : 12 . 18258806741277 <nl> + a : 0 . 027301111033911144 <nl> relative_time : 5 . 09999999999999 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587310 . 71597033925 <nl> + x : 587310 . 71597033914 <nl> y : 4141147 . 1836463977 <nl> theta : - 1 . 8071442353302252 <nl> - kappa : 8 . 6959355979299632e - 05 <nl> - s : 60 . 7784184062825 <nl> + kappa : 8 . 6959355979304768e - 05 <nl> + s : 60 . 778418406282405 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 12 . 183905784426182 <nl> - a : 0 . 0254169317082831 <nl> + v : 12 . 183905784426159 <nl> + a : 0 . 025416931708283529 <nl> relative_time : 5 . 14999999999999 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587310 . 57333504141 <nl> y : 4141146 . 5913526807 <nl> theta : - 1 . 8071108551683788 <nl> - kappa : 4 . 3273513195503106e - 05 <nl> - s : 61 . 387644698909014 <nl> + kappa : 4 . 3273513195509875e - 05 <nl> + s : 61 . 387644698908922 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 12 . 185130678313257 <nl> - a : 0 . 023587816160880147 <nl> + v : 12 . 185130678313234 <nl> + a : 0 . 023587816160880647 <nl> relative_time : 5 . 1999999999999895 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587310 . 43069187074 <nl> y : 4141145 . 9990001926 <nl> theta : - 1 . 8070946447832152 <nl> - kappa : - 4 . 2834761896325554e - 06 <nl> - s : 61 . 996929972085276 <nl> + kappa : - 4 . 2834761896241748e - 06 <nl> + s : 61 . 996929972085184 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 12 . 186265446789855 <nl> - a : 0 . 021811545468612463 <nl> + v : 12 . 186265446789832 <nl> + a : 0 . 021811545468613039 <nl> relative_time : 5 . 2499999999999893 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587310 . 28804000223 <nl> y : 4141145 . 4065937009 <nl> theta : - 1 . 8071149252668264 <nl> - kappa : - 5 . 9570178580068465e - 05 <nl> - s : 62 . 606269784672286 <nl> + kappa : - 5 . 9570178580060089e - 05 <nl> + s : 62 . 606269784672193 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 12 . 187312676625654 <nl> - a : 0 . 020085900708390579 <nl> + v : 12 . 187312676625631 <nl> + a : 0 . 020085900708391245 <nl> relative_time : 5 . 2999999999999892 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587310 . 14534598636 <nl> - y : 4141144 . 8141456991 <nl> + y : 4141144 . 8141456987 <nl> theta : - 1 . 8071731915513412 <nl> - kappa : - 0 . 00012038586579435115 <nl> - s : 63 . 215659822095859 <nl> + kappa : - 0 . 00012038586579434069 <nl> + s : 63 . 215659822095759 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 12 . 188274843644177 <nl> - a : 0 . 018408662957125052 <nl> + v : 12 . 188274843644153 <nl> + a : 0 . 018408662957125815 <nl> relative_time : 5 . 349999999999989 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587310 . 00262372126 <nl> y : 4141144 . 2216571532 <nl> theta : - 1 . 8072532990421775 <nl> - kappa : - 0 . 00018438210097435783 <nl> - s : 63 . 825095890799332 <nl> + kappa : - 0 . 0001843821009743481 <nl> + s : 63 . 82509589079924 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 12 . 189154312722797 <nl> - a : 0 . 016777613291726425 <nl> + v : 12 . 189154312722774 <nl> + a : 0 . 016777613291727285 <nl> relative_time : 5 . 3999999999999888 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587309 . 85978338157 <nl> y : 4141143 . 6291539073 <nl> theta : - 1 . 8073953379111907 <nl> - kappa : - 0 . 00024213170572715524 <nl> - s : 64 . 4345739126963 <nl> + kappa : - 0 . 00024213170572714586 <nl> + s : 64 . 4345739126962 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 12 . 189953337792728 <nl> - a : 0 . 015190532789105232 <nl> + v : 12 . 189953337792707 <nl> + a : 0 . 015190532789106197 <nl> relative_time : 5 . 4499999999999886 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587309 . 71687455045 <nl> y : 4141143 . 0366281085 <nl> - theta : - 1 . 8075565222951469 <nl> - kappa : - 0 . 00029633024492204351 <nl> - s : 65 . 04408991962319 <nl> + theta : - 1 . 8075565222951466 <nl> + kappa : - 0 . 00029633024492203456 <nl> + s : 65 . 044089919623076 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 12 . 190674061839035 <nl> - a : 0 . 013645202526172025 <nl> + v : 12 . 190674061839013 <nl> + a : 0 . 013645202526173093 <nl> relative_time : 5 . 4999999999999885 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587309 . 57385311183 <nl> - y : 4141142 . 4440943738 <nl> + y : 4141142 . 4440943734 <nl> theta : - 1 . 8077512401549518 <nl> - kappa : - 0 . 00034429115895446617 <nl> - s : 65 . 653640047792081 <nl> + kappa : - 0 . 00034429115895445836 <nl> + s : 65 . 653640047791981 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 12 . 191318516900623 <nl> - a : 0 . 012139403579837338 <nl> + v : 12 . 1913185169006 <nl> + a : 0 . 012139403579838517 <nl> relative_time : 5 . 5499999999999883 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587309 . 43067184812 <nl> - y : 4141141 . 8515680167 <nl> + y : 4141141 . 8515680172 <nl> theta : - 1 . 8079774836286657 <nl> - kappa : - 0 . 00038597517778561819 <nl> - s : 66 . 263220532243338 <nl> + kappa : - 0 . 0003859751777856118 <nl> + s : 66 . 263220532243238 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 12 . 191888624070245 <nl> - a : 0 . 010670917027011721 <nl> + v : 12 . 191888624070222 <nl> + a : 0 . 010670917027013012 <nl> relative_time : 5 . 5999999999999881 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587309 . 287404255 <nl> - y : 4141141 . 2590350704 <nl> + y : 4141141 . 2590350709 <nl> theta : - 1 . 8082188169151019 <nl> - kappa : - 0 . 00042461297069397121 <nl> - s : 66 . 87282770129832 <nl> + kappa : - 0 . 0004246129706939653 <nl> + s : 66 . 8728277012982 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 12 . 192386193494498 <nl> - a : 0 . 0092375239446057036 <nl> + v : 12 . 192386193494475 <nl> + a : 0 . 00923752394460712 <nl> relative_time : 5 . 6499999999999879 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587309 . 14390453685 <nl> y : 4141140 . 6665345253 <nl> theta : - 1 . 8084923957130097 <nl> - kappa : - 0 . 00045639095776040407 <nl> - s : 67 . 48245797101201 <nl> + kappa : - 0 . 00045639095776039886 <nl> + s : 67 . 482457971011911 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 12 . 192812924373827 <nl> - a : 0 . 0078370054095298555 <nl> + v : 12 . 192812924373804 <nl> + a : 0 . 007837005409531389 <nl> relative_time : 5 . 6999999999999877 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587309 . 00027372839 <nl> + x : 587309 . 00027372851 <nl> y : 4141140 . 0740455948 <nl> theta : - 1 . 8087788322716014 <nl> - kappa : - 0 . 00048522246200129269 <nl> - s : 68 . 092107839625811 <nl> + kappa : - 0 . 00048522246200128857 <nl> + s : 68 . 092107839625712 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 12 . 193170404962521 <nl> - a : 0 . 0064671424986946988 <nl> + v : 12 . 1931704049625 <nl> + a : 0 . 0064671424986963572 <nl> relative_time : 5 . 7499999999999876 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587308 . 85648725741 <nl> + x : 587308 . 85648725752 <nl> y : 4141139 . 481577761 <nl> theta : - 1 . 8090807033087855 <nl> - kappa : - 0 . 00051051586558289769 <nl> - s : 68 . 701773882020191 <nl> + kappa : - 0 . 00051051586558289292 <nl> + s : 68 . 701773882020078 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 12 . 193460112568715 <nl> - a : 0 . 005125716289010783 <nl> + v : 12 . 193460112568694 <nl> + a : 0 . 0051257162890125663 <nl> relative_time : 5 . 7999999999999874 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587308 . 71244772826 <nl> y : 4141138 . 8891582182 <nl> theta : - 1 . 8094009732934404 <nl> - kappa : - 0 . 00053121720162697906 <nl> - s : 69 . 311452744167312 <nl> + kappa : - 0 . 00053121720162697581 <nl> + s : 69 . 311452744167212 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 12 . 193683413554391 <nl> - a : 0 . 0038105078573886439 <nl> + v : 12 . 193683413554368 <nl> + a : 0 . 0038105078573905452 <nl> relative_time : 5 . 8499999999999872 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587308 . 5682918696 <nl> y : 4141138 . 2967571644 <nl> theta : - 1 . 8097284522529939 <nl> - kappa : - 0 . 000550042517354852 <nl> - s : 69 . 921141137583845 <nl> + kappa : - 0 . 00055004251735484933 <nl> + s : 69 . 921141137583732 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 12 . 19384156333537 <nl> - a : 0 . 0025192982807388381 <nl> + v : 12 . 193841563335349 <nl> + a : 0 . 0025192982807408573 <nl> relative_time : 5 . 899999999999987 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587308 . 42387237982 <nl> y : 4141137 . 7044138233 <nl> theta : - 1 . 810069912908467 <nl> - kappa : - 0 . 000565031377915783 <nl> - s : 70 . 53083583378357 <nl> + kappa : - 0 . 00056503137791578018 <nl> + s : 70 . 530835833783456 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 12 . 193935706381328 <nl> - a : 0 . 0012498686359719152 <nl> + v : 12 . 193935706381307 <nl> + a : 0 . 0012498686359740316 <nl> relative_time : 5 . 9499999999999869 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587308 . 27926603938 <nl> - y : 4141137 . 1121128751 <nl> - theta : - 1 . 8104184947862731 <nl> - kappa : - 0 . 00057784566762033858 <nl> - s : 71 . 140533658730078 <nl> + y : 4141137 . 1121128742 <nl> + theta : - 1 . 8104184947862729 <nl> + kappa : - 0 . 00057784566762033673 <nl> + s : 71 . 140533658729979 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 12 . 19396687621578 <nl> - a : - 1 . 6167622796103842e - 15 <nl> + v : 12 . 193966876215759 <nl> + a : 6 . 106226635438361e - 16 <nl> relative_time : 5 . 9999999999999867 <nl> } <nl> decision { <nl> mmm a / modules / planning / testdata / sunnyvale_loop_test / result_rightturn_01_0 . pb . txt <nl> ppp b / modules / planning / testdata / sunnyvale_loop_test / result_rightturn_01_0 . pb . txt <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 5 . 4422176706462562 <nl> - a : - 0 . 089844636487956653 <nl> + a : - 0 . 089844636487956736 <nl> relative_time : 0 . 05 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 5 . 44082672523215 <nl> - a : 0 . 032355115518899469 <nl> + a : 0 . 032355115518899247 <nl> relative_time : 0 . 1 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 5 . 4452714617013678 <nl> - a : 0 . 14365163771908707 <nl> + a : 0 . 14365163771908684 <nl> relative_time : 0 . 15000000000000002 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 5 . 4550170683946941 <nl> - a : 0 . 24445892335736769 <nl> + a : 0 . 24445892335736724 <nl> relative_time : 0 . 2 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 5 . 4695494333151524 <nl> - a : 0 . 33519096567850276 <nl> + a : 0 . 33519096567850232 <nl> relative_time : 0 . 25 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 4883751441280051 <nl> - a : 0 . 416261757927254 <nl> + v : 5 . 4883751441280042 <nl> + a : 0 . 41626175792725356 <nl> relative_time : 0 . 3 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 5 . 51102148816075 <nl> - a : 0 . 48808529334838296 <nl> + a : 0 . 48808529334838241 <nl> relative_time : 0 . 35 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587697 . 24331717228 <nl> y : 4141446 . 4276552792 <nl> - theta : - 0 . 22973230409799722 <nl> + theta : - 0 . 22973230409799719 <nl> kappa : - 0 . 0088320855624900614 <nl> - s : 2 . 1871285265419518 <nl> + s : 2 . 1871285265419513 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 5 . 5370364524031288 <nl> - a : 0 . 55107556518665124 <nl> + a : 0 . 55107556518665057 <nl> relative_time : 0 . 39999999999999997 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 5659887235071146 <nl> - a : 0 . 60564656668682 <nl> + v : 5 . 5659887235071137 <nl> + a : 0 . 60564656668681938 <nl> relative_time : 0 . 44999999999999996 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 5 . 5974676877869216 <nl> - a : 0 . 65221229109365142 <nl> + a : 0 . 65221229109365075 <nl> relative_time : 0 . 49999999999999994 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 5 . 631083431219003 <nl> - a : 0 . 69118673165190669 <nl> + a : 0 . 69118673165190581 <nl> relative_time : 0 . 54999999999999993 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 5 . 6664667394420487 <nl> - a : 0 . 72298388160634719 <nl> + a : 0 . 7229838816063463 <nl> relative_time : 0 . 6 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 5 . 7032690977569871 <nl> - a : 0 . 74801773420173512 <nl> + a : 0 . 748017734201734 <nl> relative_time : 0 . 65 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 5 . 7411626911269842 <nl> - a : 0 . 76670228268283114 <nl> + a : 0 . 76670228268283025 <nl> relative_time : 0 . 70000000000000007 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 5 . 7798404041774445 <nl> - a : 0 . 77945152029439746 <nl> + a : 0 . 77945152029439635 <nl> relative_time : 0 . 75000000000000011 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 5 . 819015821196011 <nl> - a : 0 . 78667944028119519 <nl> + a : 0 . 7866794402811943 <nl> relative_time : 0 . 80000000000000016 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 8584232261325644 <nl> - a : 0 . 78880003588798675 <nl> + v : 5 . 8584232261325635 <nl> + a : 0 . 78880003588798564 <nl> relative_time : 0 . 8500000000000002 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587700 . 0119447934 <nl> + x : 587700 . 01194479328 <nl> y : 4141445 . 7355846665 <nl> - theta : - 0 . 26427777186663709 <nl> + theta : - 0 . 2642777718666372 <nl> kappa : - 0 . 016618398481826394 <nl> - s : 5 . 0410867934642045 <nl> + s : 5 . 0410867934642036 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 8978176025992228 <nl> - a : 0 . 78622730035953237 <nl> + v : 5 . 8978176025992219 <nl> + a : 0 . 78622730035953148 <nl> relative_time : 0 . 90000000000000024 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 5 . 9369746338703431 <nl> - a : 0 . 77937522694059469 <nl> + v : 5 . 9369746338703422 <nl> + a : 0 . 77937522694059358 <nl> relative_time : 0 . 95000000000000029 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587700 . 58378751413 <nl> - y : 4141445 . 576010732 <nl> + y : 4141445 . 5760107324 <nl> theta : - 0 . 27525452387922561 <nl> - kappa : - 0 . 019219487475716161 <nl> - s : 5 . 6347768959804432 <nl> + kappa : - 0 . 019219487475716158 <nl> + s : 5 . 6347768959804423 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 5 . 9756907028825195 <nl> - a : 0 . 76865780887593482 <nl> + a : 0 . 76865780887593393 <nl> relative_time : 1 . 0000000000000002 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587700 . 87249709188 <nl> + x : 587700 . 872497092 <nl> y : 4141445 . 4954457073 <nl> - theta : - 0 . 28079633300692247 <nl> - kappa : - 0 . 020532714483660269 <nl> - s : 5 . 93451668912282 <nl> + theta : - 0 . 28079633300692253 <nl> + kappa : - 0 . 020532714483660265 <nl> + s : 5 . 9345166891228187 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 6 . 0137828922345866 <nl> - a : 0 . 75448903941031453 <nl> + a : 0 . 75448903941031342 <nl> relative_time : 1 . 0500000000000003 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 051088984187615 <nl> - a : 0 . 7372829117884947 <nl> + v : 6 . 0510889841876141 <nl> + a : 0 . 73728291178849426 <nl> relative_time : 1 . 1000000000000003 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 0874674606649126 <nl> - a : 0 . 71745341925523753 <nl> + v : 6 . 0874674606649117 <nl> + a : 0 . 71745341925523731 <nl> relative_time : 1 . 1500000000000004 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587701 . 74437820259 <nl> y : 4141445 . 2336237011 <nl> theta : - 0 . 30178451240424292 <nl> - kappa : - 0 . 025339238927993168 <nl> - s : 6 . 8448713327492827 <nl> + kappa : - 0 . 025339238927993165 <nl> + s : 6 . 8448713327492818 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 122797503252027 <nl> - a : 0 . 69541455505530481 <nl> + v : 6 . 1227975032520261 <nl> + a : 0 . 69541455505530436 <nl> relative_time : 1 . 2000000000000004 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587702 . 03696014069 <nl> y : 4141445 . 1407342427 <nl> - theta : - 0 . 30993910872946062 <nl> - kappa : - 0 . 027147468682073298 <nl> - s : 7 . 1518707120651914 <nl> + theta : - 0 . 30993910872946057 <nl> + kappa : - 0 . 027147468682073295 <nl> + s : 7 . 1518707120651905 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 1569789931967449 <nl> - a : 0 . 67158031243345762 <nl> + v : 6 . 156978993196744 <nl> + a : 0 . 67158031243345717 <nl> relative_time : 1 . 2500000000000004 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 1899325114090873 <nl> + v : 6 . 1899325114090864 <nl> a : 0 . 64636468463445751 <nl> relative_time : 1 . 3000000000000005 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587702 . 62469465449 <nl> + x : 587702 . 6246946546 <nl> y : 4141444 . 9465842387 <nl> - theta : - 0 . 327987864692467 <nl> - kappa : - 0 . 031069434285290493 <nl> - s : 7 . 77084250685362 <nl> + theta : - 0 . 32798786469246693 <nl> + kappa : - 0 . 031069434285290482 <nl> + s : 7 . 7708425068536187 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 2215993384613171 <nl> + v : 6 . 2215993384613162 <nl> a : 0 . 62018166490306625 <nl> relative_time : 1 . 3500000000000005 <nl> } <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 2519414545879339 <nl> - a : 0 . 593445246484045 <nl> + v : 6 . 2519414545879322 <nl> + a : 0 . 59344524648404562 <nl> relative_time : 1 . 4000000000000006 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587703 . 21389347734 <nl> y : 4141444 . 7377917231 <nl> - theta : - 0 . 34904147331175567 <nl> - kappa : - 0 . 035389604784485246 <nl> - s : 8 . 3960142736287864 <nl> + theta : - 0 . 34904147331175561 <nl> + kappa : - 0 . 035389604784485232 <nl> + s : 8 . 3960142736287846 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 6 . 2809415396856734 <nl> - a : 0 . 56656942262215626 <nl> + a : 0 . 56656942262215693 <nl> relative_time : 1 . 4500000000000006 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587703 . 50941643957 <nl> y : 4141444 . 6294863094 <nl> - theta : - 0 . 36035180230407821 <nl> - kappa : - 0 . 037654727350025896 <nl> - s : 8 . 7107584298154226 <nl> + theta : - 0 . 36035180230407809 <nl> + kappa : - 0 . 037654727350025875 <nl> + s : 8 . 710758429815419 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 6 . 3086029733135129 <nl> - a : 0 . 53996818656215984 <nl> + a : 0 . 53996818656216006 <nl> relative_time : 1 . 5000000000000007 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587703 . 80548578012 <nl> y : 4141444 . 518869441 <nl> - theta : - 0 . 37206433619894913 <nl> - kappa : - 0 . 039910931770377744 <nl> - s : 9 . 0268502787065614 <nl> + theta : - 0 . 37206433619894891 <nl> + kappa : - 0 . 039910931770377731 <nl> + s : 9 . 0268502787065579 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 6 . 3348034397270787 <nl> - a : 0 . 50786526209629912 <nl> + a : 0 . 50786526209629956 <nl> relative_time : 1 . 5500000000000007 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587704 . 09890399734 <nl> y : 4141444 . 397939954 <nl> - theta : - 0 . 38572658770528268 <nl> - kappa : - 0 . 042076765516810083 <nl> - s : 9 . 3442115729188515 <nl> + theta : - 0 . 38572658770528256 <nl> + kappa : - 0 . 042076765516810055 <nl> + s : 9 . 344211572918848 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 6 . 3593720727961234 <nl> - a : 0 . 47471673400922876 <nl> + a : 0 . 47471673400922942 <nl> relative_time : 1 . 6000000000000008 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587704 . 3934192938 <nl> y : 4141444 . 2765583163 <nl> - theta : - 0 . 39944204490951413 <nl> - kappa : - 0 . 04425069723013255 <nl> - s : 9 . 6627594684836122 <nl> + theta : - 0 . 39944204490951396 <nl> + kappa : - 0 . 044250697230132523 <nl> + s : 9 . 6627594684836087 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 6 . 3822598745237755 <nl> - a : 0 . 44065388966856661 <nl> + a : 0 . 4406538896685675 <nl> relative_time : 1 . 6500000000000008 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587704 . 68881648022 <nl> - y : 4141444 . 1544463392 <nl> - theta : - 0 . 41324930334468696 <nl> - kappa : - 0 . 046427007454618238 <nl> - s : 9 . 982408835641527 <nl> + y : 4141444 . 1544463388 <nl> + theta : - 0 . 41324930334468674 <nl> + kappa : - 0 . 046427007454618217 <nl> + s : 9 . 9824088356415235 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 6 . 4034244112815468 <nl> - a : 0 . 40580801644193065 <nl> + a : 0 . 40580801644193165 <nl> relative_time : 1 . 7000000000000008 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587704 . 97934088216 <nl> y : 4141444 . 0187230418 <nl> - theta : - 0 . 42912101201752223 <nl> - kappa : - 0 . 048391472031980277 <nl> - s : 10 . 303072587061063 <nl> + theta : - 0 . 42912101201752212 <nl> + kappa : - 0 . 048391472031980257 <nl> + s : 10 . 30307258706106 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 6 . 4228298138093294 <nl> - a : 0 . 37031040169693874 <nl> + a : 0 . 37031040169693991 <nl> relative_time : 1 . 7500000000000009 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587705 . 27070394775 <nl> y : 4141443 . 8826079494 <nl> - theta : - 0 . 44504282076624269 <nl> - kappa : - 0 . 05036160747533823 <nl> - s : 10 . 624662006056894 <nl> + theta : - 0 . 44504282076624246 <nl> + kappa : - 0 . 050361607475338209 <nl> + s : 10 . 624662006056891 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 4404467772153948 <nl> - a : 0 . 33429233280120885 <nl> + v : 6 . 4404467772153957 <nl> + a : 0 . 33429233280121007 <nl> relative_time : 1 . 8000000000000009 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587705 . 56282411993 <nl> - y : 4141443 . 7461391618 <nl> - theta : - 0 . 461002207416283 <nl> - kappa : - 0 . 052336862313503568 <nl> - s : 10 . 947087074808314 <nl> + y : 4141443 . 7461391622 <nl> + theta : - 0 . 46100220741628273 <nl> + kappa : - 0 . 05233686231350354 <nl> + s : 10 . 94708707480831 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 4562525609763979 <nl> - a : 0 . 29788509712235889 <nl> + v : 6 . 4562525609763988 <nl> + a : 0 . 29788509712236011 <nl> relative_time : 1 . 850000000000001 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587705 . 84867429477 <nl> y : 4141443 . 595451395 <nl> - theta : - 0 . 47870083510477318 <nl> - kappa : - 0 . 054087518359914863 <nl> - s : 11 . 270256802577663 <nl> + theta : - 0 . 47870083510477296 <nl> + kappa : - 0 . 054087518359914849 <nl> + s : 11 . 270256802577659 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 6 . 4702309889373728 <nl> - a : 0 . 26121998202800673 <nl> + a : 0 . 261219982028008 <nl> relative_time : 1 . 900000000000001 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587706 . 1344813169 <nl> y : 4141443 . 4432163127 <nl> - theta : - 0 . 49659441760971657 <nl> - kappa : - 0 . 055821227852197383 <nl> - s : 11 . 594079553928736 <nl> + theta : - 0 . 4965944176097164 <nl> + kappa : - 0 . 055821227852197355 <nl> + s : 11 . 594079553928733 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 6 . 4823724493117343 <nl> - a : 0 . 22442827488577027 <nl> + a : 0 . 22442827488577149 <nl> relative_time : 1 . 9500000000000011 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587706 . 4207835428 <nl> y : 4141443 . 2907174597 <nl> - theta : - 0 . 51451470109428943 <nl> - kappa : - 0 . 057557941257170113 <nl> - s : 11 . 918463376945217 <nl> + theta : - 0 . 51451470109428932 <nl> + kappa : - 0 . 057557941257170092 <nl> + s : 11 . 918463376945214 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 4926738946812783 <nl> - a : 0 . 18764126306326767 <nl> + v : 6 . 4926738946812792 <nl> + a : 0 . 18764126306326884 <nl> relative_time : 2 . 0000000000000009 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587706 . 69973101257 <nl> + x : 587706 . 69973101269 <nl> y : 4141443 . 1243778979 <nl> theta : - 0 . 53379701362155507 <nl> - kappa : - 0 . 059069353580781053 <nl> - s : 12 . 24331633144908 <nl> + kappa : - 0 . 059069353580781046 <nl> + s : 12 . 243316331449078 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 5011388419961831 <nl> - a : 0 . 1509902339281165 <nl> + v : 6 . 501138841996184 <nl> + a : 0 . 15099023392811767 <nl> relative_time : 2 . 0500000000000007 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587706 . 97745567851 <nl> - y : 4141442 . 9551328719 <nl> - theta : - 0 . 55337816083852687 <nl> - kappa : - 0 . 0605371585813458 <nl> - s : 12 . 568546817219026 <nl> + y : 4141442 . 9551328723 <nl> + theta : - 0 . 55337816083852653 <nl> + kappa : - 0 . 060537158581345778 <nl> + s : 12 . 568546817219023 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 5077773725750063 <nl> - a : 0 . 11460647484793485 <nl> + v : 6 . 5077773725750072 <nl> + a : 0 . 11460647484793585 <nl> relative_time : 2 . 1000000000000005 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587707 . 25542508054 <nl> - y : 4141442 . 7857387038 <nl> - theta : - 0 . 57297209187212572 <nl> - kappa : - 0 . 062006257039278638 <nl> - s : 12 . 894063902208888 <nl> + x : 587707 . 25542508066 <nl> + y : 4141442 . 7857387043 <nl> + theta : - 0 . 5729720918721255 <nl> + kappa : - 0 . 062006257039278624 <nl> + s : 12 . 894063902208885 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 5126061321046862 <nl> - a : 0 . 078621273190340568 <nl> + v : 6 . 5126061321046871 <nl> + a : 0 . 078621273190341456 <nl> relative_time : 2 . 1500000000000004 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587707 . 52517665585 <nl> - y : 4141442 . 6033923477 <nl> - theta : - 0 . 59357600314846493 <nl> + x : 587707 . 525176656 <nl> + y : 4141442 . 6033923482 <nl> + theta : - 0 . 59357600314846459 <nl> kappa : - 0 . 06325681730490107 <nl> - s : 13 . 219777650766058 <nl> + s : 13 . 219777650766055 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 5156483306405439 <nl> - a : 0 . 043165916322951525 <nl> + v : 6 . 5156483306405448 <nl> + a : 0 . 043165916322952358 <nl> relative_time : 2 . 2 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587707 . 79240466724 <nl> y : 4141442 . 4169814149 <nl> - theta : - 0 . 61451198791906636 <nl> + theta : - 0 . 61451198791906625 <nl> kappa : - 0 . 064439418126357534 <nl> - s : 13 . 5455994518499 <nl> + s : 13 . 545599451849899 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 5169337426062786 <nl> - a : 0 . 00837169161338569 <nl> + v : 6 . 5169337426062794 <nl> + a : 0 . 0083716916133863561 <nl> relative_time : 2 . 25 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587708 . 05964997935 <nl> - y : 4141442 . 2305584126 <nl> - theta : - 0 . 635445130842851 <nl> - kappa : - 0 . 065622095511616255 <nl> - s : 13 . 871442347250179 <nl> + y : 4141442 . 2305584131 <nl> + theta : - 0 . 63544513084285081 <nl> + kappa : - 0 . 065622095511616241 <nl> + s : 13 . 871442347250175 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 516498706793973 <nl> - a : - 0 . 025630113570739188 <nl> + v : 6 . 5164987067939739 <nl> + a : - 0 . 025630113570738522 <nl> relative_time : 2 . 3 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587708 . 317819485 <nl> y : 4141442 . 0321119055 <nl> - theta : - 0 . 65708931036719231 <nl> + theta : - 0 . 6570893103671922 <nl> kappa : - 0 . 066595663636571018 <nl> - s : 14 . 197221359805464 <nl> + s : 14 . 197221359805461 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 514386126364089 <nl> - a : - 0 . 058708211861804971 <nl> + v : 6 . 51438612636409 <nl> + a : - 0 . 058708211861804527 <nl> relative_time : 2 . 3499999999999996 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587708 . 571918903 <nl> y : 4141441 . 8284700974 <nl> - theta : - 0 . 679055593676265 <nl> + theta : - 0 . 67905559367626478 <nl> kappa : - 0 . 067477266243386472 <nl> - s : 14 . 522853821621567 <nl> + s : 14 . 522853821621565 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 51064546884547 <nl> - a : - 0 . 090731315892193964 <nl> + v : 6 . 5106454688454711 <nl> + a : - 0 . 09073131589219352 <nl> relative_time : 2 . 3999999999999995 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587708 . 82584151393 <nl> y : 4141441 . 6249699872 <nl> - theta : - 0 . 70100319138493039 <nl> - kappa : - 0 . 068358255414645255 <nl> - s : 14 . 848259702289948 <nl> + theta : - 0 . 70100319138493017 <nl> + kappa : - 0 . 068358255414645241 <nl> + s : 14 . 848259702289944 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 5053327661353411 <nl> - a : - 0 . 12156813829428792 <nl> + v : 6 . 5053327661353419 <nl> + a : - 0 . 1215681382942877 <nl> relative_time : 2 . 4499999999999993 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587709 . 07049264968 <nl> - y : 4141441 . 4111431739 <nl> + y : 4141441 . 4111431744 <nl> theta : - 0 . 72337321193393411 <nl> kappa : - 0 . 069054777879067733 <nl> - s : 15 . 173361937106129 <nl> + s : 15 . 173361937106128 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 498510614499307 <nl> - a : - 0 . 15108739170046925 <nl> + v : 6 . 4985106144993079 <nl> + a : - 0 . 15108739170046914 <nl> relative_time : 2 . 4999999999999991 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587709 . 30944318208 <nl> y : 4141441 . 1912594535 <nl> - theta : - 0 . 74600594601816828 <nl> - kappa : - 0 . 069640389023970559 <nl> - s : 15 . 498086755288139 <nl> + theta : - 0 . 74600594601816816 <nl> + kappa : - 0 . 069640389023970545 <nl> + s : 15 . 498086755288135 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 4902481745713532 <nl> - a : - 0 . 17915778874312016 <nl> + v : 6 . 4902481745713541 <nl> + a : - 0 . 17915778874312005 <nl> relative_time : 2 . 5499999999999989 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587709 . 548064371 <nl> - y : 4141440 . 9716787967 <nl> - theta : - 0 . 7686054934023655 <nl> - kappa : - 0 . 070225193026337368 <nl> - s : 15 . 8223640081949 <nl> + y : 4141440 . 9716787962 <nl> + theta : - 0 . 76860549340236528 <nl> + kappa : - 0 . 070225193026337354 <nl> + s : 15 . 822364008194896 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 4806211713538477 <nl> + v : 6 . 4806211713538486 <nl> a : - 0 . 20564804205462228 <nl> relative_time : 2 . 5999999999999988 <nl> } <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 4697118942175376 <nl> - a : - 0 . 23042686426735803 <nl> + v : 6 . 4697118942175385 <nl> + a : - 0 . 23042686426735814 <nl> relative_time : 2 . 6499999999999986 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 4576091969015517 <nl> - a : - 0 . 2533629680137095 <nl> + v : 6 . 4576091969015526 <nl> + a : - 0 . 25336296801370961 <nl> relative_time : 2 . 6999999999999984 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587710 . 22095666814 <nl> y : 4141440 . 2741391528 <nl> - theta : - 0 . 83728009634450007 <nl> + theta : - 0 . 83728009634449985 <nl> kappa : - 0 . 071269855811892824 <nl> - s : 16 . 791870113553415 <nl> + s : 16 . 791870113553411 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 4444084975133995 <nl> + v : 6 . 4444084975134 <nl> a : - 0 . 27432506592605876 <nl> relative_time : 2 . 7499999999999982 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587710 . 4341368404 <nl> y : 4141440 . 0332624242 <nl> - theta : - 0 . 86022599043847892 <nl> + theta : - 0 . 86022599043847869 <nl> kappa : - 0 . 071487968448073619 <nl> - s : 17 . 113739549411314 <nl> + s : 17 . 11373954941131 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 4302117785289727 <nl> - a : - 0 . 29318187063678769 <nl> + v : 6 . 4302117785289736 <nl> + a : - 0 . 2931818706367878 <nl> relative_time : 2 . 799999999999998 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587710 . 63726641424 <nl> - y : 4141439 . 7845310131 <nl> - theta : - 0 . 88324649609082706 <nl> + y : 4141439 . 7845310126 <nl> + theta : - 0 . 88324649609082684 <nl> kappa : - 0 . 071599159608669 <nl> - s : 17 . 434876496546906 <nl> + s : 17 . 434876496546902 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 4151275867925417 <nl> + v : 6 . 4151275867925426 <nl> a : - 0 . 30980209477827869 <nl> relative_time : 2 . 8499999999999979 <nl> } <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 6 . 39927103351676 <nl> - a : - 0 . 32405445098291374 <nl> + a : - 0 . 32405445098291352 <nl> relative_time : 2 . 8999999999999977 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587711 . 03601422021 <nl> y : 4141439 . 28432578 <nl> - theta : - 0 . 92911871952254577 <nl> + theta : - 0 . 92911871952254532 <nl> kappa : - 0 . 07177435661907311 <nl> - s : 18 . 074792751485738 <nl> + s : 18 . 074792751485731 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 3827637942826581 <nl> - a : - 0 . 33580765188307471 <nl> + v : 6 . 3827637942826589 <nl> + a : - 0 . 33580765188307449 <nl> relative_time : 2 . 9499999999999975 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587711 . 21950780484 <nl> y : 4141439 . 0237323409 <nl> - theta : - 0 . 95200095633124349 <nl> + theta : - 0 . 95200095633124293 <nl> kappa : - 0 . 071745267373007945 <nl> - s : 18 . 393507100099285 <nl> + s : 18 . 393507100099278 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 3657341090396535 <nl> - a : - 0 . 34493041011114389 <nl> + v : 6 . 3657341090396544 <nl> + a : - 0 . 34493041011114356 <nl> relative_time : 2 . 9999999999999973 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587711 . 4025070268 <nl> y : 4141438 . 7638409846 <nl> - theta : - 0 . 97482718371065868 <nl> + theta : - 0 . 9748271837106588 <nl> kappa : - 0 . 07171625649827279 <nl> - s : 18 . 711362778559 <nl> + s : 18 . 711362778559003 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 6 . 3484988247414229 <nl> - a : - 0 . 34423612106577067 <nl> + a : - 0 . 34423612106577073 <nl> relative_time : 3 . 0499999999999972 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587711 . 58140331111 <nl> y : 4141438 . 5023012538 <nl> - theta : - 0 . 99755862500088555 <nl> - kappa : - 0 . 07166656914847605 <nl> - s : 19 . 028358165529415 <nl> + theta : - 0 . 99755862500088588 <nl> + kappa : - 0 . 071666569148476036 <nl> + s : 19 . 028358165529418 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 6 . 33133440200161 <nl> - a : - 0 . 34210752790839727 <nl> + a : - 0 . 34210752790839744 <nl> relative_time : 3 . 099999999999997 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587711 . 74445923045 <nl> - y : 4141438 . 2314553182 <nl> - theta : - 1 . 0201675228657114 <nl> - kappa : - 0 . 071528661090819942 <nl> - s : 19 . 344498568018246 <nl> + y : 4141438 . 2314553177 <nl> + theta : - 1 . 0201675228657117 <nl> + kappa : - 0 . 071528661090819928 <nl> + s : 19 . 344498568018249 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 6 . 3143108190057173 <nl> - a : - 0 . 33861411144297676 <nl> + a : - 0 . 33861411144297704 <nl> relative_time : 3 . 1499999999999968 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587711 . 90707867092 <nl> - y : 4141437 . 9613344 <nl> - theta : - 1 . 0427249064612483 <nl> + y : 4141437 . 9613343994 <nl> + theta : - 1 . 0427249064612485 <nl> kappa : - 0 . 07139112219452 <nl> - s : 19 . 659792705091494 <nl> + s : 19 . 659792705091498 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 6 . 2974945798990474 <nl> - a : - 0 . 33382535247346157 <nl> + a : - 0 . 33382535247346196 <nl> relative_time : 3 . 1999999999999966 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587712 . 06884196715 <nl> - y : 4141437 . 6916922275 <nl> - theta : - 1 . 0652048081755916 <nl> + y : 4141437 . 691692227 <nl> + theta : - 1 . 0652048081755918 <nl> kappa : - 0 . 07125214115018505 <nl> - s : 19 . 974252534171409 <nl> + s : 19 . 974252534171413 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 6 . 2809487147867067 <nl> - a : - 0 . 3278107318038041 <nl> + a : - 0 . 32781073180380454 <nl> relative_time : 3 . 2499999999999964 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587712 . 21097796946 <nl> - y : 4141437 . 4121072716 <nl> - theta : - 1 . 0874501216387249 <nl> + y : 4141437 . 4121072721 <nl> + theta : - 1 . 0874501216387251 <nl> kappa : - 0 . 071032064086187674 <nl> - s : 20 . 287893077334505 <nl> + s : 20 . 287893077334509 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 6 . 2647327797336034 <nl> - a : - 0 . 32063973023795672 <nl> + a : - 0 . 32063973023795722 <nl> relative_time : 3 . 2999999999999963 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587712 . 35275080474 <nl> y : 4141437 . 1332366755 <nl> - theta : - 1 . 1096511529220103 <nl> + theta : - 1 . 1096511529220106 <nl> kappa : - 0 . 070812549334034941 <nl> - s : 20 . 600732247609525 <nl> + s : 20 . 600732247609528 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 6 . 248902856764448 <nl> - a : - 0 . 31238182857987179 <nl> + a : - 0 . 31238182857987229 <nl> relative_time : 3 . 3499999999999961 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 2335115538637549 <nl> - a : - 0 . 30310650763350172 <nl> + v : 6 . 233511553863754 <nl> + a : - 0 . 30310650763350222 <nl> relative_time : 3 . 3999999999999959 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587712 . 61888871854 <nl> y : 4141436 . 5699559581 <nl> - theta : - 1 . 1536560514945153 <nl> + theta : - 1 . 1536560514945156 <nl> kappa : - 0 . 070321688431324469 <nl> - s : 21 . 224091534159466 <nl> + s : 21 . 22409153415947 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 6 . 2186080049758372 <nl> - a : - 0 . 29288324820279887 <nl> + a : - 0 . 29288324820279937 <nl> relative_time : 3 . 4499999999999957 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587712 . 73990735319 <nl> y : 4141436 . 28393587 <nl> - theta : - 1 . 1754453213974738 <nl> + theta : - 1 . 175445321397474 <nl> kappa : - 0 . 07003929881928167 <nl> - s : 21 . 534660367934997 <nl> + s : 21 . 534660367935 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 6 . 204237870004814 <nl> - a : - 0 . 28178153109171561 <nl> + a : - 0 . 28178153109171611 <nl> relative_time : 3 . 4999999999999956 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587712 . 86065155081 <nl> y : 4141435 . 9985643979 <nl> - theta : - 1 . 1971806403116079 <nl> + theta : - 1 . 1971806403116081 <nl> kappa : - 0 . 069757549589751333 <nl> - s : 21 . 844524916419648 <nl> + s : 21 . 844524916419651 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 6 . 1904433348146064 <nl> - a : - 0 . 26987083710420434 <nl> + a : - 0 . 26987083710420479 <nl> relative_time : 3 . 5499999999999954 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587712 . 96886794374 <nl> y : 4141435 . 7091221614 <nl> - theta : - 1 . 2186665890260737 <nl> - kappa : - 0 . 069440736500622949 <nl> - s : 22 . 153714941873218 <nl> + theta : - 1 . 2186665890260739 <nl> + kappa : - 0 . 069440736500622963 <nl> + s : 22 . 153714941873222 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 6 . 1772631112289353 <nl> - a : - 0 . 25722064704421743 <nl> + a : - 0 . 25722064704421782 <nl> relative_time : 3 . 5999999999999952 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587713 . 06898975675 <nl> y : 4141435 . 4172712681 <nl> - theta : - 1 . 240001250637065 <nl> + theta : - 1 . 2400012506370652 <nl> kappa : - 0 . 0691016906498947 <nl> - s : 22 . 462262055295696 <nl> + s : 22 . 4622620552957 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 6 . 1647324370313266 <nl> - a : - 0 . 24390044171570721 <nl> + a : - 0 . 24390044171570754 <nl> relative_time : 3 . 649999999999995 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 6 . 1528830759651072 <nl> - a : - 0 . 22997970192262612 <nl> + a : - 0 . 2299797019226264 <nl> relative_time : 3 . 6999999999999948 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587713 . 26123097271 <nl> y : 4141434 . 8330019834 <nl> - theta : - 1 . 2823963672830792 <nl> + theta : - 1 . 2823963672830796 <nl> kappa : - 0 . 068401942998016788 <nl> - s : 23 . 077562191536135 <nl> + s : 23 . 077562191536138 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 6 . 1417433177334075 <nl> - a : - 0 . 2155279084689265 <nl> + a : - 0 . 21552790846892672 <nl> relative_time : 3 . 7499999999999947 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587713 . 34068068559 <nl> - y : 4141434 . 5366429714 <nl> - theta : - 1 . 3032404128573687 <nl> + y : 4141434 . 536642971 <nl> + theta : - 1 . 3032404128573689 <nl> kappa : - 0 . 06800074744043659 <nl> - s : 23 . 384386116736881 <nl> + s : 23 . 384386116736884 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 6 . 1313379779991592 <nl> - a : - 0 . 20061454215856078 <nl> + a : - 0 . 20061454215856089 <nl> relative_time : 3 . 7999999999999945 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587713 . 42000055069 <nl> - y : 4141434 . 24076831 <nl> - theta : - 1 . 3240550756107889 <nl> - kappa : - 0 . 067600207572876742 <nl> - s : 23 . 690708587268073 <nl> + y : 4141434 . 2407683106 <nl> + theta : - 1 . 3240550756107892 <nl> + kappa : - 0 . 067600207572876728 <nl> + s : 23 . 690708587268077 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 1216883983850972 <nl> + v : 6 . 1216883983850963 <nl> a : - 0 . 18530908379548131 <nl> relative_time : 3 . 8499999999999943 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587713 . 49702537339 <nl> - y : 4141433 . 9448350295 <nl> - theta : - 1 . 3447777250428494 <nl> + y : 4141433 . 9448350291 <nl> + theta : - 1 . 3447777250428496 <nl> kappa : - 0 . 067191321339104521 <nl> - s : 23 . 996567852300455 <nl> + s : 23 . 996567852300458 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 6 . 1128124464737574 <nl> - a : - 0 . 16968101418364046 <nl> + a : - 0 . 16968101418364037 <nl> relative_time : 3 . 8999999999999941 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587713 . 55627794471 <nl> y : 4141433 . 64520235 <nl> - theta : - 1 . 365088592182115 <nl> + theta : - 1 . 3650885921821154 <nl> kappa : - 0 . 066710296579658573 <nl> - s : 24 . 302002967532886 <nl> + s : 24 . 302002967532893 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 6 . 1047245158074794 <nl> - a : - 0 . 15379981412699056 <nl> + a : - 0 . 1537998141269904 <nl> relative_time : 3 . 949999999999994 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587713 . 6154559328 <nl> - y : 4141433 . 3459468284 <nl> - theta : - 1 . 3853826897582091 <nl> + x : 587713 . 61545593292 <nl> + y : 4141433 . 3459468288 <nl> + theta : - 1 . 3853826897582093 <nl> kappa : - 0 . 066229877301976478 <nl> - s : 24 . 607053621490344 <nl> + s : 24 . 607053621490348 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 6 . 0974355258884056 <nl> - a : - 0 . 13773496442948407 <nl> + a : - 0 . 13773496442948377 <nl> relative_time : 3 . 9999999999999938 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587713 . 6745671262 <nl> - y : 4141433 . 0470290794 <nl> - theta : - 1 . 4056459770657717 <nl> + y : 4141433 . 04702908 <nl> + theta : - 1 . 4056459770657719 <nl> kappa : - 0 . 065750000278183382 <nl> - s : 24 . 9117599618219 <nl> + s : 24 . 911759961821904 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 6 . 09095292217848 <nl> - a : - 0 . 12155594589507335 <nl> + a : - 0 . 12155594589507293 <nl> relative_time : 4 . 0499999999999936 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587713 . 71700230113 <nl> y : 4141432 . 7456912491 <nl> - theta : - 1 . 4254341159283348 <nl> - kappa : - 0 . 065175315273563919 <nl> - s : 25 . 216162421598728 <nl> + theta : - 1 . 425434115928335 <nl> + kappa : - 0 . 0651753152735639 <nl> + s : 25 . 216162421598732 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 6 . 0852806760994476 <nl> - a : - 0 . 10533223932771074 <nl> + a : - 0 . 10533223932771027 <nl> relative_time : 4 . 0999999999999934 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587713 . 75614333723 <nl> y : 4141432 . 4440812594 <nl> - theta : - 1 . 4451287456153277 <nl> - kappa : - 0 . 064582448487106189 <nl> - s : 25 . 520301545612071 <nl> + theta : - 1 . 4451287456153281 <nl> + kappa : - 0 . 064582448487106175 <nl> + s : 25 . 520301545612078 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 6 . 0804192850328587 <nl> - a : - 0 . 089133325531348673 <nl> + a : - 0 . 089133325531348062 <nl> relative_time : 4 . 1499999999999932 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 6 . 0763657723200639 <nl> - a : - 0 . 073028685309939445 <nl> + a : - 0 . 073028685309938779 <nl> relative_time : 4 . 1999999999999931 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587713 . 82379042427 <nl> - y : 4141431 . 8404527013 <nl> - theta : - 1 . 4840928381050142 <nl> + y : 4141431 . 8404527018 <nl> + theta : - 1 . 4840928381050145 <nl> kappa : - 0 . 063290004159987839 <nl> - s : 26 . 127951481901682 <nl> + s : 26 . 127951481901686 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 6 . 0731136872622162 <nl> - a : - 0 . 057087799467435529 <nl> + a : - 0 . 057087799467434752 <nl> relative_time : 4 . 2499999999999929 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587713 . 843760863 <nl> y : 4141431 . 5375193516 <nl> - theta : - 1 . 5030829989524357 <nl> - kappa : - 0 . 062502872610112933 <nl> - s : 26 . 431542379042767 <nl> + theta : - 1 . 5030829989524361 <nl> + kappa : - 0 . 06250287261011292 <nl> + s : 26 . 431542379042774 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 6 . 0706531051202726 <nl> - a : - 0 . 04138014880778923 <nl> + a : - 0 . 041380148807788342 <nl> relative_time : 4 . 2999999999999927 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 6 . 06897062711499 <nl> - a : - 0 . 025975214134953017 <nl> + a : - 0 . 025975214134952018 <nl> relative_time : 4 . 3499999999999925 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587713 . 87882291211 <nl> - y : 4141430 . 9317521052 <nl> - theta : - 1 . 5407669716735632 <nl> - kappa : - 0 . 060791764749780534 <nl> - s : 27 . 038452130872908 <nl> + y : 4141430 . 9317521057 <nl> + theta : - 1 . 5407669716735635 <nl> + kappa : - 0 . 060791764749780514 <nl> + s : 27 . 038452130872912 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 6 . 0680493804269311 <nl> - a : - 0 . 010942476252879141 <nl> + a : - 0 . 010942476252878086 <nl> relative_time : 4 . 3999999999999924 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587713 . 88031269948 <nl> + x : 587713 . 88031269936 <nl> y : 4141430 . 6283608433 <nl> theta : - 1 . 5587108969711627 <nl> - kappa : - 0 . 0594825580815547 <nl> - s : 27 . 341847050793014 <nl> + kappa : - 0 . 059482558081554684 <nl> + s : 27 . 341847050793017 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 6 . 0678690181964576 <nl> - a : 0 . 0036485840344799847 <nl> + a : 0 . 0036485840344810949 <nl> relative_time : 4 . 4499999999999922 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587713 . 881802531 <nl> y : 4141430 . 3249605661 <nl> - theta : - 1 . 5766597713915333 <nl> - kappa : - 0 . 058173312512027536 <nl> - s : 27 . 645250985681869 <nl> + theta : - 1 . 5766597713915338 <nl> + kappa : - 0 . 058173312512027509 <nl> + s : 27 . 645250985681876 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 6 . 0684057195237351 <nl> - a : 0 . 017728485923171833 <nl> + a : 0 . 017728485923173 <nl> relative_time : 4 . 499999999999992 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587713 . 88329257816 <nl> - y : 4141430 . 0215163697 <nl> - theta : - 1 . 5946040980030225 <nl> - kappa : - 0 . 056863877417522406 <nl> - s : 27 . 94869884099743 <nl> + x : 587713 . 883292578 <nl> + y : 4141430 . 0215163692 <nl> + theta : - 1 . 5946040980030227 <nl> + kappa : - 0 . 056863877417522392 <nl> + s : 27 . 948698840997434 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 6 . 0696132114649988 <nl> - a : 0 . 030295950824806628 <nl> + a : 0 . 030295950824807787 <nl> relative_time : 4 . 5499999999999918 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587713 . 86802744865 <nl> y : 4141429 . 7183900643 <nl> - theta : - 1 . 6110425030116418 <nl> - kappa : - 0 . 055116847566901148 <nl> - s : 28 . 252222100019949 <nl> + theta : - 1 . 611042503011642 <nl> + kappa : - 0 . 05511684756690112 <nl> + s : 28 . 252222100019953 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 6 . 0714084209977965 <nl> - a : 0 . 041249799221184394 <nl> + a : 0 . 041249799221185393 <nl> relative_time : 4 . 5999999999999917 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587713 . 852292448 <nl> y : 4141429 . 4151719976 <nl> theta : - 1 . 6274505654441858 <nl> - kappa : - 0 . 053357098694844646 <nl> - s : 28 . 555848163132463 <nl> + kappa : - 0 . 053357098694844632 <nl> + s : 28 . 555848163132467 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 6 . 0737125587423533 <nl> - a : 0 . 05066568893171771 <nl> + a : 0 . 050665688931718578 <nl> relative_time : 4 . 6499999999999915 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587713 . 836550899 <nl> y : 4141429 . 1118277414 <nl> theta : - 1 . 6438625476017739 <nl> - kappa : - 0 . 051596617470895771 <nl> - s : 28 . 859600585821294 <nl> + kappa : - 0 . 05159661747089575 <nl> + s : 28 . 859600585821298 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 0764506182098605 <nl> - a : 0 . 058619277775819038 <nl> + v : 6 . 0764506182098614 <nl> + a : 0 . 058619277775819781 <nl> relative_time : 4 . 6999999999999913 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587713 . 81028207531 <nl> y : 4141428 . 8091507033 <nl> - theta : - 1 . 6589774621218238 <nl> - kappa : - 0 . 049651255686805021 <nl> - s : 29 . 163499267820594 <nl> + theta : - 1 . 6589774621218241 <nl> + kappa : - 0 . 049651255686804993 <nl> + s : 29 . 163499267820598 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 6 . 0795513758024846 <nl> - a : 0 . 065186223572900812 <nl> + a : 0 . 065186223572901436 <nl> relative_time : 4 . 7499999999999911 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587713 . 77918033791 <nl> y : 4141428 . 5066841743 <nl> - theta : - 1 . 6735100180539653 <nl> - kappa : - 0 . 047620550863277232 <nl> - s : 29 . 467560642256906 <nl> + theta : - 1 . 6735100180539655 <nl> + kappa : - 0 . 047620550863277211 <nl> + s : 29 . 46756064225691 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 6 . 0829473908133576 <nl> - a : 0 . 070442184142375477 <nl> + a : 0 . 070442184142376019 <nl> relative_time : 4 . 7999999999999909 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587713 . 74806061352 <nl> y : 4141428 . 2040427192 <nl> - theta : - 1 . 6880507043228605 <nl> - kappa : - 0 . 045588671620320119 <nl> - s : 29 . 771797864793694 <nl> + theta : - 1 . 6880507043228608 <nl> + kappa : - 0 . 0455886716203201 <nl> + s : 29 . 771797864793697 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 6 . 0865750054265852 <nl> - a : 0 . 0744628173036555 <nl> + a : 0 . 074462817303655962 <nl> relative_time : 4 . 8499999999999908 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587713 . 71147643472 <nl> y : 4141427 . 9018991697 <nl> theta : - 1 . 7017419379351142 <nl> - kappa : - 0 . 043511094255557867 <nl> - s : 30 . 076221002775913 <nl> + kappa : - 0 . 043511094255557839 <nl> + s : 30 . 076221002775917 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 6 . 0903743447172438 <nl> - a : 0 . 0773237808761533 <nl> + a : 0 . 077323780876153714 <nl> relative_time : 4 . 8999999999999906 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587713 . 66685100179 <nl> y : 4141427 . 6005694279 <nl> - theta : - 1 . 714187383503992 <nl> - kappa : - 0 . 041366739927453731 <nl> - s : 30 . 380837224374535 <nl> + theta : - 1 . 7141873835039922 <nl> + kappa : - 0 . 041366739927453711 <nl> + s : 30 . 380837224374538 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 6 . 0942893166513779 <nl> - a : 0 . 079100732679281346 <nl> + a : 0 . 079100732679281707 <nl> relative_time : 4 . 94999999999999 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587713 . 62219662941 <nl> y : 4141427 . 2990442757 <nl> - theta : - 1 . 7266418003477673 <nl> - kappa : - 0 . 039220994998673639 <nl> - s : 30 . 685650987731115 <nl> + theta : - 1 . 7266418003477675 <nl> + kappa : - 0 . 039220994998673611 <nl> + s : 30 . 685650987731119 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 6 . 0982676120860058 <nl> - a : 0 . 079869330532452085 <nl> + a : 0 . 07986933053245239 <nl> relative_time : 4 . 99999999999999 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587713 . 57606036286 <nl> - y : 4141426 . 9975645035 <nl> - theta : - 1 . 7388239652269797 <nl> - kappa : - 0 . 03707584281460885 <nl> - s : 30 . 990664230102336 <nl> + y : 4141426 . 997564503 <nl> + theta : - 1 . 73882396522698 <nl> + kappa : - 0 . 037075842814608823 <nl> + s : 30 . 99066423010234 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 1022607047691135 <nl> - a : 0 . 079705232255077946 <nl> + v : 6 . 1022607047691144 <nl> + a : 0 . 079705232255078237 <nl> relative_time : 5 . 04999999999999 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587713 . 520197412 <nl> - y : 4141426 . 6975080166 <nl> - theta : - 1 . 749161364860522 <nl> - kappa : - 0 . 03494262031994172 <nl> - s : 31 . 295876557004544 <nl> + x : 587713 . 52019741188 <nl> + y : 4141426 . 6975080161 <nl> + theta : - 1 . 7491613648605222 <nl> + kappa : - 0 . 0349426203199417 <nl> + s : 31 . 295876557004547 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 1062238513396609 <nl> - a : 0 . 0786840956665714 <nl> + v : 6 . 1062238513396618 <nl> + a : 0 . 078684095666571682 <nl> relative_time : 5 . 09999999999999 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587713 . 46429848706 <nl> - y : 4141426 . 3972583022 <nl> + y : 4141426 . 3972583027 <nl> theta : - 1 . 7595065361425835 <nl> - kappa : - 0 . 032808024094897442 <nl> - s : 31 . 601285431358317 <nl> + kappa : - 0 . 032808024094897421 <nl> + s : 31 . 60128543135832 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 1101160913275754 <nl> - a : 0 . 076881578586344868 <nl> + v : 6 . 1101160913275763 <nl> + a : 0 . 076881578586345117 <nl> relative_time : 5 . 14999999999999 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587713 . 40836441 <nl> y : 4141426 . 0968197761 <nl> - theta : - 1 . 7698571129772946 <nl> - kappa : - 0 . 030672085525171047 <nl> - s : 31 . 906886362632996 <nl> + theta : - 1 . 7698571129772951 <nl> + kappa : - 0 . 030672085525171 <nl> + s : 31 . 906886362633003 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 6 . 1139002471537571 <nl> - a : 0 . 074373338833810809 <nl> + a : 0 . 074373338833811059 <nl> relative_time : 5 . 1999999999999895 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587713 . 34450593521 <nl> y : 4141425 . 7977923788 <nl> theta : - 1 . 7784027176524246 <nl> - kappa : - 0 . 028623341263458731 <nl> - s : 32 . 212673095991249 <nl> + kappa : - 0 . 028623341263458679 <nl> + s : 32 . 212673095991256 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 1175429241300749 <nl> - a : 0 . 0712350342283817 <nl> + v : 6 . 1175429241300758 <nl> + a : 0 . 071235034228381955 <nl> relative_time : 5 . 2499999999999893 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587713 . 27936301974 <nl> y : 4141425 . 498842882 <nl> - theta : - 1 . 786667979809504 <nl> - kappa : - 0 . 026587393131994042 <nl> - s : 32 . 518637801433613 <nl> + theta : - 1 . 7866679798095042 <nl> + kappa : - 0 . 026587393131993996 <nl> + s : 32 . 51863780143362 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 1210145104593705 <nl> - a : 0 . 067542322589469961 <nl> + v : 6 . 1210145104593714 <nl> + a : 0 . 0675423225894702 <nl> relative_time : 5 . 2999999999999892 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 124289177235454 <nl> - a : 0 . 063370861736488038 <nl> + v : 6 . 1242891772354549 <nl> + a : 0 . 063370861736488274 <nl> relative_time : 5 . 349999999999989 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 1273448784431084 <nl> - a : 0 . 058796309488848363 <nl> + v : 6 . 1273448784431093 <nl> + a : 0 . 058796309488848605 <nl> relative_time : 5 . 3999999999999888 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 6 . 1301633509580853 <nl> - a : 0 . 053894323665963383 <nl> + a : 0 . 053894323665963639 <nl> relative_time : 5 . 4499999999999886 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587713 . 00005004113 <nl> y : 4141424 . 3057419015 <nl> - theta : - 1 . 8146799656784802 <nl> - kappa : - 0 . 018851445413328782 <nl> - s : 33 . 744075205474843 <nl> + theta : - 1 . 8146799656784804 <nl> + kappa : - 0 . 018851445413328737 <nl> + s : 33 . 74407520547485 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 1327301145471074 <nl> - a : 0 . 0487405620872456 <nl> + v : 6 . 1327301145471083 <nl> + a : 0 . 048740562087245878 <nl> relative_time : 5 . 4999999999999885 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 1350344718678693 <nl> - a : 0 . 043410682572107381 <nl> + v : 6 . 13503447186787 <nl> + a : 0 . 0434106825721077 <nl> relative_time : 5 . 5499999999999883 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587712 . 84821592062 <nl> y : 4141423 . 7113499469 <nl> theta : - 1 . 8249504454756784 <nl> - kappa : - 0 . 015369819838107288 <nl> - s : 34 . 357574161881359 <nl> + kappa : - 0 . 01536981983810725 <nl> + s : 34 . 357574161881367 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 1370695084690343 <nl> - a : 0 . 037980342939961234 <nl> + v : 6 . 1370695084690352 <nl> + a : 0 . 037980342939961539 <nl> relative_time : 5 . 5999999999999881 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587712 . 77055885689 <nl> y : 4141423 . 4144388856 <nl> theta : - 1 . 8295125476368532 <nl> - kappa : - 0 . 013695451305802754 <nl> - s : 34 . 664472838663443 <nl> + kappa : - 0 . 013695451305802714 <nl> + s : 34 . 66447283866345 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 1388320927902384 <nl> - a : 0 . 03252520101021962 <nl> + v : 6 . 1388320927902393 <nl> + a : 0 . 03252520101021987 <nl> relative_time : 5 . 6499999999999879 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587712 . 69251903333 <nl> y : 4141423 . 11754626 <nl> - theta : - 1 . 8339199510957598 <nl> - kappa : - 0 . 012043214746494687 <nl> - s : 34 . 971452839042954 <nl> + theta : - 1 . 83391995109576 <nl> + kappa : - 0 . 012043214746494653 <nl> + s : 34 . 971452839042961 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 6 . 1403228761620872 <nl> - a : 0 . 027120914602294932 <nl> + a : 0 . 027120914602295203 <nl> relative_time : 5 . 6999999999999877 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587712 . 61117560824 <nl> - y : 4141422 . 8214692152 <nl> - theta : - 1 . 8369148253208076 <nl> - kappa : - 0 . 010595459634537764 <nl> - s : 35 . 278500668065917 <nl> + x : 587712 . 61117560812 <nl> + y : 4141422 . 8214692157 <nl> + theta : - 1 . 8369148253208079 <nl> + kappa : - 0 . 010595459634537731 <nl> + s : 35 . 278500668065924 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 1415462928061553 <nl> - a : 0 . 021843141535599596 <nl> + v : 6 . 1415462928061562 <nl> + a : 0 . 021843141535599891 <nl> relative_time : 5 . 7499999999999876 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 6 . 1425105598349914 <nl> - a : 0 . 016767539629546198 <nl> + a : 0 . 016767539629546448 <nl> relative_time : 5 . 7999999999999874 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587712 . 44844868139 <nl> - y : 4141422 . 2291692542 <nl> - theta : - 1 . 8429060801201205 <nl> - kappa : - 0 . 0076992361289786558 <nl> - s : 35 . 892747602787608 <nl> + y : 4141422 . 2291692537 <nl> + theta : - 1 . 8429060801201207 <nl> + kappa : - 0 . 0076992361289786228 <nl> + s : 35 . 892747602787615 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 6 . 1432276772521108 <nl> - a : 0 . 01196976670354704 <nl> + v : 6 . 1432276772521117 <nl> + a : 0 . 011969766703547251 <nl> relative_time : 5 . 8499999999999872 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587712 . 36519041413 <nl> - y : 4141421 . 9334945288 <nl> + x : 587712 . 36519041425 <nl> + y : 4141421 . 9334945292 <nl> theta : - 1 . 844778658997525 <nl> - kappa : - 0 . 0064484692838343233 <nl> - s : 36 . 199922056573357 <nl> + kappa : - 0 . 0064484692838342956 <nl> + s : 36 . 199922056573364 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 6 . 1437134279520036 <nl> - a : 0 . 0075254805770145657 <nl> + a : 0 . 0075254805770148137 <nl> relative_time : 5 . 899999999999987 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 6 . 1439873777201273 <nl> - a : 0 . 0035103390693613009 <nl> + a : 0 . 0035103390693615108 <nl> relative_time : 5 . 9499999999999869 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587712 . 1980068906 <nl> y : 4141421 . 34228254 <nl> theta : - 1 . 8481333478029425 <nl> - kappa : - 0 . 0040154677754289832 <nl> - s : 36 . 814317651372839 <nl> + kappa : - 0 . 0040154677754289545 <nl> + s : 36 . 814317651372846 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 6 . 1440728752329115 <nl> - a : - 2 . 2551405187698492e - 16 <nl> + a : - 1 . 3877787807814457e - 16 <nl> relative_time : 5 . 9999999999999867 <nl> } <nl> decision { <nl> mmm a / modules / planning / testdata / sunnyvale_loop_test / result_slowdown_01_0 . pb . txt <nl> ppp b / modules / planning / testdata / sunnyvale_loop_test / result_slowdown_01_0 . pb . txt <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 1 . 6945275158580306 <nl> - a : - 0 . 33077435976913072 <nl> + a : - 0 . 33077435976913078 <nl> relative_time : 0 . 05 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 1 . 6780304107460891 <nl> - a : - 0 . 32914121861501222 <nl> + a : - 0 . 32914121861501239 <nl> relative_time : 0 . 1 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 1 . 6616103412178169 <nl> - a : - 0 . 32769124418364765 <nl> + a : - 0 . 32769124418364787 <nl> relative_time : 0 . 15000000000000002 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 1 . 6452584027728829 <nl> - a : - 0 . 32641428304276465 <nl> + a : - 0 . 32641428304276487 <nl> relative_time : 0 . 2 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 1 . 6289661985825703 <nl> - a : - 0 . 3253001817600909 <nl> + v : 1 . 62896619858257 <nl> + a : - 0 . 32530018176009118 <nl> relative_time : 0 . 25 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 1 . 612725839489775 <nl> - a : - 0 . 3243387869033541 <nl> + v : 1 . 6127258394897748 <nl> + a : - 0 . 32433878690335438 <nl> relative_time : 0 . 3 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 1 . 5965299440090071 <nl> - a : - 0 . 32351994504028192 <nl> + a : - 0 . 3235199450402822 <nl> relative_time : 0 . 35 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 1 . 5803716383263902 <nl> - a : - 0 . 32283350273860206 <nl> + a : - 0 . 32283350273860228 <nl> relative_time : 0 . 39999999999999997 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587258 . 22182625148 <nl> y : 4140946 . 35827497 <nl> theta : - 1 . 7936046684492823 <nl> - kappa : - 4 . 5727058075092225e - 05 <nl> - s : 0 . 73678275309419727 <nl> + kappa : - 4 . 5727058075092008e - 05 <nl> + s : 0 . 73678275309419716 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 1 . 5642445562996616 <nl> - a : - 0 . 32226930656604219 <nl> + v : 1 . 5642445562996614 <nl> + a : - 0 . 32226930656604241 <nl> relative_time : 0 . 44999999999999996 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587258 . 20463598543 <nl> y : 4140946 . 2823880338 <nl> theta : - 1 . 7935799412472346 <nl> - kappa : - 0 . 00015680484504707198 <nl> - s : 0 . 814592343835174 <nl> + kappa : - 0 . 00015680484504707181 <nl> + s : 0 . 81459234383517387 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 1 . 5481428394581718 <nl> - a : - 0 . 32181720309033 <nl> + a : - 0 . 32181720309033024 <nl> relative_time : 0 . 49999999999999994 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 1 . 5320611370028856 <nl> - a : - 0 . 3214670388791932 <nl> + a : - 0 . 32146703887919337 <nl> relative_time : 0 . 54999999999999993 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 1 . 5159946058063809 <nl> - a : - 0 . 32120866050035951 <nl> + v : 1 . 5159946058063807 <nl> + a : - 0 . 32120866050035962 <nl> relative_time : 0 . 6 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 1 . 4999389104128491 <nl> - a : - 0 . 32103191452155649 <nl> + a : - 0 . 32103191452155655 <nl> relative_time : 0 . 65 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587258 . 13759915414 <nl> + x : 587258 . 13759915426 <nl> y : 4140945 . 9866913557 <nl> theta : - 1 . 7936707756067252 <nl> - kappa : - 0 . 00062747778193205836 <nl> - s : 1 . 1177927176672942 <nl> + kappa : - 0 . 00062747778193205793 <nl> + s : 1 . 1177927176672939 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 1 . 4838902230380959 <nl> + v : 1 . 4838902230380957 <nl> a : - 0 . 320926647510512 <nl> relative_time : 0 . 70000000000000007 <nl> } <nl> trajectory_point { <nl> x : 587258 . 12126393022 <nl> y : 4140945 . 9147287058 <nl> theta : - 1 . 7937643640774892 <nl> - kappa : - 0 . 0007564793668673991 <nl> - s : 1 . 1915860947132659 <nl> + kappa : - 0 . 00075647936686739877 <nl> + s : 1 . 1915860947132657 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 1 . 4678452235695398 <nl> - a : - 0 . 32088270603495356 <nl> + v : 1 . 4678452235695396 <nl> + a : - 0 . 3208827060349535 <nl> relative_time : 0 . 75000000000000011 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 1 . 4518010995662136 <nl> - a : - 0 . 3208899366626089 <nl> + v : 1 . 4518010995662134 <nl> + a : - 0 . 32088993666260879 <nl> relative_time : 0 . 80000000000000016 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 1 . 4357555462587632 <nl> - a : - 0 . 32093818596120577 <nl> + v : 1 . 435755546258763 <nl> + a : - 0 . 3209381859612056 <nl> relative_time : 0 . 8500000000000002 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 1 . 4197067665494485 <nl> - a : - 0 . 32101730049847182 <nl> + a : - 0 . 3210173004984716 <nl> relative_time : 0 . 90000000000000024 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 1 . 4036534710121427 <nl> - a : - 0 . 32111712684213478 <nl> + a : - 0 . 32111712684213445 <nl> relative_time : 0 . 95000000000000029 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 1 . 387594877892333 <nl> - a : - 0 . 32122751155992224 <nl> + v : 1 . 3875948778923328 <nl> + a : - 0 . 32122751155992191 <nl> relative_time : 1 . 0000000000000002 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587258 . 02698261559 <nl> y : 4140945 . 499384955 <nl> theta : - 1 . 7943045247385434 <nl> - kappa : - 0 . 0015010323032799856 <nl> - s : 1 . 6174961763213211 <nl> + kappa : - 0 . 0015010323032799849 <nl> + s : 1 . 6174961763213207 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 1 . 3715307131071197 <nl> - a : - 0 . 321338301219562 <nl> + v : 1 . 3715307131071195 <nl> + a : - 0 . 32133830121956158 <nl> relative_time : 1 . 0500000000000003 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587258 . 01189114014 <nl> - y : 4140945 . 4329014733 <nl> + x : 587258 . 01189114 <nl> + y : 4140945 . 4329014737 <nl> theta : - 1 . 7943909874850661 <nl> - kappa : - 0 . 00162021182964916 <nl> - s : 1 . 6856709954906279 <nl> + kappa : - 0 . 0016202118296491596 <nl> + s : 1 . 6856709954906277 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 1 . 355461210245217 <nl> - a : - 0 . 32143934238878158 <nl> + a : - 0 . 32143934238878114 <nl> relative_time : 1 . 1000000000000003 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587257 . 99697755161 <nl> y : 4140945 . 3672016496 <nl> theta : - 1 . 7944764310693917 <nl> - kappa : - 0 . 0017379865561453533 <nl> - s : 1 . 753042220450197 <nl> + kappa : - 0 . 0017379865561453528 <nl> + s : 1 . 7530422204501968 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 1 . 3393871105669528 <nl> - a : - 0 . 32152048163530883 <nl> + a : - 0 . 32152048163530839 <nl> relative_time : 1 . 1500000000000004 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 1 . 3233096630042689 <nl> - a : - 0 . 32157156552687138 <nl> + a : - 0 . 32157156552687088 <nl> relative_time : 1 . 2000000000000004 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 1 . 3072306241607197 <nl> - a : - 0 . 3215824406311969 <nl> + a : - 0 . 3215824406311964 <nl> relative_time : 1 . 2500000000000004 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 1 . 2911522583114743 <nl> - a : - 0 . 32154295351601314 <nl> + a : - 0 . 32154295351601259 <nl> relative_time : 1 . 3000000000000005 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 1 . 2750773374033146 <nl> - a : - 0 . 32144295074904766 <nl> + v : 1 . 2750773374033149 <nl> + a : - 0 . 32144295074904716 <nl> relative_time : 1 . 3500000000000005 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> ddkappa : 0 <nl> } <nl> v : 1 . 2590091410546371 <nl> - a : - 0 . 32127227889802829 <nl> + a : - 0 . 32127227889802779 <nl> relative_time : 1 . 4000000000000006 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 1 . 2429514565554507 <nl> - a : - 0 . 32102078453068261 <nl> + v : 1 . 2429514565554509 <nl> + a : - 0 . 32102078453068217 <nl> relative_time : 1 . 4500000000000006 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587257 . 89713118784 <nl> - y : 4140944 . 9293481903 <nl> + x : 587257 . 897131188 <nl> + y : 4140944 . 92934819 <nl> theta : - 1 . 7954340182302184 <nl> - kappa : - 0 . 00259332906205226 <nl> - s : 2 . 2021359615057885 <nl> + kappa : - 0 . 0025933290620522593 <nl> + s : 2 . 2021359615057881 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 1 . 226908578867379 <nl> - a : - 0 . 3206783142147383 <nl> + v : 1 . 2269085788673788 <nl> + a : - 0 . 32067831421473791 <nl> relative_time : 1 . 5000000000000007 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587257 . 883510092 <nl> - y : 4140944 . 86994516 <nl> - theta : - 1 . 7956279080712079 <nl> - kappa : - 0 . 0027209818900408192 <nl> - s : 2 . 26308064260929 <nl> + y : 4140944 . 8699451606 <nl> + theta : - 1 . 7956279080712076 <nl> + kappa : - 0 . 0027209818900408183 <nl> + s : 2 . 2630806426092898 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 1 . 210880794417003 <nl> - a : - 0 . 3204227982039472 <nl> + v : 1 . 2108807944170028 <nl> + a : - 0 . 32042279820394681 <nl> relative_time : 1 . 5500000000000007 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587257 . 87006802892 <nl> y : 4140944 . 8113229121 <nl> - theta : - 1 . 7958192495203618 <nl> - kappa : - 0 . 0028469568761562234 <nl> - s : 2 . 3232242796661162 <nl> + theta : - 1 . 795819249520362 <nl> + kappa : - 0 . 0028469568761562225 <nl> + s : 2 . 3232242796661158 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 1 . 1948673349536809 <nl> - a : - 0 . 32010512779135675 <nl> + v : 1 . 1948673349536807 <nl> + a : - 0 . 32010512779135636 <nl> relative_time : 1 . 6000000000000008 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587257 . 856804821 <nl> + x : 587257 . 85680482117 <nl> y : 4140944 . 75348067 <nl> theta : - 1 . 7960080450890927 <nl> - kappa : - 0 . 0029712556843442652 <nl> - s : 2 . 3825676670859739 <nl> + kappa : - 0 . 0029712556843442639 <nl> + s : 2 . 3825676670859735 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 1 . 1788713362386858 <nl> - a : - 0 . 31972418132965358 <nl> + v : 1 . 1788713362386856 <nl> + a : - 0 . 31972418132965313 <nl> relative_time : 1 . 6500000000000008 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587257 . 84372025565 <nl> y : 4140944 . 6964175059 <nl> theta : - 1 . 7961942977932079 <nl> - kappa : - 0 . 0030938803098908359 <nl> - s : 2 . 4411117574686942 <nl> + kappa : - 0 . 0030938803098908346 <nl> + s : 2 . 4411117574686938 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 1 . 1628959901156559 <nl> - a : - 0 . 31927883717152417 <nl> + a : - 0 . 31927883717152372 <nl> relative_time : 1 . 7000000000000008 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587257 . 83081408369 <nl> + x : 587257 . 83081408381 <nl> y : 4140944 . 640132335 <nl> theta : - 1 . 796378011161792 <nl> - kappa : - 0 . 0032148330852953418 <nl> - s : 2 . 4988576644083489 <nl> + kappa : - 0 . 0032148330852953414 <nl> + s : 2 . 4988576644083484 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 1 . 1469445445105957 <nl> - a : - 0 . 31876797366965504 <nl> + a : - 0 . 31876797366965459 <nl> relative_time : 1 . 7500000000000009 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587257 . 8180860196 <nl> + x : 587257 . 81808601972 <nl> y : 4140944 . 5846239114 <nl> - theta : - 1 . 796559189246091 <nl> - kappa : - 0 . 003334116686144124 <nl> - s : 2 . 5558066652973692 <nl> + theta : - 1 . 7965591892460908 <nl> + kappa : - 0 . 0033341166861441231 <nl> + s : 2 . 5558066652973688 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 1 . 1310203034318747 <nl> - a : - 0 . 31819046917673272 <nl> + a : - 0 . 31819046917673233 <nl> relative_time : 1 . 8000000000000009 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587257 . 80553574092 <nl> y : 4140944 . 5298908278 <nl> theta : - 1 . 7967378366283935 <nl> - kappa : - 0 . 0034517341369838762 <nl> - s : 2 . 6119602041306642 <nl> + kappa : - 0 . 0034517341369838758 <nl> + s : 2 . 6119602041306638 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 1 . 1151266269702285 <nl> - a : - 0 . 31754520204544384 <nl> + a : - 0 . 3175452020454434 <nl> relative_time : 1 . 850000000000001 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587257 . 79316288675 <nl> y : 4140944 . 4759315122 <nl> theta : - 1 . 7969139584309155 <nl> - kappa : - 0 . 0035676888171950628 <nl> - s : 2 . 6673198943097383 <nl> + kappa : - 0 . 0035676888171950619 <nl> + s : 2 . 6673198943097378 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 1 . 0992669312987582 <nl> - a : - 0 . 31683105062847489 <nl> + a : - 0 . 31683105062847444 <nl> relative_time : 1 . 900000000000001 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587257 . 78096705826 <nl> y : 4140944 . 4227442229 <nl> theta : - 1 . 7970875603246823 <nl> - kappa : - 0 . 0036819844668653382 <nl> - s : 2 . 7218875214468103 <nl> + kappa : - 0 . 0036819844668653373 <nl> + s : 2 . 72188752144681 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 1 . 0834446886729308 <nl> - a : - 0 . 31604689327851238 <nl> + a : - 0 . 31604689327851193 <nl> relative_time : 1 . 9500000000000011 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587257 . 768947817 <nl> y : 4140944 . 37032705 <nl> theta : - 1 . 7972586485384128 <nl> - kappa : - 0 . 0037946251926629683 <nl> - s : 2 . 7756650461689323 <nl> + kappa : - 0 . 0037946251926629674 <nl> + s : 2 . 7756650461689318 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 1 . 067663427430579 <nl> - a : - 0 . 31519160834824295 <nl> + a : - 0 . 3151916083482425 <nl> relative_time : 2 . 0000000000000009 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587257 . 7571046853 <nl> - y : 4140944 . 3186779087 <nl> + y : 4140944 . 3186779097 <nl> theta : - 1 . 797427229867403 <nl> - kappa : - 0 . 0039056154737102428 <nl> - s : 2 . 8286546069221057 <nl> + kappa : - 0 . 0039056154737102415 <nl> + s : 2 . 8286546069221052 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 1 . 0519267319919003 <nl> - a : - 0 . 314264074190353 <nl> + a : - 0 . 31426407419035257 <nl> relative_time : 2 . 0500000000000007 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587257 . 74543714465 <nl> y : 4140944 . 2677945392 <nl> theta : - 1 . 797593311682411 <nl> - kappa : - 0 . 0040149601674569005 <nl> - s : 2 . 8808585227754024 <nl> + kappa : - 0 . 0040149601674568988 <nl> + s : 2 . 8808585227754016 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 1 . 0362382428594592 <nl> - a : - 0 . 31326316915752916 <nl> + a : - 0 . 31326316915752872 <nl> relative_time : 2 . 1000000000000005 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587257 . 73394463584 <nl> y : 4140944 . 2176745012 <nl> theta : - 1 . 7977569019385407 <nl> - kappa : - 0 . 0041226645155535424 <nl> - s : 2 . 9322792962250803 <nl> + kappa : - 0 . 0041226645155535407 <nl> + s : 2 . 93227929622508 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 1 . 020601656618185 <nl> - a : - 0 . 312187771602458 <nl> + a : - 0 . 31218777160245753 <nl> relative_time : 2 . 1500000000000004 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587257 . 72262655781 <nl> + x : 587257 . 72262655792 <nl> y : 4140944 . 1683151755 <nl> theta : - 1 . 7979180091841271 <nl> - kappa : - 0 . 0042287341497250592 <nl> - s : 2 . 9829196159987048 <nl> + kappa : - 0 . 0042287341497250566 <nl> + s : 2 . 9829196159987039 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 1 . 0050207259353729 <nl> - a : - 0 . 31103675987782592 <nl> + a : - 0 . 31103675987782547 <nl> relative_time : 2 . 2 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 98949925956068374 <nl> - a : - 0 . 30980901233631963 <nl> + v : 0 . 98949925956068385 <nl> + a : - 0 . 30980901233631919 <nl> relative_time : 2 . 25 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587257 . 70016186789 <nl> y : 4140944 . 0719481157 <nl> theta : - 1 . 798423308999562 <nl> - kappa : - 0 . 0044675705166775919 <nl> - s : 3 . 081870597409285 <nl> + kappa : - 0 . 004467570516677591 <nl> + s : 3 . 0818705974092846 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> v : 0 . 97404112232614426 <nl> - a : - 0 . 30850340733062553 <nl> + a : - 0 . 30850340733062509 <nl> relative_time : 2 . 3 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587257 . 689160363 <nl> y : 4140944 . 024900279 <nl> theta : - 1 . 7986875930086708 <nl> - kappa : - 0 . 004587101474035328 <nl> - s : 3 . 1301875928949623 <nl> + kappa : - 0 . 0045871014740353272 <nl> + s : 3 . 1301875928949618 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 95865023514614633 <nl> - a : - 0 . 30711882321343031 <nl> + v : 0 . 95865023514614656 <nl> + a : - 0 . 30711882321342987 <nl> relative_time : 2 . 3499999999999996 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587257 . 67833367747 <nl> + x : 587257 . 67833367758 <nl> y : 4140943 . 978600055 <nl> theta : - 1 . 7989476776920459 <nl> - kappa : - 0 . 0047047330268090472 <nl> - s : 3 . 1777368080102639 <nl> + kappa : - 0 . 0047047330268090454 <nl> + s : 3 . 1777368080102635 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 9433305750174481 <nl> - a : - 0 . 30565413833742039 <nl> + v : 0 . 94333057501744833 <nl> + a : - 0 . 30565413833741994 <nl> relative_time : 2 . 3999999999999995 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587257 . 66768097738 <nl> y : 4140943 . 9330438785 <nl> theta : - 1 . 7992035830322866 <nl> - kappa : - 0 . 0048204742342519329 <nl> - s : 3 . 2245219047010569 <nl> + kappa : - 0 . 004820474234251932 <nl> + s : 3 . 2245219047010565 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 92808617501917323 <nl> - a : - 0 . 30410823105528229 <nl> + v : 0 . 92808617501917334 <nl> + a : - 0 . 3041082310552819 <nl> relative_time : 2 . 4499999999999993 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587257 . 65720138268 <nl> + x : 587257 . 65720138256 <nl> y : 4140943 . 8882279852 <nl> theta : - 1 . 7994553301262648 <nl> - kappa : - 0 . 0049343346579555237 <nl> - s : 3 . 270546747969223 <nl> + kappa : - 0 . 004934334657955522 <nl> + s : 3 . 2705467479692221 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 91292112431281081 <nl> - a : - 0 . 3024799797197027 <nl> + v : 0 . 912921124312811 <nl> + a : - 0 . 30247997971970225 <nl> relative_time : 2 . 4999999999999991 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587257 . 64689396636 <nl> + x : 587257 . 64689396624 <nl> y : 4140943 . 8441484109 <nl> theta : - 1 . 7997029412003038 <nl> - kappa : - 0 . 005046324368786788 <nl> - s : 3 . 315815408676777 <nl> + kappa : - 0 . 0050463243687867872 <nl> + s : 3 . 3158154086767766 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 89783956814221555 <nl> - a : - 0 . 300768262683368 <nl> + v : 0 . 89783956814221588 <nl> + a : - 0 . 30076826268336754 <nl> relative_time : 2 . 5499999999999989 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 8828457078336085 <nl> - a : - 0 . 29897195829896483 <nl> + v : 0 . 88284570783360872 <nl> + a : - 0 . 29897195829896439 <nl> relative_time : 2 . 5999999999999988 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587257 . 62679172331 <nl> y : 4140943 . 7581813484 <nl> theta : - 1 . 8001858499322083 <nl> - kappa : - 0 . 0052647345232998861 <nl> - s : 3 . 40410151198349 <nl> + kappa : - 0 . 0052647345232998844 <nl> + s : 3 . 4041015119834896 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 86794380079557565 <nl> - a : - 0 . 29708994491917967 <nl> + v : 0 . 86794380079557587 <nl> + a : - 0 . 29708994491917923 <nl> relative_time : 2 . 6499999999999986 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587257 . 61699480261 <nl> y : 4140943 . 7162849046 <nl> theta : - 1 . 8004211978266249 <nl> - kappa : - 0 . 0053711777175265681 <nl> - s : 3 . 4471281508444127 <nl> + kappa : - 0 . 0053711777175265672 <nl> + s : 3 . 4471281508444123 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 85313816051906888 <nl> - a : - 0 . 29512110089669913 <nl> + v : 0 . 85313816051906921 <nl> + a : - 0 . 29512110089669868 <nl> relative_time : 2 . 6999999999999984 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 83843315657740591 <nl> - a : - 0 . 29306430458420968 <nl> + v : 0 . 83843315657740636 <nl> + a : - 0 . 29306430458420923 <nl> relative_time : 2 . 7499999999999982 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 82383321462627013 <nl> - a : - 0 . 2909184343343979 <nl> + v : 0 . 82383321462627046 <nl> + a : - 0 . 29091843433439746 <nl> relative_time : 2 . 799999999999998 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587257 . 58860724233 <nl> + x : 587257 . 58860724221 <nl> y : 4140943 . 5948857572 <nl> theta : - 1 . 8011031420371229 <nl> - kappa : - 0 . 0056796075488552075 <nl> - s : 3 . 5718021524367667 <nl> + kappa : - 0 . 0056796075488552067 <nl> + s : 3 . 5718021524367662 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 8093428164037102 <nl> - a : - 0 . 28868236849995033 <nl> + v : 0 . 80934281640371053 <nl> + a : - 0 . 28868236849994988 <nl> relative_time : 2 . 8499999999999979 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 794966499730141 <nl> - a : - 0 . 28635498543355348 <nl> + v : 0 . 79496649973014133 <nl> + a : - 0 . 28635498543355303 <nl> relative_time : 2 . 8999999999999977 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 7807088585083426 <nl> - a : - 0 . 28393516348789394 <nl> + v : 0 . 780708858508343 <nl> + a : - 0 . 28393516348789349 <nl> relative_time : 2 . 9499999999999975 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 76657454272346126 <nl> - a : - 0 . 28142178101565818 <nl> + v : 0 . 7665745427234617 <nl> + a : - 0 . 28142178101565773 <nl> relative_time : 2 . 9999999999999973 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587257 . 55305090849 <nl> y : 4140943 . 4428294143 <nl> theta : - 1 . 801957298522078 <nl> - kappa : - 0 . 0060659258470142745 <nl> - s : 3 . 7279603551383698 <nl> + kappa : - 0 . 0060659258470142719 <nl> + s : 3 . 7279603551383689 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 75256745699644823 <nl> - a : - 0 . 278846250783789 <nl> + v : 0 . 75256745699644911 <nl> + a : - 0 . 27884625078378861 <nl> relative_time : 3 . 0499999999999972 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587257 . 54456225608 <nl> y : 4140943 . 4065277674 <nl> theta : - 1 . 8021612180178517 <nl> - kappa : - 0 . 0061581547543222721 <nl> - s : 3 . 7652412721205097 <nl> + kappa : - 0 . 00615815475432227 <nl> + s : 3 . 7652412721205089 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 73869145259631119 <nl> - a : - 0 . 27617862347818711 <nl> + v : 0 . 738691452596312 <nl> + a : - 0 . 27617862347818672 <nl> relative_time : 3 . 099999999999997 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587257 . 53623081 <nl> + x : 587257 . 53623080987 <nl> y : 4140943 . 3708984125 <nl> theta : - 1 . 8023613608890663 <nl> kappa : - 0 . 0062486756196011052 <nl> - s : 3 . 8018317616114223 <nl> + s : 3 . 8018317616114219 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 72495112004610252 <nl> - a : - 0 . 27341947232421082 <nl> + v : 0 . 7249511200461034 <nl> + a : - 0 . 27341947232421043 <nl> relative_time : 3 . 1499999999999968 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> y : 4140943 . 3359346329 <nl> theta : - 1 . 8025577648561197 <nl> kappa : - 0 . 0063375055071500843 <nl> - s : 3 . 8377387213695711 <nl> + s : 3 . 8377387213695706 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 71135102120760718 <nl> - a : - 0 . 27056937054721847 <nl> + v : 0 . 711351021207608 <nl> + a : - 0 . 27056937054721808 <nl> relative_time : 3 . 1999999999999966 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587257 . 52003320283 <nl> y : 4140943 . 30162949 <nl> theta : - 1 . 8027504688846383 <nl> - kappa : - 0 . 006424662043773231 <nl> - s : 3 . 8729692765299766 <nl> + kappa : - 0 . 0064246620437732292 <nl> + s : 3 . 8729692765299757 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 69789568928134182 <nl> - a : - 0 . 26762889137256834 <nl> + v : 0 . 6978956892813426 <nl> + a : - 0 . 26762889137256796 <nl> relative_time : 3 . 2499999999999964 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587257 . 51216374559 <nl> + x : 587257 . 51216374571 <nl> y : 4140943 . 2679758277 <nl> - theta : - 1 . 802939513177529 <nl> - kappa : - 0 . 0065101634152340323 <nl> - s : 3 . 9075307781711528 <nl> + theta : - 1 . 8029395131775288 <nl> + kappa : - 0 . 0065101634152340306 <nl> + s : 3 . 9075307781711519 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 68458962880655538 <nl> - a : - 0 . 26459860802561874 <nl> + v : 0 . 68458962880655627 <nl> + a : - 0 . 26459860802561841 <nl> relative_time : 3 . 2999999999999963 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587257 . 50444490334 <nl> y : 4140943 . 2349662669 <nl> theta : - 1 . 8031249391670321 <nl> - kappa : - 0 . 00659402836271021 <nl> - s : 3 . 9414308018820456 <nl> + kappa : - 0 . 0065940283627102091 <nl> + s : 3 . 9414308018820452 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 671437315661229 <nl> - a : - 0 . 26147909373172806 <nl> + v : 0 . 67143731566122988 <nl> + a : - 0 . 26147909373172767 <nl> relative_time : 3 . 3499999999999961 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587257 . 4968749 <nl> y : 4140943 . 2025932153 <nl> theta : - 1 . 8033067895067814 <nl> - kappa : - 0 . 0066762761792484651 <nl> - s : 3 . 9746771463289678 <nl> + kappa : - 0 . 0066762761792484642 <nl> + s : 3 . 9746771463289674 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 65844319706207577 <nl> - a : - 0 . 25827092171625454 <nl> + v : 0 . 65844319706207666 <nl> + a : - 0 . 25827092171625421 <nl> relative_time : 3 . 3999999999999959 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587257 . 48938910512 <nl> + x : 587257 . 48938910523 <nl> y : 4140943 . 1708637718 <nl> theta : - 1 . 8035106419476892 <nl> - kappa : - 0 . 0067608835631881347 <nl> - s : 4 . 0072778318225364 <nl> + kappa : - 0 . 0067608835631881321 <nl> + s : 4 . 0072778318225355 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 64561169156454068 <nl> - a : - 0 . 25497466520455653 <nl> + v : 0 . 64561169156454168 <nl> + a : - 0 . 25497466520455619 <nl> relative_time : 3 . 4499999999999957 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 63294718906280134 <nl> - a : - 0 . 25159089742199231 <nl> + v : 0 . 63294718906280223 <nl> + a : - 0 . 251590897421992 <nl> relative_time : 3 . 4999999999999956 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587257 . 474562403 <nl> + x : 587257 . 47456240316 <nl> y : 4140943 . 1093271817 <nl> theta : - 1 . 8040252670530155 <nl> - kappa : - 0 . 0069435709752880895 <nl> - s : 4 . 0705754068152178 <nl> + kappa : - 0 . 0069435709752880877 <nl> + s : 4 . 0705754068152169 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 62045405078976668 <nl> - a : - 0 . 24812019159392024 <nl> + v : 0 . 62045405078976767 <nl> + a : - 0 . 2481201915939199 <nl> relative_time : 3 . 5499999999999954 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 60813660931707847 <nl> - a : - 0 . 2445631209456986 <nl> + v : 0 . 60813660931707947 <nl> + a : - 0 . 24456312094569829 <nl> relative_time : 3 . 5999999999999952 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 59599916855511015 <nl> - a : - 0 . 24092025870268571 <nl> + v : 0 . 59599916855511115 <nl> + a : - 0 . 24092025870268544 <nl> relative_time : 3 . 649999999999995 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 58404600375296722 <nl> - a : - 0 . 2371921780902399 <nl> + v : 0 . 58404600375296822 <nl> + a : - 0 . 23719217809023962 <nl> relative_time : 3 . 6999999999999948 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 57228136149848741 <nl> - a : - 0 . 23337945233371948 <nl> + v : 0 . 57228136149848852 <nl> + a : - 0 . 23337945233371923 <nl> relative_time : 3 . 7499999999999947 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 5607094597182406 <nl> - a : - 0 . 22948265465848278 <nl> + v : 0 . 56070945971824171 <nl> + a : - 0 . 22948265465848253 <nl> relative_time : 3 . 7999999999999945 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 54933448767752857 <nl> - a : - 0 . 22550235828988807 <nl> + v : 0 . 54933448767752968 <nl> + a : - 0 . 22550235828988785 <nl> relative_time : 3 . 8499999999999943 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 53816060598038518 <nl> - a : - 0 . 22143913645329372 <nl> + v : 0 . 53816060598038629 <nl> + a : - 0 . 22143913645329349 <nl> relative_time : 3 . 8999999999999941 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 52719194656957669 <nl> - a : - 0 . 217293562374058 <nl> + v : 0 . 5271919465695778 <nl> + a : - 0 . 21729356237405778 <nl> relative_time : 3 . 949999999999994 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 5164326127266009 <nl> - a : - 0 . 21306620927753928 <nl> + v : 0 . 516432612726602 <nl> + a : - 0 . 21306620927753905 <nl> relative_time : 3 . 9999999999999938 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 50588667907168816 <nl> - a : - 0 . 20875765038909577 <nl> + v : 0 . 50588667907168938 <nl> + a : - 0 . 20875765038909561 <nl> relative_time : 4 . 0499999999999936 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 49555819156380082 <nl> - a : - 0 . 20436845893408589 <nl> + v : 0 . 49555819156380193 <nl> + a : - 0 . 20436845893408573 <nl> relative_time : 4 . 0999999999999934 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587257 . 39718784217 <nl> - y : 4140942 . 7881926103 <nl> + y : 4140942 . 78819261 <nl> theta : - 1 . 8067109109009845 <nl> - kappa : - 0 . 0078969426839970158 <nl> - s : 4 . 400899847531945 <nl> + kappa : - 0 . 00789694268399702 <nl> + s : 4 . 4008998475319459 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 48545116750063316 <nl> - a : - 0 . 19989920813786791 <nl> + v : 0 . 48545116750063427 <nl> + a : - 0 . 19989920813786777 <nl> relative_time : 4 . 1499999999999932 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587257 . 39156037278 <nl> y : 4140942 . 7648364194 <nl> theta : - 1 . 8069062392937412 <nl> - kappa : - 0 . 0079662816243913637 <nl> - s : 4 . 4249244189519121 <nl> + kappa : - 0 . 0079662816243913671 <nl> + s : 4 . 424924418951913 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 47556959551861161 <nl> - a : - 0 . 19535047122580018 <nl> + v : 0 . 47556959551861272 <nl> + a : - 0 . 19535047122580002 <nl> relative_time : 4 . 1999999999999931 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 46591743559289472 <nl> - a : - 0 . 19072282142324093 <nl> + v : 0 . 46591743559289589 <nl> + a : - 0 . 19072282142324082 <nl> relative_time : 4 . 2499999999999929 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 4564986190373731 <nl> - a : - 0 . 18601683195554858 <nl> + v : 0 . 45649861903737426 <nl> + a : - 0 . 18601683195554847 <nl> relative_time : 4 . 2999999999999927 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 44731704850466952 <nl> - a : - 0 . 18123307604808137 <nl> + v : 0 . 44731704850467063 <nl> + a : - 0 . 18123307604808125 <nl> relative_time : 4 . 3499999999999925 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587257 . 37016709172 <nl> y : 4140942 . 6760459691 <nl> theta : - 1 . 8076487962975412 <nl> - kappa : - 0 . 0082298792283000913 <nl> - s : 4 . 516255775116587 <nl> + kappa : - 0 . 0082298792283000931 <nl> + s : 4 . 5162557751165879 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 43837659798613871 <nl> - a : - 0 . 17637212692619766 <nl> + v : 0 . 43837659798613982 <nl> + a : - 0 . 17637212692619753 <nl> relative_time : 4 . 3999999999999924 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 42968111281186744 <nl> - a : - 0 . 17143455781525574 <nl> + v : 0 . 4296811128118686 <nl> + a : - 0 . 17143455781525563 <nl> relative_time : 4 . 4499999999999922 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587257 . 36010135291 <nl> y : 4140942 . 634269231 <nl> - theta : - 1 . 8079981763064565 <nl> - kappa : - 0 . 008353904367424855 <nl> - s : 4 . 559228032780581 <nl> + theta : - 1 . 8079981763064568 <nl> + kappa : - 0 . 0083539043674248584 <nl> + s : 4 . 5592280327805819 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 42123440965067482 <nl> - a : - 0 . 16642094194061396 <nl> + v : 0 . 421234409650676 <nl> + a : - 0 . 1664209419406138 <nl> relative_time : 4 . 499999999999992 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 41303835008234646 <nl> - a : - 0 . 16140618346066177 <nl> + v : 0 . 41303835008234752 <nl> + a : - 0 . 16140618346066163 <nl> relative_time : 4 . 5499999999999918 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 40509527058650219 <nl> - a : - 0 . 15630266806710497 <nl> + v : 0 . 40509527058650324 <nl> + a : - 0 . 15630266806710491 <nl> relative_time : 4 . 5999999999999917 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 39740946965494373 <nl> - a : - 0 . 15111596991508547 <nl> + v : 0 . 39740946965494478 <nl> + a : - 0 . 1511159699150855 <nl> relative_time : 4 . 6499999999999915 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 3899849670717157 <nl> - a : - 0 . 14585166315974515 <nl> + v : 0 . 38998496707171676 <nl> + a : - 0 . 14585166315974518 <nl> relative_time : 4 . 6999999999999913 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587257 . 336590291 <nl> y : 4140942 . 5366891641 <nl> theta : - 1 . 8088142404627785 <nl> - kappa : - 0 . 0086435962384364511 <nl> - s : 4 . 6596005363885133 <nl> + kappa : - 0 . 0086435962384364528 <nl> + s : 4 . 6596005363885142 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 38282550391310555 <nl> - a : - 0 . 14051532195622582 <nl> + v : 0 . 38282550391310666 <nl> + a : - 0 . 1405153219562259 <nl> relative_time : 4 . 7499999999999911 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587257 . 33214729233 <nl> + x : 587257 . 33214729221 <nl> y : 4140942 . 5182489883 <nl> theta : - 1 . 808968455873138 <nl> - kappa : - 0 . 008698340706912857 <nl> - s : 4 . 6785684119470323 <nl> + kappa : - 0 . 00869834070691286 <nl> + s : 4 . 6785684119470332 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 3759345425476438 <nl> - a : - 0 . 13511252045966937 <nl> + v : 0 . 37593454254764486 <nl> + a : - 0 . 13511252045966946 <nl> relative_time : 4 . 7999999999999909 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 36931526663610359 <nl> - a : - 0 . 12964883282521761 <nl> + v : 0 . 36931526663610464 <nl> + a : - 0 . 12964883282521772 <nl> relative_time : 4 . 8499999999999908 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 36297058113150127 <nl> - a : - 0 . 12412983320801246 <nl> + v : 0 . 36297058113150232 <nl> + a : - 0 . 12412983320801257 <nl> relative_time : 4 . 8999999999999906 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587257 . 31928017666 <nl> y : 4140942 . 4648454459 <nl> theta : - 1 . 809415069928995 <nl> - kappa : - 0 . 0088568830481305528 <nl> - s : 4 . 7335001974345383 <nl> + kappa : - 0 . 0088568830481305545 <nl> + s : 4 . 7335001974345392 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 35690311227909594 <nl> - a : - 0 . 11856109576319573 <nl> + v : 0 . 356903112279097 <nl> + a : - 0 . 11856109576319585 <nl> relative_time : 4 . 94999999999999 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587257 . 31513432937 <nl> y : 4140942 . 4476385643 <nl> theta : - 1 . 8095589709965874 <nl> - kappa : - 0 . 0089079661620576744 <nl> - s : 4 . 7511994860581712 <nl> + kappa : - 0 . 0089079661620576761 <nl> + s : 4 . 7511994860581721 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 35111520761638959 <nl> - a : - 0 . 11294819464590931 <nl> + v : 0 . 35111520761639059 <nl> + a : - 0 . 11294819464590941 <nl> relative_time : 4 . 99999999999999 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 34560893597312714 <nl> - a : - 0 . 10729670401129503 <nl> + v : 0 . 3456089359731282 <nl> + a : - 0 . 10729670401129511 <nl> relative_time : 5 . 04999999999999 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587257 . 3070377456 <nl> - y : 4140942 . 4140345878 <nl> + y : 4140942 . 4140345883 <nl> theta : - 1 . 8098400006412414 <nl> - kappa : - 0 . 0090077283283677735 <nl> - s : 4 . 7857651035293456 <nl> + kappa : - 0 . 009007728328367777 <nl> + s : 4 . 7857651035293465 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 34038608747129656 <nl> - a : - 0 . 10161219801449475 <nl> + v : 0 . 34038608747129762 <nl> + a : - 0 . 10161219801449481 <nl> relative_time : 5 . 09999999999999 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 33544817352512846 <nl> - a : - 0 . 095900250810650345 <nl> + v : 0 . 33544817352512951 <nl> + a : - 0 . 095900250810650359 <nl> relative_time : 5 . 14999999999999 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587257 . 299179155 <nl> y : 4140942 . 3814183748 <nl> theta : - 1 . 8101127692752443 <nl> - kappa : - 0 . 0091045580603088087 <nl> - s : 4 . 8193146904910646 <nl> + kappa : - 0 . 00910455806030881 <nl> + s : 4 . 8193146904910655 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 33079642684109656 <nl> - a : - 0 . 090166436554903653 <nl> + v : 0 . 33079642684109761 <nl> + a : - 0 . 09016643655490364 <nl> relative_time : 5 . 1999999999999895 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 3264318014179175 <nl> - a : - 0 . 084416329402396531 <nl> + v : 0 . 3264318014179185 <nl> + a : - 0 . 084416329402396489 <nl> relative_time : 5 . 2499999999999893 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587257 . 29153175582 <nl> - y : 4140942 . 3496786891 <nl> + y : 4140942 . 3496786887 <nl> theta : - 1 . 8103782071635997 <nl> - kappa : - 0 . 0091987855944902375 <nl> - s : 4 . 851962667396891 <nl> + kappa : - 0 . 009198785594490241 <nl> + s : 4 . 8519626673968919 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 3223549725465506 <nl> - a : - 0 . 078655503508270858 <nl> + v : 0 . 32235497254655165 <nl> + a : - 0 . 07865550350827076 <nl> relative_time : 5 . 2999999999999892 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587257 . 28777883272 <nl> - y : 4140942 . 3341025966 <nl> + y : 4140942 . 3341025962 <nl> theta : - 1 . 8105084693340769 <nl> - kappa : - 0 . 00924502728587928 <nl> - s : 4 . 8679844988676049 <nl> + kappa : - 0 . 0092450272858792832 <nl> + s : 4 . 8679844988676058 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 31856633681019836 <nl> - a : - 0 . 072889533027668457 <nl> + v : 0 . 31856633681019941 <nl> + a : - 0 . 072889533027668346 <nl> relative_time : 5 . 349999999999989 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587257 . 28406859364 <nl> y : 4140942 . 3187036584 <nl> theta : - 1 . 8106372498702499 <nl> - kappa : - 0 . 00929074304848277 <nl> - s : 4 . 883824106416256 <nl> + kappa : - 0 . 0092907430484827722 <nl> + s : 4 . 8838241064162569 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 315066012084306 <nl> - a : - 0 . 06712399211573121 <nl> + v : 0 . 31506601208430707 <nl> + a : - 0 . 067123992115731057 <nl> relative_time : 5 . 3999999999999888 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587257 . 28039766219 <nl> y : 4140942 . 3034678632 <nl> theta : - 1 . 8107646659505261 <nl> - kappa : - 0 . 0093359744797429488 <nl> - s : 4 . 8994959027338423 <nl> + kappa : - 0 . 00933597447974295 <nl> + s : 4 . 8994959027338432 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 31185383753656182 <nl> - a : - 0 . 061364454927600967 <nl> + v : 0 . 31185383753656287 <nl> + a : - 0 . 061364454927600773 <nl> relative_time : 5 . 4499999999999886 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587257 . 27676266606 <nl> + x : 587257 . 27676266618 <nl> y : 4140942 . 2883812133 <nl> theta : - 1 . 81089083463114 <nl> - kappa : - 0 . 0093807631337826727 <nl> - s : 4 . 9150142855020515 <nl> + kappa : - 0 . 0093807631337826745 <nl> + s : 4 . 9150142855020524 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 30892937362689682 <nl> - a : - 0 . 055616495618419581 <nl> + v : 0 . 30892937362689787 <nl> + a : - 0 . 055616495618419345 <nl> relative_time : 5 . 4999999999999885 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587257 . 27316023957 <nl> - y : 4140942 . 2734297393 <nl> + y : 4140942 . 2734297398 <nl> theta : - 1 . 8110158727328198 <nl> - kappa : - 0 . 0094251504811855465 <nl> - s : 4 . 9303936234578734 <nl> + kappa : - 0 . 0094251504811855517 <nl> + s : 4 . 9303936234578751 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 306291902107485 <nl> - a : - 0 . 049885688343328918 <nl> + v : 0 . 30629190210748614 <nl> + a : - 0 . 049885688343328655 <nl> relative_time : 5 . 5499999999999883 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587257 . 269587027 <nl> y : 4140942 . 2585995151 <nl> theta : - 1 . 8111398967274572 <nl> - kappa : - 0 . 0094691778687760724 <nl> - s : 4 . 9456482424582147 <nl> + kappa : - 0 . 0094691778687760776 <nl> + s : 4 . 9456482424582164 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 3039404260227434 <nl> - a : - 0 . 044177607257470816 <nl> + v : 0 . 30394042602274451 <nl> + a : - 0 . 044177607257470525 <nl> relative_time : 5 . 5999999999999881 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587257 . 266039686 <nl> - y : 4140942 . 2438766682 <nl> + y : 4140942 . 2438766677 <nl> theta : - 1 . 8112630226247779 <nl> - kappa : - 0 . 0095128864793997646 <nl> - s : 4 . 9607924115445075 <nl> + kappa : - 0 . 00951288647939977 <nl> + s : 4 . 9607924115445092 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 30187366970933172 <nl> - a : - 0 . 038497826515987155 <nl> + v : 0 . 30187366970933283 <nl> + a : - 0 . 038497826515986849 <nl> relative_time : 5 . 6499999999999879 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587257 . 26251489075 <nl> y : 4140942 . 2292473945 <nl> theta : - 1 . 8113853658590153 <nl> - kappa : - 0 . 0095563172917032882 <nl> - s : 4 . 9758403290073225 <nl> + kappa : - 0 . 0095563172917032934 <nl> + s : 4 . 9758403290073243 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 30009007879615274 <nl> - a : - 0 . 032851920274019786 <nl> + v : 0 . 3000900787961539 <nl> + a : - 0 . 032851920274019453 <nl> relative_time : 5 . 6999999999999877 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587257 . 25900933542 <nl> y : 4140942 . 2146979743 <nl> - theta : - 1 . 811507041175584 <nl> - kappa : - 0 . 00959951103991461 <nl> - s : 4 . 9908061084509834 <nl> + theta : - 1 . 8115070411755843 <nl> + kappa : - 0 . 0095995110399146148 <nl> + s : 4 . 9908061084509852 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 29858782020435215 <nl> - a : - 0 . 027245462686710548 <nl> + v : 0 . 29858782020435326 <nl> + a : - 0 . 027245462686710215 <nl> relative_time : 5 . 7499999999999876 <nl> } <nl> trajectory_point { <nl> path_point { <nl> x : 587257 . 25543286174 <nl> - y : 4140942 . 20023616 <nl> + y : 4140942 . 2002361594 <nl> theta : - 1 . 8116570101966416 <nl> - kappa : - 0 . 0096467671353256939 <nl> - s : 5 . 0057037648581755 <nl> + kappa : - 0 . 0096467671353256956 <nl> + s : 5 . 0057037648581764 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 29736478214731837 <nl> - a : - 0 . 021684027909201292 <nl> + v : 0 . 29736478214731954 <nl> + a : - 0 . 021684027909200987 <nl> relative_time : 5 . 7999999999999874 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587257 . 2518162349 <nl> y : 4140942 . 1858400633 <nl> theta : - 1 . 811824089064894 <nl> - kappa : - 0 . 00969645782227509 <nl> - s : 5 . 0205472006545593 <nl> + kappa : - 0 . 0096964578222750956 <nl> + s : 5 . 0205472006545611 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 29641857413068295 <nl> - a : - 0 . 016173190096633927 <nl> + v : 0 . 29641857413068418 <nl> + a : - 0 . 016173190096633594 <nl> relative_time : 5 . 8499999999999872 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587257 . 24820946262 <nl> + x : 587257 . 2482094625 <nl> y : 4140942 . 1714831921 <nl> theta : - 1 . 8119907129821329 <nl> - kappa : - 0 . 0097460131144386127 <nl> - s : 5 . 0353501917733858 <nl> + kappa : - 0 . 0097460131144386161 <nl> + s : 5 . 0353501917733867 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 29574652695232029 <nl> - a : - 0 . 010718523404150249 <nl> + v : 0 . 29574652695232145 <nl> + a : - 0 . 010718523404149943 <nl> relative_time : 5 . 899999999999987 <nl> } <nl> trajectory_point { <nl> path_point { <nl> - x : 587257 . 24460922228 <nl> + x : 587257 . 2446092224 <nl> y : 4140942 . 1571523226 <nl> theta : - 1 . 8121570354196888 <nl> - kappa : - 0 . 0097954786587703679 <nl> - s : 5 . 0501263737201025 <nl> + kappa : - 0 . 0097954786587703731 <nl> + s : 5 . 0501263737201034 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 29534569270234756 <nl> - a : - 0 . 0053256019868921367 <nl> + v : 0 . 29534569270234873 <nl> + a : - 0 . 0053256019868918869 <nl> relative_time : 5 . 9499999999999869 <nl> } <nl> trajectory_point { <nl> trajectory_point { <nl> x : 587257 . 24101222947 <nl> y : 4140942 . 1428343793 <nl> theta : - 1 . 81232320811252 <nl> - kappa : - 0 . 0098448995854699319 <nl> - s : 5 . 0648892276369706 <nl> + kappa : - 0 . 0098448995854699354 <nl> + s : 5 . 0648892276369715 <nl> dkappa : 0 <nl> ddkappa : 0 <nl> } <nl> - v : 0 . 29521284476312493 <nl> - a : - 1 . 4710455076283324e - 15 <nl> + v : 0 . 29521284476312615 <nl> + a : - 1 . 27675647831893e - 15 <nl> relative_time : 5 . 9999999999999867 <nl> } <nl> decision { <nl>
Planning : used evaluated points as monotonic constraint points .
ApolloAuto/apollo
75027c47491f033c149851314d64954fda133895
2017-10-04T00:28:52Z
mmm a / doc / tutorials / features2d / feature_description / feature_description . rst <nl> ppp b / doc / tutorials / features2d / feature_description / feature_description . rst <nl> In this tutorial you will learn how to : <nl> * Use the : descriptor_extractor : ` DescriptorExtractor < > ` interface in order to find the feature vector correspondent to the keypoints . Specifically : <nl> <nl> * Use : surf_descriptor_extractor : ` SurfDescriptorExtractor < > ` and its function : descriptor_extractor : ` compute < > ` to perform the required calculations . <nl> - * Use a : brute_force_matcher : ` BruteForceMatcher < > ` to match the features vector <nl> + * Use a : brute_force_matcher : ` BFMatcher < > ` to match the features vector <nl> * Use the function : draw_matches : ` drawMatches < > ` to draw the detected matches . <nl> <nl> <nl> This tutorial code ' s is shown lines below . You can also download it from ` here < <nl> extractor . compute ( img_2 , keypoints_2 , descriptors_2 ) ; <nl> <nl> / / - - Step 3 : Matching descriptor vectors with a brute force matcher <nl> - BruteForceMatcher < L2 < float > > matcher ; <nl> + BFMatcher matcher ( NORM_L2 ) ; <nl> std : : vector < DMatch > matches ; <nl> matcher . match ( descriptors_1 , descriptors_2 , matches ) ; <nl> <nl>
Merge pull request from gpsinghsandhu : featureDescriptionTutorials
opencv/opencv
5163986e7de3d2838f7854be5419eb6a1e399ed0
2013-04-05T07:46:06Z
mmm a / src / app / ui / layer_frame_comboboxes . cpp <nl> ppp b / src / app / ui / layer_frame_comboboxes . cpp <nl> FrameListItem : : FrameListItem ( doc : : FrameTag * tag ) <nl> void fill_layers_combobox ( const doc : : Sprite * sprite , ui : : ComboBox * layers , const std : : string & defLayer ) <nl> { <nl> int i = layers - > addItem ( " Visible layers " ) ; <nl> - dynamic_cast < LayerListItem * > ( layers - > getItem ( i ) ) - > setValue ( kAllLayers ) ; <nl> + dynamic_cast < ui : : ListItem * > ( layers - > getItem ( i ) ) - > setValue ( kAllLayers ) ; <nl> <nl> i = layers - > addItem ( " Selected layers " ) ; <nl> - dynamic_cast < LayerListItem * > ( layers - > getItem ( i ) ) - > setValue ( kSelectedLayers ) ; <nl> + dynamic_cast < ui : : ListItem * > ( layers - > getItem ( i ) ) - > setValue ( kSelectedLayers ) ; <nl> if ( defLayer = = kSelectedLayers ) <nl> layers - > setSelectedItemIndex ( i ) ; <nl> <nl> void fill_layers_combobox ( const doc : : Sprite * sprite , ui : : ComboBox * layers , const <nl> void fill_frames_combobox ( const doc : : Sprite * sprite , ui : : ComboBox * frames , const std : : string & defFrame ) <nl> { <nl> int i = frames - > addItem ( " All frames " ) ; <nl> - dynamic_cast < FrameListItem * > ( frames - > getItem ( i ) ) - > setValue ( kAllFrames ) ; <nl> + dynamic_cast < ui : : ListItem * > ( frames - > getItem ( i ) ) - > setValue ( kAllFrames ) ; <nl> <nl> i = frames - > addItem ( " Selected frames " ) ; <nl> - dynamic_cast < FrameListItem * > ( frames - > getItem ( i ) ) - > setValue ( kSelectedFrames ) ; <nl> + dynamic_cast < ui : : ListItem * > ( frames - > getItem ( i ) ) - > setValue ( kSelectedFrames ) ; <nl> if ( defFrame = = kSelectedFrames ) <nl> frames - > setSelectedItemIndex ( i ) ; <nl> <nl>
Fix crash opening Export Sprite Sheet dialog
aseprite/aseprite
4cc812823c5484df11fdc9287db18b2aca6f4dff
2017-08-08T18:26:48Z