id
stringlengths
11
15
language
stringclasses
1 value
question
stringlengths
13
844
answer
stringlengths
1
900
code
stringlengths
162
27.4k
code_original
stringlengths
162
26k
code_word_count
int64
51
5.96k
java-test-3628
java
What do we adjust ?
the edge buffer
private static Boolean find Convex Polygon ( final Planet Model planet Model , final Edge current Edge , final Geo Composite Polygon rval , final Edge Buffer edge Buffer , final List < Geo Polygon > holes , final Geo Point test Point ) { final Set < Edge > included Edges = new Hash Set < > ( ) ; included Edges . add ( ...
private static Boolean findConvexPolygon ( final PlanetModel planetModel , final Edge currentEdge , final GeoCompositePolygon rval , final EdgeBuffer edgeBuffer , final List < GeoPolygon > holes , final GeoPoint testPoint ) { final Set < Edge > includedEdges = new HashSet < > ( ) ; includedEdges . add ( currentEdge ) ;...
1,528
java-test-3630
java
What does the code locate in one of the default installation directories ?
a chrome installation
public static String locate Chrome ( ) { String os = Platform . get OS ( ) ; List < File > locations To Check = new Array List < File > ( ) ; if ( Platform . OS WIN 32 . equals ( os ) ) { String [ ] env Variables = new String [ ] { STRING , STRING , STRING , STRING , STRING , STRING } ; String [ ] appended Paths = new ...
public static String locateChrome ( ) { String os = Platform . getOS ( ) ; List < File > locationsToCheck = new ArrayList < File > ( ) ; if ( Platform . OS_WIN32 . equals ( os ) ) { String [ ] envVariables = new String [ ] { STRING , STRING , STRING , STRING , STRING , STRING } ; String [ ] appendedPaths = new String [...
396
java-test-3631
java
Where does the code locate a chrome installation ?
in one of the default installation directories
public static String locate Chrome ( ) { String os = Platform . get OS ( ) ; List < File > locations To Check = new Array List < File > ( ) ; if ( Platform . OS WIN 32 . equals ( os ) ) { String [ ] env Variables = new String [ ] { STRING , STRING , STRING , STRING , STRING , STRING } ; String [ ] appended Paths = new ...
public static String locateChrome ( ) { String os = Platform . getOS ( ) ; List < File > locationsToCheck = new ArrayList < File > ( ) ; if ( Platform . OS_WIN32 . equals ( os ) ) { String [ ] envVariables = new String [ ] { STRING , STRING , STRING , STRING , STRING , STRING } ; String [ ] appendedPaths = new String [...
396
java-test-3632
java
What require notification from a partitioned region ?
any cache components
protected boolean requires Notification From PR ( Partitioned Region r ) { synchronized ( Gem Fire Cache Impl . class ) { boolean has Serial Senders = has Serial Senders ( r ) ; boolean result = has Serial Senders ; if ( ! result ) { Iterator all Cache Servers Iterator = all Cache Servers . iterator ( ) ; while ( all C...
protected boolean requiresNotificationFromPR ( PartitionedRegion r ) { synchronized ( GemFireCacheImpl . class ) { boolean hasSerialSenders = hasSerialSenders ( r ) ; boolean result = hasSerialSenders ; if ( ! result ) { Iterator allCacheServersIterator = allCacheServers . iterator ( ) ; while ( allCacheServersIterator...
120
java-test-3633
java
Where must a pr do the messaging ?
on each put / destroy / invalidate operation
protected boolean requires Notification From PR ( Partitioned Region r ) { synchronized ( Gem Fire Cache Impl . class ) { boolean has Serial Senders = has Serial Senders ( r ) ; boolean result = has Serial Senders ; if ( ! result ) { Iterator all Cache Servers Iterator = all Cache Servers . iterator ( ) ; while ( all C...
protected boolean requiresNotificationFromPR ( PartitionedRegion r ) { synchronized ( GemFireCacheImpl . class ) { boolean hasSerialSenders = hasSerialSenders ( r ) ; boolean result = hasSerialSenders ; if ( ! result ) { Iterator allCacheServersIterator = allCacheServers . iterator ( ) ; while ( allCacheServersIterator...
120
java-test-3634
java
What does this method change ?
the point which is passed as a parameter
protected Point 2 D . Double constrain Point ( Point 2 D . Double p , Translation Direction dir ) { Point 2 D . Double p0 = constrain Point ( ( Point 2 D . Double ) p . clone ( ) ) ; switch ( dir ) { case NORTH : case NORTH WEST : case NORTH EAST : if ( p0 . y < p . y ) { p . y = p0 . y ; } else if ( p0 . y > p . y ) {...
protected Point2D . Double constrainPoint ( Point2D . Double p , TranslationDirection dir ) { Point2D . Double p0 = constrainPoint ( ( Point2D . Double ) p . clone ( ) ) ; switch ( dir ) { case NORTH : case NORTH_WEST : case NORTH_EAST : if ( p0 . y < p . y ) { p . y = p0 . y ; } else if ( p0 . y > p . y ) { p . y = p0...
285
java-test-3635
java
What does the code constrain ?
the placement of a point towards a direction
protected Point 2 D . Double constrain Point ( Point 2 D . Double p , Translation Direction dir ) { Point 2 D . Double p0 = constrain Point ( ( Point 2 D . Double ) p . clone ( ) ) ; switch ( dir ) { case NORTH : case NORTH WEST : case NORTH EAST : if ( p0 . y < p . y ) { p . y = p0 . y ; } else if ( p0 . y > p . y ) {...
protected Point2D . Double constrainPoint ( Point2D . Double p , TranslationDirection dir ) { Point2D . Double p0 = constrainPoint ( ( Point2D . Double ) p . clone ( ) ) ; switch ( dir ) { case NORTH : case NORTH_WEST : case NORTH_EAST : if ( p0 . y < p . y ) { p . y = p0 . y ; } else if ( p0 . y > p . y ) { p . y = p0...
285
java-test-3636
java
How do the input stream advance always ?
by the right amount
int escape ( ) throws RE Syntax Exception { if ( pattern . char At ( idx ) != STRING ) { internal Error ( ) ; } if ( idx + NUM == len ) { syntax Error ( STRING ) ; } idx += NUM ; char escape Char = pattern . char At ( idx - NUM ) ; switch ( escape Char ) { case RE . E BOUND : case RE . E NBOUND : return ESC COMPLEX ; c...
int escape ( ) throws RESyntaxException { if ( pattern . charAt ( idx ) != STRING ) { internalError ( ) ; } if ( idx + _NUM == len ) { syntaxError ( STRING ) ; } idx += _NUM ; char escapeChar = pattern . charAt ( idx - _NUM ) ; switch ( escapeChar ) { case RE . E_BOUND : case RE . E_NBOUND : return ESC_COMPLEX ; case R...
463
java-test-3637
java
What does this code understand ?
the subtle difference between an octal escape and a backref
int escape ( ) throws RE Syntax Exception { if ( pattern . char At ( idx ) != STRING ) { internal Error ( ) ; } if ( idx + NUM == len ) { syntax Error ( STRING ) ; } idx += NUM ; char escape Char = pattern . char At ( idx - NUM ) ; switch ( escape Char ) { case RE . E BOUND : case RE . E NBOUND : return ESC COMPLEX ; c...
int escape ( ) throws RESyntaxException { if ( pattern . charAt ( idx ) != STRING ) { internalError ( ) ; } if ( idx + _NUM == len ) { syntaxError ( STRING ) ; } idx += _NUM ; char escapeChar = pattern . charAt ( idx - _NUM ) ; switch ( escapeChar ) { case RE . E_BOUND : case RE . E_NBOUND : return ESC_COMPLEX ; case R...
463
java-test-3638
java
What can you access by looking at pattern [ idx - 1 ] ?
the type of esc_class or esc_complex or esc_backref
int escape ( ) throws RE Syntax Exception { if ( pattern . char At ( idx ) != STRING ) { internal Error ( ) ; } if ( idx + NUM == len ) { syntax Error ( STRING ) ; } idx += NUM ; char escape Char = pattern . char At ( idx - NUM ) ; switch ( escape Char ) { case RE . E BOUND : case RE . E NBOUND : return ESC COMPLEX ; c...
int escape ( ) throws RESyntaxException { if ( pattern . charAt ( idx ) != STRING ) { internalError ( ) ; } if ( idx + _NUM == len ) { syntaxError ( STRING ) ; } idx += _NUM ; char escapeChar = pattern . charAt ( idx - _NUM ) ; switch ( escapeChar ) { case RE . E_BOUND : case RE . E_NBOUND : return ESC_COMPLEX ; case R...
463
java-test-3639
java
How can you access the type of esc_class or esc_complex or esc_backref ?
by looking at pattern [ idx - 1 ]
int escape ( ) throws RE Syntax Exception { if ( pattern . char At ( idx ) != STRING ) { internal Error ( ) ; } if ( idx + NUM == len ) { syntax Error ( STRING ) ; } idx += NUM ; char escape Char = pattern . char At ( idx - NUM ) ; switch ( escape Char ) { case RE . E BOUND : case RE . E NBOUND : return ESC COMPLEX ; c...
int escape ( ) throws RESyntaxException { if ( pattern . charAt ( idx ) != STRING ) { internalError ( ) ; } if ( idx + _NUM == len ) { syntaxError ( STRING ) ; } idx += _NUM ; char escapeChar = pattern . charAt ( idx - _NUM ) ; switch ( escapeChar ) { case RE . E_BOUND : case RE . E_NBOUND : return ESC_COMPLEX ; case R...
463
java-test-3640
java
What is representing the supplied file ?
a new database row
public synchronized void create File ( JDBC Sequential File file ) throws SQL Exception { try { connection . set Auto Commit ( BOOL ) ; create File . set String ( NUM , file . get File Name ( ) ) ; create File . set String ( NUM , file . get Extension ( ) ) ; create File . set Bytes ( NUM , new byte [ NUM ] ) ; create ...
public synchronized void createFile ( JDBCSequentialFile file ) throws SQLException { try { connection . setAutoCommit ( _BOOL ) ; createFile . setString ( _NUM , file . getFileName ( ) ) ; createFile . setString ( _NUM , file . getExtension ( ) ) ; createFile . setBytes ( _NUM , new byte [ _NUM ] ) ; createFile . exec...
144
java-test-3641
java
What does the code create ?
a new database row representing the supplied file
public synchronized void create File ( JDBC Sequential File file ) throws SQL Exception { try { connection . set Auto Commit ( BOOL ) ; create File . set String ( NUM , file . get File Name ( ) ) ; create File . set String ( NUM , file . get Extension ( ) ) ; create File . set Bytes ( NUM , new byte [ NUM ] ) ; create ...
public synchronized void createFile ( JDBCSequentialFile file ) throws SQLException { try { connection . setAutoCommit ( _BOOL ) ; createFile . setString ( _NUM , file . getFileName ( ) ) ; createFile . setString ( _NUM , file . getExtension ( ) ) ; createFile . setBytes ( _NUM , new byte [ _NUM ] ) ; createFile . exec...
144
java-test-3642
java
What do a new database row represent ?
the supplied file
public synchronized void create File ( JDBC Sequential File file ) throws SQL Exception { try { connection . set Auto Commit ( BOOL ) ; create File . set String ( NUM , file . get File Name ( ) ) ; create File . set String ( NUM , file . get Extension ( ) ) ; create File . set Bytes ( NUM , new byte [ NUM ] ) ; create ...
public synchronized void createFile ( JDBCSequentialFile file ) throws SQLException { try { connection . setAutoCommit ( _BOOL ) ; createFile . setString ( _NUM , file . getFileName ( ) ) ; createFile . setString ( _NUM , file . getExtension ( ) ) ; createFile . setBytes ( _NUM , new byte [ _NUM ] ) ; createFile . exec...
144
java-test-3643
java
Where has checks given class if passed throwable ?
in one of the suppressed exceptions
public static boolean has Suppressed ( @ Nullable Throwable t , @ Nullable Class < ? extends Throwable > cls ) { if ( t == null || cls == null ) return BOOL ; if ( t . get Suppressed ( ) != null ) { for ( Throwable th : t . get Suppressed ( ) ) { if ( cls . is Assignable From ( th . get Class ( ) ) ) return BOOL ; if (...
public static boolean hasSuppressed ( @ Nullable Throwable t , @ Nullable Class < ? extends Throwable > cls ) { if ( t == null || cls == null ) return _BOOL ; if ( t . getSuppressed ( ) != null ) { for ( Throwable th : t . getSuppressed ( ) ) { if ( cls . isAssignableFrom ( th . getClass ( ) ) ) return _BOOL ; if ( has...
98
java-test-3645
java
Where is this used usually ?
in - sim
static void load Directory ( File file , Module Candidate candidate ) throws IO Exception { File [ ] files = file . list Files ( ) ; if ( files != null ) for ( File f : files ) load Sub Directory ( file , f , candidate ) ; }
static void loadDirectory ( File file , ModuleCandidate candidate ) throws IOException { File [ ] files = file . listFiles ( ) ; if ( files != null ) for ( File f : files ) loadSubDirectory ( file , f , candidate ) ; }
53
java-test-3646
java
What does the code deserialize ?
the null separated list
public void deserialize Funnel ( List < Object > serialized Funnel ) { Set < Object > funnel Step Accumulator = new Hash Set < > ( ) ; for ( Object e : serialized Funnel ) { if ( e != null ) { funnel Step Accumulator . add ( e ) ; } else { funnel Steps . add ( new Hash Set < > ( funnel Step Accumulator ) ) ; funnel Ste...
public void deserializeFunnel ( List < Object > serializedFunnel ) { Set < Object > funnelStepAccumulator = new HashSet < > ( ) ; for ( Object e : serializedFunnel ) { if ( e != null ) { funnelStepAccumulator . add ( e ) ; } else { funnelSteps . add ( new HashSet < > ( funnelStepAccumulator ) ) ; funnelStepAccumulator ...
85
java-test-3650
java
What does the code ask the user ?
whether to save the file
private boolean request Save ( ) { String msg = STRING ; int n = J Option Pane . show Confirm Dialog ( frame , msg ) ; if ( n == NUM ) { save Domain ( ) ; return BOOL ; } else if ( n == NUM ) { editor Tab . reread File ( ) ; set Saved Flag ( BOOL ) ; return BOOL ; } return BOOL ; }
private boolean requestSave ( ) { String msg = STRING ; int n = JOptionPane . showConfirmDialog ( frame , msg ) ; if ( n == _NUM ) { saveDomain ( ) ; return _BOOL ; } else if ( n == _NUM ) { editorTab . rereadFile ( ) ; setSavedFlag ( _BOOL ) ; return _BOOL ; } return _BOOL ; }
75
java-test-3651
java
What does the code draw from the configured address range ?
a random host address
protected int draw Host Address ( int host Range [ ] ) { if ( host Range [ NUM ] == host Range [ NUM ] ) { return host Range [ NUM ] ; } return host Range [ NUM ] + rng . next Int ( host Range [ NUM ] - host Range [ NUM ] ) ; }
protected int drawHostAddress ( int hostRange [ ] ) { if ( hostRange [ _NUM ] == hostRange [ _NUM ] ) { return hostRange [ _NUM ] ; } return hostRange [ _NUM ] + rng . nextInt ( hostRange [ _NUM ] - hostRange [ _NUM ] ) ; }
62
java-test-3652
java
What does this represent then ?
a null element value in the array
private void read ( Input Node node , Object list , int index ) throws Exception { Class type = entry . get Type ( ) ; Object value = null ; if ( ! node . is Empty ( ) ) { value = root . read ( node , type ) ; } Array . set ( list , index , value ) ; }
private void read ( InputNode node , Object list , int index ) throws Exception { Class type = entry . getType ( ) ; Object value = null ; if ( ! node . isEmpty ( ) ) { value = root . read ( node , type ) ; } Array . set ( list , index , value ) ; }
67
java-test-3653
java
What contains no child xml elements ?
that parent
private void read ( Input Node node , Object list , int index ) throws Exception { Class type = entry . get Type ( ) ; Object value = null ; if ( ! node . is Empty ( ) ) { value = root . read ( node , type ) ; } Array . set ( list , index , value ) ; }
private void read ( InputNode node , Object list , int index ) throws Exception { Class type = entry . getType ( ) ; Object value = null ; if ( ! node . isEmpty ( ) ) { value = root . read ( node , type ) ; } Array . set ( list , index , value ) ; }
67
java-test-3654
java
What is this used ?
to read the specified node from in to the list
private void read ( Input Node node , Object list , int index ) throws Exception { Class type = entry . get Type ( ) ; Object value = null ; if ( ! node . is Empty ( ) ) { value = root . read ( node , type ) ; } Array . set ( list , index , value ) ; }
private void read ( InputNode node , Object list , int index ) throws Exception { Class type = entry . getType ( ) ; Object value = null ; if ( ! node . isEmpty ( ) ) { value = root . read ( node , type ) ; } Array . set ( list , index , value ) ; }
67
java-test-3655
java
What does that parent contain ?
no child xml elements
private void read ( Input Node node , Object list , int index ) throws Exception { Class type = entry . get Type ( ) ; Object value = null ; if ( ! node . is Empty ( ) ) { value = root . read ( node , type ) ; } Array . set ( list , index , value ) ; }
private void read ( InputNode node , Object list , int index ) throws Exception { Class type = entry . getType ( ) ; Object value = null ; if ( ! node . isEmpty ( ) ) { value = root . read ( node , type ) ; } Array . set ( list , index , value ) ; }
67
java-test-3656
java
In which direction did the specified node read to the list ?
from in
private void read ( Input Node node , Object list , int index ) throws Exception { Class type = entry . get Type ( ) ; Object value = null ; if ( ! node . is Empty ( ) ) { value = root . read ( node , type ) ; } Array . set ( list , index , value ) ; }
private void read ( InputNode node , Object list , int index ) throws Exception { Class type = entry . getType ( ) ; Object value = null ; if ( ! node . isEmpty ( ) ) { value = root . read ( node , type ) ; } Array . set ( list , index , value ) ; }
67
java-test-3657
java
What is stored in zookeeper ?
json string
public static Cluster State load ( Integer version , byte [ ] bytes , Set < String > live Nodes , String znode ) { if ( bytes == null || bytes . length == NUM ) { return new Cluster State ( version , live Nodes , Collections . < String , Doc Collection > empty Map ( ) ) ; } Map < String , Object > state Map = ( Map < S...
public static ClusterState load ( Integer version , byte [ ] bytes , Set < String > liveNodes , String znode ) { if ( bytes == null || bytes . length == _NUM ) { return new ClusterState ( version , liveNodes , Collections . < String , DocCollection > emptyMap ( ) ) ; } Map < String , Object > stateMap = ( Map < String ...
203
java-test-3658
java
When do this use this to avoid deadlocks or long pauses ?
only when necessary
private < T > T run Write Fresh Connection ( Connection Supplier conns , Table Reference table Ref , Function < Db Write Table , T > runner ) { log . debug ( STRING ) ; Atomic Reference < T > result = Atomics . new Reference ( ) ; Thread write Thread = new Thread ( null ) ; write Thread . start ( ) ; try { write Thread...
private < T > T runWriteFreshConnection ( ConnectionSupplier conns , TableReference tableRef , Function < DbWriteTable , T > runner ) { log . debug ( STRING ) ; AtomicReference < T > result = Atomics . newReference ( ) ; Thread writeThread = new Thread ( null ) ; writeThread . start ( ) ; try { writeThread . join ( ) ;...
106
java-test-3659
java
How can this block getting a new connection if the pool is full to avoid deadlocks or long pauses ?
unlike most other calls
private < T > T run Write Fresh Connection ( Connection Supplier conns , Table Reference table Ref , Function < Db Write Table , T > runner ) { log . debug ( STRING ) ; Atomic Reference < T > result = Atomics . new Reference ( ) ; Thread write Thread = new Thread ( null ) ; write Thread . start ( ) ; try { write Thread...
private < T > T runWriteFreshConnection ( ConnectionSupplier conns , TableReference tableRef , Function < DbWriteTable , T > runner ) { log . debug ( STRING ) ; AtomicReference < T > result = Atomics . newReference ( ) ; Thread writeThread = new Thread ( null ) ; writeThread . start ( ) ; try { writeThread . join ( ) ;...
106
java-test-3660
java
What do we re ?
getting
private < T > T run Write Fresh Connection ( Connection Supplier conns , Table Reference table Ref , Function < Db Write Table , T > runner ) { log . debug ( STRING ) ; Atomic Reference < T > result = Atomics . new Reference ( ) ; Thread write Thread = new Thread ( null ) ; write Thread . start ( ) ; try { write Thread...
private < T > T runWriteFreshConnection ( ConnectionSupplier conns , TableReference tableRef , Function < DbWriteTable , T > runner ) { log . debug ( STRING ) ; AtomicReference < T > result = Atomics . newReference ( ) ; Thread writeThread = new Thread ( null ) ; writeThread . start ( ) ; try { writeThread . join ( ) ;...
106
java-test-3661
java
What does we don ?
reuse the connection we ' re getting from reentrantmanagedconnectionsupplier
private < T > T run Write Fresh Connection ( Connection Supplier conns , Table Reference table Ref , Function < Db Write Table , T > runner ) { log . debug ( STRING ) ; Atomic Reference < T > result = Atomics . new Reference ( ) ; Thread write Thread = new Thread ( null ) ; write Thread . start ( ) ; try { write Thread...
private < T > T runWriteFreshConnection ( ConnectionSupplier conns , TableReference tableRef , Function < DbWriteTable , T > runner ) { log . debug ( STRING ) ; AtomicReference < T > result = Atomics . newReference ( ) ; Thread writeThread = new Thread ( null ) ; writeThread . start ( ) ; try { writeThread . join ( ) ;...
106
java-test-3662
java
What does the code create ?
a new siteexporter with the given dependencies
@ Inject Site Exporter Impl ( Absolute Link Converter link Converter , Appendable Factory appendable Factory , Attachment Downloader attachment Downloader , Entry Store Factory entry Store Factory , Feed Provider feed Provider , Page Exporter page Exporter , Revisions Exporter revisions Exporter ) { this . link Convert...
@ Inject SiteExporterImpl ( AbsoluteLinkConverter linkConverter , AppendableFactory appendableFactory , AttachmentDownloader attachmentDownloader , EntryStoreFactory entryStoreFactory , FeedProvider feedProvider , PageExporter pageExporter , RevisionsExporter revisionsExporter ) { this . linkConverter = checkNotNull ( ...
139
java-test-3663
java
What does the code add ?
all the attributes to the given elements
protected void add Attributes ( Element element , Attributes attributes ) { boolean no Namespace Attributes = BOOL ; if ( element instanceof Abstract Element ) { Abstract Element base Element = ( Abstract Element ) element ; base Element . set Attributes ( attributes , namespace Stack , no Namespace Attributes ) ; } el...
protected void addAttributes ( Element element , Attributes attributes ) { boolean noNamespaceAttributes = _BOOL ; if ( element instanceof AbstractElement ) { AbstractElement baseElement = ( AbstractElement ) element ; baseElement . setAttributes ( attributes , namespaceStack , noNamespaceAttributes ) ; } else { int si...
193
java-test-3664
java
When do for calendar events cursor ?
for given month
void swap Cursor ( long month Millis , @ Nullable Event Cursor cursor , Content Observer content Observer ) { for ( int i = NUM ; i < m Months . size ( ) ; i ++ ) { if ( Calendar Utils . same Month ( month Millis , m Months . get ( i ) ) ) { swap Cursor ( i , cursor , content Observer ) ; break ; } } }
void swapCursor ( long monthMillis , @ Nullable EventCursor cursor , ContentObserver contentObserver ) { for ( int i = _NUM ; i < mMonths . size ( ) ; i ++ ) { if ( CalendarUtils . sameMonth ( monthMillis , mMonths . get ( i ) ) ) { swapCursor ( i , cursor , contentObserver ) ; break ; } } }
77
java-test-3665
java
What define sub sections of the json stream that are to be emitted as separate records ?
path expressions
void add Split ( String split Path ) { String [ ] splits = split Path . split ( STRING ) ; for ( String split : splits ) { split = split . trim ( ) ; if ( split . starts With ( STRING ) ) throw new Runtime Exception ( STRING + split ) ; if ( split . length ( ) == NUM ) continue ; add Field ( split , split , BOOL , BOOL...
void addSplit ( String splitPath ) { String [ ] splits = splitPath . split ( STRING ) ; for ( String split : splits ) { split = split . trim ( ) ; if ( split . startsWith ( STRING ) ) throw new RuntimeException ( STRING + split ) ; if ( split . length ( ) == _NUM ) continue ; addField ( split , split , _BOOL , _BOOL ) ...
84
java-test-3666
java
What are to be emitted as separate records ?
sub sections of the json stream
void add Split ( String split Path ) { String [ ] splits = split Path . split ( STRING ) ; for ( String split : splits ) { split = split . trim ( ) ; if ( split . starts With ( STRING ) ) throw new Runtime Exception ( STRING + split ) ; if ( split . length ( ) == NUM ) continue ; add Field ( split , split , BOOL , BOOL...
void addSplit ( String splitPath ) { String [ ] splits = splitPath . split ( STRING ) ; for ( String split : splits ) { split = split . trim ( ) ; if ( split . startsWith ( STRING ) ) throw new RuntimeException ( STRING + split ) ; if ( split . length ( ) == _NUM ) continue ; addField ( split , split , _BOOL , _BOOL ) ...
84
java-test-3667
java
What do path expressions define ?
sub sections of the json stream that are to be emitted as separate records
void add Split ( String split Path ) { String [ ] splits = split Path . split ( STRING ) ; for ( String split : splits ) { split = split . trim ( ) ; if ( split . starts With ( STRING ) ) throw new Runtime Exception ( STRING + split ) ; if ( split . length ( ) == NUM ) continue ; add Field ( split , split , BOOL , BOOL...
void addSplit ( String splitPath ) { String [ ] splits = splitPath . split ( STRING ) ; for ( String split : splits ) { split = split . trim ( ) ; if ( split . startsWith ( STRING ) ) throw new RuntimeException ( STRING + split ) ; if ( split . length ( ) == _NUM ) continue ; addField ( split , split , _BOOL , _BOOL ) ...
84
java-test-3668
java
What do sub sections of the json stream be ?
to be emitted as separate records
void add Split ( String split Path ) { String [ ] splits = split Path . split ( STRING ) ; for ( String split : splits ) { split = split . trim ( ) ; if ( split . starts With ( STRING ) ) throw new Runtime Exception ( STRING + split ) ; if ( split . length ( ) == NUM ) continue ; add Field ( split , split , BOOL , BOOL...
void addSplit ( String splitPath ) { String [ ] splits = splitPath . split ( STRING ) ; for ( String split : splits ) { split = split . trim ( ) ; if ( split . startsWith ( STRING ) ) throw new RuntimeException ( STRING + split ) ; if ( split . length ( ) == _NUM ) continue ; addField ( split , split , _BOOL , _BOOL ) ...
84
java-test-3671
java
What do nodes from a given set have transitively ?
a usage outside the set
private static Set < Node > remove Externally Used Nodes ( Set < Node > set ) { boolean change ; do { change = BOOL ; for ( Iterator < Node > iter = set . iterator ( ) ; iter . has Next ( ) ; ) { Node node = iter . next ( ) ; for ( Node usage : node . usages ( ) ) { if ( ! set . contains ( usage ) ) { change = BOOL ; i...
private static Set < Node > removeExternallyUsedNodes ( Set < Node > set ) { boolean change ; do { change = _BOOL ; for ( Iterator < Node > iter = set . iterator ( ) ; iter . hasNext ( ) ; ) { Node node = iter . next ( ) ; for ( Node usage : node . usages ( ) ) { if ( ! set . contains ( usage ) ) { change = _BOOL ; ite...
107
java-test-3672
java
What have a usage outside the set transitively ?
nodes from a given set
private static Set < Node > remove Externally Used Nodes ( Set < Node > set ) { boolean change ; do { change = BOOL ; for ( Iterator < Node > iter = set . iterator ( ) ; iter . has Next ( ) ; ) { Node node = iter . next ( ) ; for ( Node usage : node . usages ( ) ) { if ( ! set . contains ( usage ) ) { change = BOOL ; i...
private static Set < Node > removeExternallyUsedNodes ( Set < Node > set ) { boolean change ; do { change = _BOOL ; for ( Iterator < Node > iter = set . iterator ( ) ; iter . hasNext ( ) ; ) { Node node = iter . next ( ) ; for ( Node usage : node . usages ( ) ) { if ( ! set . contains ( usage ) ) { change = _BOOL ; ite...
107
java-test-3673
java
What does the code create ?
a new instance of quote
public Quote ( int i ) { cusip = NUM - i ; quote Id = i ; quote Id Str = Integer . to String ( quote Id ) ; dealer Code = cusip ; String [ ] arr 1 = { STRING , STRING , STRING , STRING , STRING , STRING , STRING } ; quote Type = arr 1 [ i % NUM ] ; unique Quote Type = STRING + Integer . to String ( i ) ; String [ ] arr...
public Quote ( int i ) { cusip = _NUM - i ; quoteId = i ; quoteIdStr = Integer . toString ( quoteId ) ; dealerCode = cusip ; String [ ] arr1 = { STRING , STRING , STRING , STRING , STRING , STRING , STRING } ; quoteType = arr1 [ i % _NUM ] ; uniqueQuoteType = STRING + Integer . toString ( i ) ; String [ ] arr2 = { STRI...
261
java-test-3674
java
By how much do the solution reduce ?
by three - tenths of a percent
public void to Lat Lon ( double v0 , double h0 ) { final double GX = NUM ; final double GY = - NUM ; final double A = NUM ; final double Q = - NUM ; final double Q2 = NUM ; final double EPSILON = NUM ; double v = ( double ) v0 ; double h = ( double ) h0 ; double t1 = ( v - TRANSV ) / RADIUS ; double t2 = ( h - TRANSH )...
public void toLatLon ( double v0 , double h0 ) { final double GX = _NUM ; final double GY = - _NUM ; final double A = _NUM ; final double Q = - _NUM ; final double Q2 = _NUM ; final double EPSILON = _NUM ; double v = ( double ) v0 ; double h = ( double ) h0 ; double t1 = ( v - TRANSV ) / RADIUS ; double t2 = ( h - TRAN...
539
java-test-3675
java
When do 6363 add ?
235 to v and 2250
public void to Lat Lon ( double v0 , double h0 ) { final double GX = NUM ; final double GY = - NUM ; final double A = NUM ; final double Q = - NUM ; final double Q2 = NUM ; final double EPSILON = NUM ; double v = ( double ) v0 ; double h = ( double ) h0 ; double t1 = ( v - TRANSV ) / RADIUS ; double t2 = ( h - TRANSH )...
public void toLatLon ( double v0 , double h0 ) { final double GX = _NUM ; final double GY = - _NUM ; final double A = _NUM ; final double Q = - _NUM ; final double Q2 = _NUM ; final double EPSILON = _NUM ; double v = ( double ) v0 ; double h = ( double ) h0 ; double t1 = ( v - TRANSV ) / RADIUS ; double t2 = ( h - TRAN...
539
java-test-3676
java
Where are distances measured of the projection except for the scale correction accurately ?
the foci
public void to Lat Lon ( double v0 , double h0 ) { final double GX = NUM ; final double GY = - NUM ; final double A = NUM ; final double Q = - NUM ; final double Q2 = NUM ; final double EPSILON = NUM ; double v = ( double ) v0 ; double h = ( double ) h0 ; double t1 = ( v - TRANSV ) / RADIUS ; double t2 = ( h - TRANSH )...
public void toLatLon ( double v0 , double h0 ) { final double GX = _NUM ; final double GY = - _NUM ; final double A = _NUM ; final double Q = - _NUM ; final double Q2 = _NUM ; final double EPSILON = _NUM ; double v = ( double ) v0 ; double h = ( double ) h0 ; double t1 = ( v - TRANSV ) / RADIUS ; double t2 = ( h - TRAN...
539
java-test-3677
java
By how much do the solution rotate ?
by 76 . 597497 degrees
public void to Lat Lon ( double v0 , double h0 ) { final double GX = NUM ; final double GY = - NUM ; final double A = NUM ; final double Q = - NUM ; final double Q2 = NUM ; final double EPSILON = NUM ; double v = ( double ) v0 ; double h = ( double ) h0 ; double t1 = ( v - TRANSV ) / RADIUS ; double t2 = ( h - TRANSH )...
public void toLatLon ( double v0 , double h0 ) { final double GX = _NUM ; final double GY = - _NUM ; final double A = _NUM ; final double Q = - _NUM ; final double Q2 = _NUM ; final double EPSILON = _NUM ; double v = ( double ) v0 ; double h = ( double ) h0 ; double t1 = ( v - TRANSV ) / RADIUS ; double t2 = ( h - TRAN...
539
java-test-3678
java
What do this alter ?
the latitude
public void to Lat Lon ( double v0 , double h0 ) { final double GX = NUM ; final double GY = - NUM ; final double A = NUM ; final double Q = - NUM ; final double Q2 = NUM ; final double EPSILON = NUM ; double v = ( double ) v0 ; double h = ( double ) h0 ; double t1 = ( v - TRANSV ) / RADIUS ; double t2 = ( h - TRANSH )...
public void toLatLon ( double v0 , double h0 ) { final double GX = _NUM ; final double GY = - _NUM ; final double A = _NUM ; final double Q = - _NUM ; final double Q2 = _NUM ; final double EPSILON = _NUM ; double v = ( double ) v0 ; double h = ( double ) h0 ; double t1 = ( v - TRANSV ) / RADIUS ; double t2 = ( h - TRAN...
539
java-test-3679
java
What do the coefficients compute ?
the arc distances of the given point to the reference points
public void to Lat Lon ( double v0 , double h0 ) { final double GX = NUM ; final double GY = - NUM ; final double A = NUM ; final double Q = - NUM ; final double Q2 = NUM ; final double EPSILON = NUM ; double v = ( double ) v0 ; double h = ( double ) h0 ; double t1 = ( v - TRANSV ) / RADIUS ; double t2 = ( h - TRANSH )...
public void toLatLon ( double v0 , double h0 ) { final double GX = _NUM ; final double GY = - _NUM ; final double A = _NUM ; final double Q = - _NUM ; final double Q2 = _NUM ; final double EPSILON = _NUM ; double v = ( double ) v0 ; double h = ( double ) h0 ; double t1 = ( v - TRANSV ) / RADIUS ; double t2 = ( h - TRAN...
539
java-test-3680
java
What is the x - axis the coordinate system ?
the line through the reference points
public void to Lat Lon ( double v0 , double h0 ) { final double GX = NUM ; final double GY = - NUM ; final double A = NUM ; final double Q = - NUM ; final double Q2 = NUM ; final double EPSILON = NUM ; double v = ( double ) v0 ; double h = ( double ) h0 ; double t1 = ( v - TRANSV ) / RADIUS ; double t2 = ( h - TRANSH )...
public void toLatLon ( double v0 , double h0 ) { final double GX = _NUM ; final double GY = - _NUM ; final double A = _NUM ; final double Q = - _NUM ; final double Q2 = _NUM ; final double EPSILON = _NUM ; double v = ( double ) v0 ; double h = ( double ) h0 ; double t1 = ( v - TRANSV ) / RADIUS ; double t2 = ( h - TRAN...
539
java-test-3681
java
What uses to get the ellipsoidal earth latitude on the latitude ?
the inverse polynomial approximation
public void to Lat Lon ( double v0 , double h0 ) { final double GX = NUM ; final double GY = - NUM ; final double A = NUM ; final double Q = - NUM ; final double Q2 = NUM ; final double EPSILON = NUM ; double v = ( double ) v0 ; double h = ( double ) h0 ; double t1 = ( v - TRANSV ) / RADIUS ; double t2 = ( h - TRANSH )...
public void toLatLon ( double v0 , double h0 ) { final double GX = _NUM ; final double GY = - _NUM ; final double A = _NUM ; final double Q = - _NUM ; final double Q2 = _NUM ; final double EPSILON = _NUM ; double v = ( double ) v0 ; double h = ( double ) h0 ; double t1 = ( v - TRANSV ) / RADIUS ; double t2 = ( h - TRAN...
539
java-test-3682
java
What do the coefficients subtract from the longitude . <p> for the rest ?
52 degrees
public void to Lat Lon ( double v0 , double h0 ) { final double GX = NUM ; final double GY = - NUM ; final double A = NUM ; final double Q = - NUM ; final double Q2 = NUM ; final double EPSILON = NUM ; double v = ( double ) v0 ; double h = ( double ) h0 ; double t1 = ( v - TRANSV ) / RADIUS ; double t2 = ( h - TRANSH )...
public void toLatLon ( double v0 , double h0 ) { final double GX = _NUM ; final double GY = - _NUM ; final double A = _NUM ; final double Q = - _NUM ; final double Q2 = _NUM ; final double EPSILON = _NUM ; double v = ( double ) v0 ; double h = ( double ) h0 ; double t1 = ( v - TRANSV ) / RADIUS ; double t2 = ( h - TRAN...
539
java-test-3683
java
Where do the inverse polynomial approximation use to get the ellipsoidal earth latitude ?
on the latitude
public void to Lat Lon ( double v0 , double h0 ) { final double GX = NUM ; final double GY = - NUM ; final double A = NUM ; final double Q = - NUM ; final double Q2 = NUM ; final double EPSILON = NUM ; double v = ( double ) v0 ; double h = ( double ) h0 ; double t1 = ( v - TRANSV ) / RADIUS ; double t2 = ( h - TRANSH )...
public void toLatLon ( double v0 , double h0 ) { final double GX = _NUM ; final double GY = - _NUM ; final double A = _NUM ; final double Q = - _NUM ; final double Q2 = _NUM ; final double EPSILON = _NUM ; double v = ( double ) v0 ; double h = ( double ) h0 ; double t1 = ( v - TRANSV ) / RADIUS ; double t2 = ( h - TRAN...
539
java-test-3684
java
What do the inverse polynomial approximation use on the latitude ?
to get the ellipsoidal earth latitude
public void to Lat Lon ( double v0 , double h0 ) { final double GX = NUM ; final double GY = - NUM ; final double A = NUM ; final double Q = - NUM ; final double Q2 = NUM ; final double EPSILON = NUM ; double v = ( double ) v0 ; double h = ( double ) h0 ; double t1 = ( v - TRANSV ) / RADIUS ; double t2 = ( h - TRANSH )...
public void toLatLon ( double v0 , double h0 ) { final double GX = _NUM ; final double GY = - _NUM ; final double A = _NUM ; final double Q = - _NUM ; final double Q2 = _NUM ; final double EPSILON = _NUM ; double v = ( double ) v0 ; double h = ( double ) h0 ; double t1 = ( v - TRANSV ) / RADIUS ; double t2 = ( h - TRAN...
539
java-test-3689
java
What are they represent if there are any edges in the edgebuffer by this point ?
a concave polygon
private static boolean make Concave Polygon ( final Planet Model planet Model , final Geo Composite Polygon rval , final Mutable Boolean seen Concave , final Edge Buffer edge Buffer , final List < Geo Polygon > holes , final Geo Point test Point ) { if ( edge Buffer . size ( ) == NUM ) { return BOOL ; } if ( seen Conca...
private static boolean makeConcavePolygon ( final PlanetModel planetModel , final GeoCompositePolygon rval , final MutableBoolean seenConcave , final EdgeBuffer edgeBuffer , final List < GeoPolygon > holes , final GeoPoint testPoint ) { if ( edgeBuffer . size ( ) == _NUM ) { return _BOOL ; } if ( seenConcave . value ) ...
392
java-test-3690
java
What does the code obtain ?
a boolean glass function from the boolean glass gene pm provided
public Boolean Glass Gene Im ( Boolean Glass Gene Pm gene Pm , Parameters parameters ) { try { this . gene Pm = gene Pm ; this . glass Function = new Boolean Glass Function ( gene Pm . get Lag Graph ( ) ) ; this . initializer = new Basal Initializer ( glass Function , NUM , NUM ) ; this . history = new Gene History ( i...
public BooleanGlassGeneIm ( BooleanGlassGenePm genePm , Parameters parameters ) { try { this . genePm = genePm ; this . glassFunction = new BooleanGlassFunction ( genePm . getLagGraph ( ) ) ; this . initializer = new BasalInitializer ( glassFunction , _NUM , _NUM ) ; this . history = new GeneHistory ( initializer , gla...
106
java-test-3691
java
What does the code create ?
a glass history and a measurement simulator
public Boolean Glass Gene Im ( Boolean Glass Gene Pm gene Pm , Parameters parameters ) { try { this . gene Pm = gene Pm ; this . glass Function = new Boolean Glass Function ( gene Pm . get Lag Graph ( ) ) ; this . initializer = new Basal Initializer ( glass Function , NUM , NUM ) ; this . history = new Gene History ( i...
public BooleanGlassGeneIm ( BooleanGlassGenePm genePm , Parameters parameters ) { try { this . genePm = genePm ; this . glassFunction = new BooleanGlassFunction ( genePm . getLagGraph ( ) ) ; this . initializer = new BasalInitializer ( glassFunction , _NUM , _NUM ) ; this . history = new GeneHistory ( initializer , gla...
106
java-test-3692
java
What does the code use it ?
to create a glass history and a measurement simulator
public Boolean Glass Gene Im ( Boolean Glass Gene Pm gene Pm , Parameters parameters ) { try { this . gene Pm = gene Pm ; this . glass Function = new Boolean Glass Function ( gene Pm . get Lag Graph ( ) ) ; this . initializer = new Basal Initializer ( glass Function , NUM , NUM ) ; this . history = new Gene History ( i...
public BooleanGlassGeneIm ( BooleanGlassGenePm genePm , Parameters parameters ) { try { this . genePm = genePm ; this . glassFunction = new BooleanGlassFunction ( genePm . getLagGraph ( ) ) ; this . initializer = new BasalInitializer ( glassFunction , _NUM , _NUM ) ; this . history = new GeneHistory ( initializer , gla...
106
java-test-3693
java
For what purpose be return name of font name be lowercase ?
to avoid issues of capitalisation when used for lookup - if no name , will default to null mode is pdfdecoder
public static String [ ] read Font Names ( final Font Data font Data ) { final String [ ] font Names = new String [ NUM ] ; font Names [ NUM ] = null ; final Buffered Reader br = new Buffered Reader ( new String Reader ( new String ( font Data . get Bytes ( NUM , font Data . length ( ) ) ) ) ) ; String line = null ; wh...
public static String [ ] readFontNames ( final FontData fontData ) { final String [ ] fontNames = new String [ _NUM ] ; fontNames [ _NUM ] = null ; final BufferedReader br = new BufferedReader ( new StringReader ( new String ( fontData . getBytes ( _NUM , fontData . length ( ) ) ) ) ) ; String line = null ; while ( _BO...
285
java-test-3696
java
What does the code register if specified ?
the given ui
public static Edit Patient Dialog Fragment new Instance ( Patient patient ) { Edit Patient Dialog Fragment fragment = new Edit Patient Dialog Fragment ( ) ; Bundle args = new Bundle ( ) ; args . put Boolean ( STRING , patient == null ) ; if ( patient != null ) { args . put String ( STRING , patient . uuid ) ; args . pu...
public static EditPatientDialogFragment newInstance ( Patient patient ) { EditPatientDialogFragment fragment = new EditPatientDialogFragment ( ) ; Bundle args = new Bundle ( ) ; args . putBoolean ( STRING , patient == null ) ; if ( patient != null ) { args . putString ( STRING , patient . uuid ) ; args . putString ( ST...
147
java-test-3697
java
What does the code remove ?
the nature i d from a project ' s description
public static void remove Nature ( I Project project , String nature Id ) throws Core Exception { if ( ! project . has Nature ( nature Id ) ) { return ; } I Project Description description = project . get Description ( ) ; List < String > new Natures = new Array List < String > ( ) ; new Natures . add All ( Arrays . as...
public static void removeNature ( IProject project , String natureId ) throws CoreException { if ( ! project . hasNature ( natureId ) ) { return ; } IProjectDescription description = project . getDescription ( ) ; List < String > newNatures = new ArrayList < String > ( ) ; newNatures . addAll ( Arrays . asList ( descri...
123
java-test-3698
java
How can one given user interact with a 2nd given user ?
in a permission sense
public static boolean can Interact ( User issuer , User target , Guild guild ) { if ( guild . get Owner ( ) == issuer ) return BOOL ; if ( guild . get Owner ( ) == target ) return BOOL ; List < Role > issuer Roles = guild . get Roles For User ( issuer ) ; List < Role > target Roles = guild . get Roles For User ( target...
public static boolean canInteract ( User issuer , User target , Guild guild ) { if ( guild . getOwner ( ) == issuer ) return _BOOL ; if ( guild . getOwner ( ) == target ) return _BOOL ; List < Role > issuerRoles = guild . getRolesForUser ( issuer ) ; List < Role > targetRoles = guild . getRolesForUser ( target ) ; if (...
151
java-test-3699
java
Does this check the actual permission ( kick / ban / manage_role / . . if one given user can interact with a 2nd given user - in a permission sense ( kick / ban / modify perms ) if one given user can interact with a 2nd given user - in a permission sense ( kick / ban / modify perms ) ?
No
public static boolean can Interact ( User issuer , User target , Guild guild ) { if ( guild . get Owner ( ) == issuer ) return BOOL ; if ( guild . get Owner ( ) == target ) return BOOL ; List < Role > issuer Roles = guild . get Roles For User ( issuer ) ; List < Role > target Roles = guild . get Roles For User ( target...
public static boolean canInteract ( User issuer , User target , Guild guild ) { if ( guild . getOwner ( ) == issuer ) return _BOOL ; if ( guild . getOwner ( ) == target ) return _BOOL ; List < Role > issuerRoles = guild . getRolesForUser ( issuer ) ; List < Role > targetRoles = guild . getRolesForUser ( target ) ; if (...
151
java-test-3700
java
What does not check the actual permission ( kick / ban / manage_role / . . if one given user can interact with a 2nd given user - in a permission sense ( kick / ban / modify perms ) if one given user can interact with a 2nd given user - in a permission sense ( kick / ban / modify perms ) ?
this
public static boolean can Interact ( User issuer , User target , Guild guild ) { if ( guild . get Owner ( ) == issuer ) return BOOL ; if ( guild . get Owner ( ) == target ) return BOOL ; List < Role > issuer Roles = guild . get Roles For User ( issuer ) ; List < Role > target Roles = guild . get Roles For User ( target...
public static boolean canInteract ( User issuer , User target , Guild guild ) { if ( guild . getOwner ( ) == issuer ) return _BOOL ; if ( guild . getOwner ( ) == target ) return _BOOL ; List < Role > issuerRoles = guild . getRolesForUser ( issuer ) ; List < Role > targetRoles = guild . getRolesForUser ( target ) ; if (...
151
java-test-3701
java
What does this check only ?
the role - position
public static boolean can Interact ( User issuer , User target , Guild guild ) { if ( guild . get Owner ( ) == issuer ) return BOOL ; if ( guild . get Owner ( ) == target ) return BOOL ; List < Role > issuer Roles = guild . get Roles For User ( issuer ) ; List < Role > target Roles = guild . get Roles For User ( target...
public static boolean canInteract ( User issuer , User target , Guild guild ) { if ( guild . getOwner ( ) == issuer ) return _BOOL ; if ( guild . getOwner ( ) == target ) return _BOOL ; List < Role > issuerRoles = guild . getRolesForUser ( issuer ) ; List < Role > targetRoles = guild . getRolesForUser ( target ) ; if (...
151
java-test-3702
java
What checks the role - position only ?
this
public static boolean can Interact ( User issuer , User target , Guild guild ) { if ( guild . get Owner ( ) == issuer ) return BOOL ; if ( guild . get Owner ( ) == target ) return BOOL ; List < Role > issuer Roles = guild . get Roles For User ( issuer ) ; List < Role > target Roles = guild . get Roles For User ( target...
public static boolean canInteract ( User issuer , User target , Guild guild ) { if ( guild . getOwner ( ) == issuer ) return _BOOL ; if ( guild . getOwner ( ) == target ) return _BOOL ; List < Role > issuerRoles = guild . getRolesForUser ( issuer ) ; List < Role > targetRoles = guild . getRolesForUser ( target ) ; if (...
151
java-test-3703
java
What does this not check if one given user can interact with a 2nd given user - in a permission sense ( kick / ban / modify perms ) if one given user can interact with a 2nd given user - in a permission sense ( kick / ban / modify perms ) ?
the actual permission ( kick / ban / manage_role / . .
public static boolean can Interact ( User issuer , User target , Guild guild ) { if ( guild . get Owner ( ) == issuer ) return BOOL ; if ( guild . get Owner ( ) == target ) return BOOL ; List < Role > issuer Roles = guild . get Roles For User ( issuer ) ; List < Role > target Roles = guild . get Roles For User ( target...
public static boolean canInteract ( User issuer , User target , Guild guild ) { if ( guild . getOwner ( ) == issuer ) return _BOOL ; if ( guild . getOwner ( ) == target ) return _BOOL ; List < Role > issuerRoles = guild . getRolesForUser ( issuer ) ; List < Role > targetRoles = guild . getRolesForUser ( target ) ; if (...
151
java-test-3704
java
What does the code write to the underlying output stream ?
a stuffed or non - stuffed byte
@ Override public void write ( int b ) throws IO Exception { if ( stack . size ( ) == NUM || standalone Markers . contains ( stack . peek ( ) . marker ) ) { write Stuffed ( b ) ; } else { write Nonstuffed ( b ) ; } }
@ Override public void write ( int b ) throws IOException { if ( stack . size ( ) == _NUM || standaloneMarkers . contains ( stack . peek ( ) . marker ) ) { writeStuffed ( b ) ; } else { writeNonstuffed ( b ) ; } }
55
java-test-3707
java
For what purpose does the code add entries from the statements collection ?
to munge wikibase rdf exports into a more queryable form
public void munge ( String entity Id , Collection < Statement > statements , Collection < String > existing Values , Collection < String > existing Refs , Change source Change ) { if ( statements . is Empty ( ) ) { return ; } Munge Operation op = new Munge Operation ( entity Id , statements , existing Values , existing...
public void munge ( String entityId , Collection < Statement > statements , Collection < String > existingValues , Collection < String > existingRefs , Change sourceChange ) { if ( statements . isEmpty ( ) ) { return ; } MungeOperation op = new MungeOperation ( entityId , statements , existingValues , existingRefs ) ; ...
120
java-test-3708
java
What is this method called ?
to kick off the dita generation process
public static void create Top Level Classes XML ( String output Dir , String templates Path , boolean lenient ) throws Compiler Exception { try { As Doc Helper as Doc Help = new As Doc Helper ( output Dir + STRING , output Dir + STRING , output Dir , output Dir + STRING + File . separator + STRING ) ; as Doc Help . cre...
public static void createTopLevelClassesXML ( String outputDir , String templatesPath , boolean lenient ) throws CompilerException { try { AsDocHelper asDocHelp = new AsDocHelper ( outputDir + STRING , outputDir + STRING , outputDir , outputDir + STRING + File . separator + STRING ) ; asDocHelp . createTopLevelClasses ...
123
java-test-3709
java
What do it use as entry point to dita generation ?
the asdochelper class
public static void create Top Level Classes XML ( String output Dir , String templates Path , boolean lenient ) throws Compiler Exception { try { As Doc Helper as Doc Help = new As Doc Helper ( output Dir + STRING , output Dir + STRING , output Dir , output Dir + STRING + File . separator + STRING ) ; as Doc Help . cre...
public static void createTopLevelClassesXML ( String outputDir , String templatesPath , boolean lenient ) throws CompilerException { try { AsDocHelper asDocHelp = new AsDocHelper ( outputDir + STRING , outputDir + STRING , outputDir , outputDir + STRING + File . separator + STRING ) ; asDocHelp . createTopLevelClasses ...
123
java-test-3712
java
What does the code get ?
a double min max cellprocessor
private static Cell Processor add Double Min Max ( Double min Value , Double max Value ) { Double min = min Value == null ? D Min Max . MIN DOUBLE : min Value ; Double max = max Value == null ? D Min Max . MAX DOUBLE : max Value ; return new D Min Max ( min , max ) ; }
private static CellProcessor addDoubleMinMax ( Double minValue , Double maxValue ) { Double min = minValue == null ? DMinMax . MIN_DOUBLE : minValue ; Double max = maxValue == null ? DMinMax . MAX_DOUBLE : maxValue ; return new DMinMax ( min , max ) ; }
66
java-test-3713
java
Till when do we rewind the stream ?
until we find the delimiter which stands at least [ maxdelimlen ] from the start search position or until we faced stream start
@ Nullable private Ignite Bi Tuple < State , Delimiter > find First Delimiter ( Igfs Input Stream stream , long start Pos ) throws IO Exception { State state ; Delimiter delim ; long cur Pos = Math . max ( NUM , start Pos - max Delim Len ) ; while ( BOOL ) { stream . seek ( cur Pos ) ; state = new State ( ) ; delim = n...
@ Nullable private IgniteBiTuple < State , Delimiter > findFirstDelimiter ( IgfsInputStream stream , long startPos ) throws IOException { State state ; Delimiter delim ; long curPos = Math . max ( _NUM , startPos - maxDelimLen ) ; while ( _BOOL ) { stream . seek ( curPos ) ; state = new State ( ) ; delim = nextDelimite...
138
java-test-3714
java
What does we face ?
stream start
@ Nullable private Ignite Bi Tuple < State , Delimiter > find First Delimiter ( Igfs Input Stream stream , long start Pos ) throws IO Exception { State state ; Delimiter delim ; long cur Pos = Math . max ( NUM , start Pos - max Delim Len ) ; while ( BOOL ) { stream . seek ( cur Pos ) ; state = new State ( ) ; delim = n...
@ Nullable private IgniteBiTuple < State , Delimiter > findFirstDelimiter ( IgfsInputStream stream , long startPos ) throws IOException { State state ; Delimiter delim ; long curPos = Math . max ( _NUM , startPos - maxDelimLen ) ; while ( _BOOL ) { stream . seek ( curPos ) ; state = new State ( ) ; delim = nextDelimite...
138
java-test-3715
java
What do we find ?
the delimiter which stands at least [ maxdelimlen ] from the start search position or until we faced stream start
@ Nullable private Ignite Bi Tuple < State , Delimiter > find First Delimiter ( Igfs Input Stream stream , long start Pos ) throws IO Exception { State state ; Delimiter delim ; long cur Pos = Math . max ( NUM , start Pos - max Delim Len ) ; while ( BOOL ) { stream . seek ( cur Pos ) ; state = new State ( ) ; delim = n...
@ Nullable private IgniteBiTuple < State , Delimiter > findFirstDelimiter ( IgfsInputStream stream , long startPos ) throws IOException { State state ; Delimiter delim ; long curPos = Math . max ( _NUM , startPos - maxDelimLen ) ; while ( _BOOL ) { stream . seek ( curPos ) ; state = new State ( ) ; delim = nextDelimite...
138
java-test-3716
java
What does the code find ?
first delimiter
@ Nullable private Ignite Bi Tuple < State , Delimiter > find First Delimiter ( Igfs Input Stream stream , long start Pos ) throws IO Exception { State state ; Delimiter delim ; long cur Pos = Math . max ( NUM , start Pos - max Delim Len ) ; while ( BOOL ) { stream . seek ( cur Pos ) ; state = new State ( ) ; delim = n...
@ Nullable private IgniteBiTuple < State , Delimiter > findFirstDelimiter ( IgfsInputStream stream , long startPos ) throws IOException { State state ; Delimiter delim ; long curPos = Math . max ( _NUM , startPos - maxDelimLen ) ; while ( _BOOL ) { stream . seek ( curPos ) ; state = new State ( ) ; delim = nextDelimite...
138
java-test-3717
java
What does the delimiter stand ?
at least [ maxdelimlen ] from the start search position
@ Nullable private Ignite Bi Tuple < State , Delimiter > find First Delimiter ( Igfs Input Stream stream , long start Pos ) throws IO Exception { State state ; Delimiter delim ; long cur Pos = Math . max ( NUM , start Pos - max Delim Len ) ; while ( BOOL ) { stream . seek ( cur Pos ) ; state = new State ( ) ; delim = n...
@ Nullable private IgniteBiTuple < State , Delimiter > findFirstDelimiter ( IgfsInputStream stream , long startPos ) throws IOException { State state ; Delimiter delim ; long curPos = Math . max ( _NUM , startPos - maxDelimLen ) ; while ( _BOOL ) { stream . seek ( curPos ) ; state = new State ( ) ; delim = nextDelimite...
138
java-test-3718
java
When did the code invoke ?
when a client has unexpectedly disconnected from this process or when this process has unexpectedly disconnected from a cacheserver
public void member Crashed ( Client Membership Event event ) { Notification notification = new Notification ( JMX Notification Type . CLIENT CRASHED , server Source , Sequence Number . next ( ) , System . current Time Millis ( ) , Management Constants . CLIENT CRASHED PREFIX + event . get Member Id ( ) ) ; server Level...
public void memberCrashed ( ClientMembershipEvent event ) { Notification notification = new Notification ( JMXNotificationType . CLIENT_CRASHED , serverSource , SequenceNumber . next ( ) , System . currentTimeMillis ( ) , ManagementConstants . CLIENT_CRASHED_PREFIX + event . getMemberId ( ) ) ; serverLevelNotifEmitter ...
81
java-test-3720
java
For what purpose does fetch data dump ?
to file in xml format
public void export Xml ( String filepath ) throws IO Exception { Output Stream output Stream = null ; try { output Stream = new File Output Stream ( filepath ) ; export Xml ( output Stream ) ; } finally { if ( output Stream != null ) { output Stream . close ( ) ; } } }
public void exportXml ( String filepath ) throws IOException { OutputStream outputStream = null ; try { outputStream = new FileOutputStream ( filepath ) ; exportXml ( outputStream ) ; } finally { if ( outputStream != null ) { outputStream . close ( ) ; } } }
60
java-test-3721
java
What do this routine transform to smi8 . 0 delimiters if the the using_smis80_delimiters context flag is enabled ?
any cimobjectpaths
public static Object [ ] normalized Write Args ( Map < String , Object > key Map , Object [ ] objects ) { int index = NUM ; Boolean using 80 Delimiters = ( Boolean ) key Map . get ( Constants . USING SMIS 80 DELIMITERS ) ; if ( using 80 Delimiters != null && using 80 Delimiters ) { for ( Object object : objects ) { if ...
public static Object [ ] normalizedWriteArgs ( Map < String , Object > keyMap , Object [ ] objects ) { int index = _NUM ; Boolean using80Delimiters = ( Boolean ) keyMap . get ( Constants . USING_SMIS80_DELIMITERS ) ; if ( using80Delimiters != null && using80Delimiters ) { for ( Object object : objects ) { if ( object i...
318
java-test-3728
java
What does this method read ?
the metadata string
protected void fetch Metadata ( ) throws IO Exception { remaining = period ; int size = in . read ( ) ; if ( size < NUM ) return ; size <<= NUM ; if ( mbuffer . length < size ) { mbuffer = null ; mbuffer = new byte [ size ] ; Log . d ( LOG , STRING + size + STRING ) ; } size = read Fully ( mbuffer , NUM , size ) ; for ...
protected void fetchMetadata ( ) throws IOException { remaining = period ; int size = in . read ( ) ; if ( size < _NUM ) return ; size <<= _NUM ; if ( mbuffer . length < size ) { mbuffer = null ; mbuffer = new byte [ size ] ; Log . d ( LOG , STRING + size + STRING ) ; } size = readFully ( mbuffer , _NUM , size ) ; for ...
172
java-test-3729
java
What is containing this point ?
the smallest intbox
public Shape Tile Box bounding box ( ) { Pla Point Int lower left = new Pla Point Int ( Math . floor ( v x ) , Math . floor ( v y ) ) ; Pla Point Int upper right = new Pla Point Int ( Math . ceil ( v x ) , Math . ceil ( v y ) ) ; return new Shape Tile Box ( lower left , upper right ) ; }
public ShapeTileBox bounding_box ( ) { PlaPointInt lower_left = new PlaPointInt ( Math . floor ( v_x ) , Math . floor ( v_y ) ) ; PlaPointInt upper_right = new PlaPointInt ( Math . ceil ( v_x ) , Math . ceil ( v_y ) ) ; return new ShapeTileBox ( lower_left , upper_right ) ; }
79
java-test-3730
java
What does the code create ?
the smallest intbox containing this point
public Shape Tile Box bounding box ( ) { Pla Point Int lower left = new Pla Point Int ( Math . floor ( v x ) , Math . floor ( v y ) ) ; Pla Point Int upper right = new Pla Point Int ( Math . ceil ( v x ) , Math . ceil ( v y ) ) ; return new Shape Tile Box ( lower left , upper right ) ; }
public ShapeTileBox bounding_box ( ) { PlaPointInt lower_left = new PlaPointInt ( Math . floor ( v_x ) , Math . floor ( v_y ) ) ; PlaPointInt upper_right = new PlaPointInt ( Math . ceil ( v_x ) , Math . ceil ( v_y ) ) ; return new ShapeTileBox ( lower_left , upper_right ) ; }
79
java-test-3731
java
What do the smallest intbox contain ?
this point
public Shape Tile Box bounding box ( ) { Pla Point Int lower left = new Pla Point Int ( Math . floor ( v x ) , Math . floor ( v y ) ) ; Pla Point Int upper right = new Pla Point Int ( Math . ceil ( v x ) , Math . ceil ( v y ) ) ; return new Shape Tile Box ( lower left , upper right ) ; }
public ShapeTileBox bounding_box ( ) { PlaPointInt lower_left = new PlaPointInt ( Math . floor ( v_x ) , Math . floor ( v_y ) ) ; PlaPointInt upper_right = new PlaPointInt ( Math . ceil ( v_x ) , Math . ceil ( v_y ) ) ; return new ShapeTileBox ( lower_left , upper_right ) ; }
79
java-test-3733
java
What does the code replace with decimal digits ?
arabic / unicode digits
@ Suppress Lint ( STRING ) public static String replace Unicode Digits ( String number ) { String Builder normalized Digits = new String Builder ( number . length ( ) ) ; for ( char c : number . to Char Array ( ) ) { int digit = Character . digit ( c , NUM ) ; if ( digit != - NUM ) { normalized Digits . append ( digit ...
@ SuppressLint ( STRING ) public static String replaceUnicodeDigits ( String number ) { StringBuilder normalizedDigits = new StringBuilder ( number . length ( ) ) ; for ( char c : number . toCharArray ( ) ) { int digit = Character . digit ( c , _NUM ) ; if ( digit != - _NUM ) { normalizedDigits . append ( digit ) ; } e...
98
java-test-3742
java
What is the magic number in the first 2 bytes used ?
to detect the compression
public static boolean is Compressed ( File file ) { Input Stream fis = null ; try { if ( file . exists ( ) ) { fis = new File Input Stream ( file ) ; int mag 1 = fis . read ( ) ; int mag 2 = fis . read ( ) ; fis . close ( ) ; return select Compression Provider ( mag 1 , mag 2 ) != null ; } } catch ( IO Exception e ) { ...
public static boolean isCompressed ( File file ) { InputStream fis = null ; try { if ( file . exists ( ) ) { fis = new FileInputStream ( file ) ; int mag1 = fis . read ( ) ; int mag2 = fis . read ( ) ; fis . close ( ) ; return selectCompressionProvider ( mag1 , mag2 ) != null ; } } catch ( IOException e ) { LOG . log (...
122
java-test-3743
java
What is used to detect the compression ?
the magic number in the first 2 bytes
public static boolean is Compressed ( File file ) { Input Stream fis = null ; try { if ( file . exists ( ) ) { fis = new File Input Stream ( file ) ; int mag 1 = fis . read ( ) ; int mag 2 = fis . read ( ) ; fis . close ( ) ; return select Compression Provider ( mag 1 , mag 2 ) != null ; } } catch ( IO Exception e ) { ...
public static boolean isCompressed ( File file ) { InputStream fis = null ; try { if ( file . exists ( ) ) { fis = new FileInputStream ( file ) ; int mag1 = fis . read ( ) ; int mag2 = fis . read ( ) ; fis . close ( ) ; return selectCompressionProvider ( mag1 , mag2 ) != null ; } } catch ( IOException e ) { LOG . log (...
122
java-test-3748
java
What did the code read ?
proxy settings from the system properties
public static System Proxy Settings create ( ) { final System Proxy Settings proxy Settings = new System Proxy Settings ( ) ; proxy Settings . http User = System . get Property ( STRING ) ; proxy Settings . http Password = System . get Property ( STRING ) ; proxy Settings . http Host = System . get Property ( STRING ) ...
public static SystemProxySettings create ( ) { final SystemProxySettings proxySettings = new SystemProxySettings ( ) ; proxySettings . httpUser = System . getProperty ( STRING ) ; proxySettings . httpPassword = System . getProperty ( STRING ) ; proxySettings . httpHost = System . getProperty ( STRING ) ; proxySettings ...
156
java-test-3750
java
Where did keys find ?
in the other featurevector but not in this one
public void subtract ( Feature Vector other ) { for ( int i = NUM ; i < dense Features . size ( ) ; i ++ ) dense Features . set ( i , get Dense ( i ) - other . get Dense ( i ) ) ; for ( String key : other . key Set ( ) ) { float old Value = ( sparse Features . contains Key ( key ) ) ? sparse Features . get ( key ) : NU...
public void subtract ( FeatureVector other ) { for ( int i = _NUM ; i < denseFeatures . size ( ) ; i ++ ) denseFeatures . set ( i , getDense ( i ) - other . getDense ( i ) ) ; for ( String key : other . keySet ( ) ) { float oldValue = ( sparseFeatures . containsKey ( key ) ) ? sparseFeatures . get ( key ) : _NUM ; spar...
109
java-test-3751
java
What found in the other featurevector but not in this one ?
keys
public void subtract ( Feature Vector other ) { for ( int i = NUM ; i < dense Features . size ( ) ; i ++ ) dense Features . set ( i , get Dense ( i ) - other . get Dense ( i ) ) ; for ( String key : other . key Set ( ) ) { float old Value = ( sparse Features . contains Key ( key ) ) ? sparse Features . get ( key ) : NU...
public void subtract ( FeatureVector other ) { for ( int i = _NUM ; i < denseFeatures . size ( ) ; i ++ ) denseFeatures . set ( i , getDense ( i ) - other . getDense ( i ) ) ; for ( String key : other . keySet ( ) ) { float oldValue = ( sparseFeatures . containsKey ( key ) ) ? sparseFeatures . get ( key ) : _NUM ; spar...
109
java-test-3752
java
What is not set subtraction ?
this
public void subtract ( Feature Vector other ) { for ( int i = NUM ; i < dense Features . size ( ) ; i ++ ) dense Features . set ( i , get Dense ( i ) - other . get Dense ( i ) ) ; for ( String key : other . key Set ( ) ) { float old Value = ( sparse Features . contains Key ( key ) ) ? sparse Features . get ( key ) : NU...
public void subtract ( FeatureVector other ) { for ( int i = _NUM ; i < denseFeatures . size ( ) ; i ++ ) denseFeatures . set ( i , getDense ( i ) - other . getDense ( i ) ) ; for ( String key : other . keySet ( ) ) { float oldValue = ( sparseFeatures . containsKey ( key ) ) ? sparseFeatures . get ( key ) : _NUM ; spar...
109
java-test-3753
java
How will keys found in the other featurevector but not in this one be initialized 0f 0f ?
with a value of 0
public void subtract ( Feature Vector other ) { for ( int i = NUM ; i < dense Features . size ( ) ; i ++ ) dense Features . set ( i , get Dense ( i ) - other . get Dense ( i ) ) ; for ( String key : other . key Set ( ) ) { float old Value = ( sparse Features . contains Key ( key ) ) ? sparse Features . get ( key ) : NU...
public void subtract ( FeatureVector other ) { for ( int i = _NUM ; i < denseFeatures . size ( ) ; i ++ ) denseFeatures . set ( i , getDense ( i ) - other . getDense ( i ) ) ; for ( String key : other . keySet ( ) ) { float oldValue = ( sparseFeatures . containsKey ( key ) ) ? sparseFeatures . get ( key ) : _NUM ; spar...
109
java-test-3754
java
When will keys found in the other featurevector but not in this one be initialized with a value of 0 ?
0f
public void subtract ( Feature Vector other ) { for ( int i = NUM ; i < dense Features . size ( ) ; i ++ ) dense Features . set ( i , get Dense ( i ) - other . get Dense ( i ) ) ; for ( String key : other . key Set ( ) ) { float old Value = ( sparse Features . contains Key ( key ) ) ? sparse Features . get ( key ) : NU...
public void subtract ( FeatureVector other ) { for ( int i = _NUM ; i < denseFeatures . size ( ) ; i ++ ) denseFeatures . set ( i , getDense ( i ) - other . getDense ( i ) ) ; for ( String key : other . keySet ( ) ) { float oldValue = ( sparseFeatures . containsKey ( key ) ) ? sparseFeatures . get ( key ) : _NUM ; spar...
109
java-test-3755
java
What does the code subtract from this one ?
the weights in the other feature vector
public void subtract ( Feature Vector other ) { for ( int i = NUM ; i < dense Features . size ( ) ; i ++ ) dense Features . set ( i , get Dense ( i ) - other . get Dense ( i ) ) ; for ( String key : other . key Set ( ) ) { float old Value = ( sparse Features . contains Key ( key ) ) ? sparse Features . get ( key ) : NU...
public void subtract ( FeatureVector other ) { for ( int i = _NUM ; i < denseFeatures . size ( ) ; i ++ ) denseFeatures . set ( i , getDense ( i ) - other . getDense ( i ) ) ; for ( String key : other . keySet ( ) ) { float oldValue = ( sparseFeatures . containsKey ( key ) ) ? sparseFeatures . get ( key ) : _NUM ; spar...
109
java-test-3756
java
What is this not set ?
subtraction
public void subtract ( Feature Vector other ) { for ( int i = NUM ; i < dense Features . size ( ) ; i ++ ) dense Features . set ( i , get Dense ( i ) - other . get Dense ( i ) ) ; for ( String key : other . key Set ( ) ) { float old Value = ( sparse Features . contains Key ( key ) ) ? sparse Features . get ( key ) : NU...
public void subtract ( FeatureVector other ) { for ( int i = _NUM ; i < denseFeatures . size ( ) ; i ++ ) denseFeatures . set ( i , getDense ( i ) - other . getDense ( i ) ) ; for ( String key : other . keySet ( ) ) { float oldValue = ( sparseFeatures . containsKey ( key ) ) ? sparseFeatures . get ( key ) : _NUM ; spar...
109
java-test-3757
java
Is this set subtraction ?
No
public void subtract ( Feature Vector other ) { for ( int i = NUM ; i < dense Features . size ( ) ; i ++ ) dense Features . set ( i , get Dense ( i ) - other . get Dense ( i ) ) ; for ( String key : other . key Set ( ) ) { float old Value = ( sparse Features . contains Key ( key ) ) ? sparse Features . get ( key ) : NU...
public void subtract ( FeatureVector other ) { for ( int i = _NUM ; i < denseFeatures . size ( ) ; i ++ ) denseFeatures . set ( i , getDense ( i ) - other . getDense ( i ) ) ; for ( String key : other . keySet ( ) ) { float oldValue = ( sparseFeatures . containsKey ( key ) ) ? sparseFeatures . get ( key ) : _NUM ; spar...
109
java-test-3760
java
What pass the validation ?
many files
public static int validate Geo Json ( Input Stream is ) { int n = NUM ; Json Factory f = new Json Factory ( ) ; try { Json Parser jp = f . create Parser ( is ) ; Json Token current = jp . next Token ( ) ; if ( current != Json Token . START OBJECT ) { LOG . error ( STRING ) ; return - NUM ; } while ( jp . next Token ( )...
public static int validateGeoJson ( InputStream is ) { int n = _NUM ; JsonFactory f = new JsonFactory ( ) ; try { JsonParser jp = f . createParser ( is ) ; JsonToken current = jp . nextToken ( ) ; if ( current != JsonToken . START_OBJECT ) { LOG . error ( STRING ) ; return - _NUM ; } while ( jp . nextToken ( ) != JsonT...
219
java-test-3761
java
For what purpose does a json stream examine ?
to see if it matches the expected otpa format
public static int validate Geo Json ( Input Stream is ) { int n = NUM ; Json Factory f = new Json Factory ( ) ; try { Json Parser jp = f . create Parser ( is ) ; Json Token current = jp . next Token ( ) ; if ( current != Json Token . START OBJECT ) { LOG . error ( STRING ) ; return - NUM ; } while ( jp . next Token ( )...
public static int validateGeoJson ( InputStream is ) { int n = _NUM ; JsonFactory f = new JsonFactory ( ) ; try { JsonParser jp = f . createParser ( is ) ; JsonToken current = jp . nextToken ( ) ; if ( current != JsonToken . START_OBJECT ) { LOG . error ( STRING ) ; return - _NUM ; } while ( jp . nextToken ( ) != JsonT...
219
java-test-3764
java
What do the user profile have ?
a risk attribute with value
protected int check Risk Attribute ( ) { int ret Val = NUM ; if ( debug . message Enabled ( ) ) { debug . message ( STRING , ADAPTIVE ) ; } if ( risk Attribute Name != null && risk Attribute Value != null ) { Set < String > risk Attribute Values = null ; risk Attribute Values = get Identity Attribute Set ( risk Attribu...
protected int checkRiskAttribute ( ) { int retVal = _NUM ; if ( debug . messageEnabled ( ) ) { debug . message ( STRING , ADAPTIVE ) ; } if ( riskAttributeName != null && riskAttributeValue != null ) { Set < String > riskAttributeValues = null ; riskAttributeValues = getIdentityAttributeSet ( riskAttributeName ) ; if (...
165
java-test-3765
java
For what purpose does volatility divided by 4 have terrain below biome height ?
probably to add some flat generator to mountanious biomes
private void biome Factor ( final int x , final int z , final double add Height ) { float smooth Volatility = NUM ; float smooth Height = NUM ; float biome Weight Sum = NUM ; final Biome center Biome Config = get Center Biome ( x , z ) ; final int look Radius = this . max Smooth Radius ; for ( int next X = - look Radiu...
private void biomeFactor ( final int x , final int z , final double addHeight ) { float smoothVolatility = _NUM ; float smoothHeight = _NUM ; float biomeWeightSum = _NUM ; final Biome centerBiomeConfig = getCenterBiome ( x , z ) ; final int lookRadius = this . maxSmoothRadius ; for ( int nextX = - lookRadius ; nextX <=...
300
java-test-3766
java
Where will generator generate = 1 ?
at sea level < p > biome height
private void biome Factor ( final int x , final int z , final double add Height ) { float smooth Volatility = NUM ; float smooth Height = NUM ; float biome Weight Sum = NUM ; final Biome center Biome Config = get Center Biome ( x , z ) ; final int look Radius = this . max Smooth Radius ; for ( int next X = - look Radiu...
private void biomeFactor ( final int x , final int z , final double addHeight ) { float smoothVolatility = _NUM ; float smoothHeight = _NUM ; float biomeWeightSum = _NUM ; final Biome centerBiomeConfig = getCenterBiome ( x , z ) ; final int lookRadius = this . maxSmoothRadius ; for ( int nextX = - lookRadius ; nextX <=...
300
java-test-3767
java
What will <p> biome volatility = = 0 generate ?
flat generator < p > biome volatility = = 0 . 5
private void biome Factor ( final int x , final int z , final double add Height ) { float smooth Volatility = NUM ; float smooth Height = NUM ; float biome Weight Sum = NUM ; final Biome center Biome Config = get Center Biome ( x , z ) ; final int look Radius = this . max Smooth Radius ; for ( int next X = - look Radiu...
private void biomeFactor ( final int x , final int z , final double addHeight ) { float smoothVolatility = _NUM ; float smoothHeight = _NUM ; float biomeWeightSum = _NUM ; final Biome centerBiomeConfig = getCenterBiome ( x , z ) ; final int lookRadius = this . maxSmoothRadius ; for ( int nextX = - lookRadius ; nextX <=...
300
java-test-3768
java
What will generate at sea level <p> biome height ?
generator
private void biome Factor ( final int x , final int z , final double add Height ) { float smooth Volatility = NUM ; float smooth Height = NUM ; float biome Weight Sum = NUM ; final Biome center Biome Config = get Center Biome ( x , z ) ; final int look Radius = this . max Smooth Radius ; for ( int next X = - look Radiu...
private void biomeFactor ( final int x , final int z , final double addHeight ) { float smoothVolatility = _NUM ; float smoothHeight = _NUM ; float biomeWeightSum = _NUM ; final Biome centerBiomeConfig = getCenterBiome ( x , z ) ; final int lookRadius = this . maxSmoothRadius ; for ( int nextX = - lookRadius ; nextX <=...
300
java-test-3769
java
For what purpose did volatility divide by 4 ?
probably to add
private void biome Factor ( final int x , final int z , final double add Height ) { float smooth Volatility = NUM ; float smooth Height = NUM ; float biome Weight Sum = NUM ; final Biome center Biome Config = get Center Biome ( x , z ) ; final int look Radius = this . max Smooth Radius ; for ( int next X = - look Radiu...
private void biomeFactor ( final int x , final int z , final double addHeight ) { float smoothVolatility = _NUM ; float smoothHeight = _NUM ; float biomeWeightSum = _NUM ; final Biome centerBiomeConfig = getCenterBiome ( x , z ) ; final int lookRadius = this . maxSmoothRadius ; for ( int nextX = - lookRadius ; nextX <=...
300