parquet-converter commited on
Commit
54c8034
1 Parent(s): 8dec0f0

Update parquet files

Browse files
.gitattributes DELETED
@@ -1,39 +0,0 @@
1
- *.7z filter=lfs diff=lfs merge=lfs -text
2
- *.arrow filter=lfs diff=lfs merge=lfs -text
3
- *.bin filter=lfs diff=lfs merge=lfs -text
4
- *.bin.* filter=lfs diff=lfs merge=lfs -text
5
- *.bz2 filter=lfs diff=lfs merge=lfs -text
6
- *.ftz filter=lfs diff=lfs merge=lfs -text
7
- *.gz filter=lfs diff=lfs merge=lfs -text
8
- *.h5 filter=lfs diff=lfs merge=lfs -text
9
- *.joblib filter=lfs diff=lfs merge=lfs -text
10
- *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
- *.model filter=lfs diff=lfs merge=lfs -text
12
- *.msgpack filter=lfs diff=lfs merge=lfs -text
13
- *.onnx filter=lfs diff=lfs merge=lfs -text
14
- *.ot filter=lfs diff=lfs merge=lfs -text
15
- *.parquet filter=lfs diff=lfs merge=lfs -text
16
- *.pb filter=lfs diff=lfs merge=lfs -text
17
- *.pt filter=lfs diff=lfs merge=lfs -text
18
- *.pth filter=lfs diff=lfs merge=lfs -text
19
- *.rar filter=lfs diff=lfs merge=lfs -text
20
- saved_model/**/* filter=lfs diff=lfs merge=lfs -text
21
- *.tar.* filter=lfs diff=lfs merge=lfs -text
22
- *.tflite filter=lfs diff=lfs merge=lfs -text
23
- *.tgz filter=lfs diff=lfs merge=lfs -text
24
- *.wasm filter=lfs diff=lfs merge=lfs -text
25
- *.xz filter=lfs diff=lfs merge=lfs -text
26
- *.zip filter=lfs diff=lfs merge=lfs -text
27
- *.zstandard filter=lfs diff=lfs merge=lfs -text
28
- *tfevents* filter=lfs diff=lfs merge=lfs -text
29
- # Audio files - uncompressed
30
- *.pcm filter=lfs diff=lfs merge=lfs -text
31
- *.sam filter=lfs diff=lfs merge=lfs -text
32
- *.raw filter=lfs diff=lfs merge=lfs -text
33
- # Audio files - compressed
34
- *.aac filter=lfs diff=lfs merge=lfs -text
35
- *.flac filter=lfs diff=lfs merge=lfs -text
36
- *.mp3 filter=lfs diff=lfs merge=lfs -text
37
- *.ogg filter=lfs diff=lfs merge=lfs -text
38
- *.wav filter=lfs diff=lfs merge=lfs -text
39
- test_esp.jsonl filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
README.md DELETED
@@ -1,3 +0,0 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
test_esp.jsonl → crisdev--comentarios/json-test.parquet RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:42a2cec1e982a3d69464fee35e80c675c8872b36d57eed8ded06572a677b3ba8
3
- size 32283635
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:da9599100e2d37f5f95130220e2ab38470209b043fc3b39a05c781deb644fb8d
3
+ size 14656155
crisdev--comentarios/json-train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c466c5ae8fbe894bf9fa3b2b5237f28038922894800ce329700104428deab45a
3
+ size 13521
crisdev--comentarios/json-validation.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:db63fdd34414bb8a573afab7b1bd44a1c383fb451b2d5a8cb1fc48f915d79321
3
+ size 14401
test.jsonl DELETED
@@ -1,40 +0,0 @@
1
- {"code": "public static String unEscapeString ( String str , char escapeChar , char charToEscape ) { return unEscapeString ( str , escapeChar , new char [ ] { charToEscape } ) ; }", "nl": "Unescape <code> chamoescape </ code> en la cadena con el cuadro de escape <código> Escapechar </ code>"}
2
- {"code": "public void checkNextPoissonConsistency ( double mean ) { final int sampleSize = 1000 ; final int minExpectedCount = 7 ; long maxObservedValue = 0 ; final double alpha = 0.001 ; UnitTestUtils . Frequency < Long > frequency = new UnitTestUtils . Frequency < Long > ( ) ; for ( int i = 0 ; i < sampleSize ; i ++ ) { long value = randomData . nextPoisson ( mean ) ; if ( value > maxObservedValue ) { maxObservedValue = value ; } frequency . addValue ( value ) ; } PoissonDistribution poissonDistribution = new PoissonDistribution ( mean ) ; int lower = 1 ; while ( poissonDistribution . cumulativeProbability ( lower - 1 ) * sampleSize < minExpectedCount ) { lower ++ ; } int upper = ( int ) ( 5 * mean ) ; while ( ( 1 - poissonDistribution . cumulativeProbability ( upper - 1 ) ) * sampleSize < minExpectedCount ) { upper -- ; } int binWidth = 0 ; boolean widthSufficient = false ; double lowerBinMass = 0 ; double upperBinMass = 0 ; while ( ! widthSufficient ) { binWidth ++ ; lowerBinMass = poissonDistribution . probability ( lower - 1 , lower + binWidth - 1 ) ; upperBinMass = poissonDistribution . probability ( upper - binWidth - 1 , upper - 1 ) ; widthSufficient = FastMath . min ( lowerBinMass , upperBinMass ) * sampleSize >= minExpectedCount ; } List < Integer > binBounds = new ArrayList < Integer > ( ) ; binBounds . add ( lower ) ; int bound = lower + binWidth ; while ( bound < upper - binWidth ) { binBounds . add ( bound ) ; bound += binWidth ; } binBounds . add ( upper ) ; final int binCount = binBounds . size ( ) + 1 ; long [ ] observed = new long [ binCount ] ; double [ ] expected = new double [ binCount ] ; observed [ 0 ] = 0 ; for ( int i = 0 ; i < lower ; i ++ ) { observed [ 0 ] += frequency . getCount ( ( long ) i ) ; } expected [ 0 ] = poissonDistribution . cumulativeProbability ( lower - 1 ) * sampleSize ; observed [ binCount - 1 ] = 0 ; for ( int i = upper ; i <= maxObservedValue ; i ++ ) { observed [ binCount - 1 ] += frequency . getCount ( ( long ) i ) ; } expected [ binCount - 1 ] = ( 1 - poissonDistribution . cumulativeProbability ( upper - 1 ) ) * sampleSize ; for ( int i = 1 ; i < binCount - 1 ; i ++ ) { observed [ i ] = 0 ; for ( int j = binBounds . get ( i - 1 ) ; j < binBounds . get ( i ) ; j ++ ) { observed [ i ] += frequency . getCount ( ( long ) j ) ; } expected [ i ] = ( poissonDistribution . cumulativeProbability ( binBounds . get ( i ) - 1 ) - poissonDistribution . cumulativeProbability ( binBounds . get ( i - 1 ) - 1 ) ) * sampleSize ; } if ( UnitTestUtils . chiSquareTest ( expected , observed ) < alpha ) { StringBuilder msgBuffer = new StringBuilder ( ) ; DecimalFormat df = new DecimalFormat ( \"#.##\" ) ; msgBuffer . append ( \"Chisquare test failed for mean = \" ) ; msgBuffer . append ( mean ) ; msgBuffer . append ( \" p-value = \" ) ; msgBuffer . append ( UnitTestUtils . chiSquareTest ( expected , observed ) ) ; msgBuffer . append ( \" chisquare statistic = \" ) ; msgBuffer . append ( UnitTestUtils . chiSquare ( expected , observed ) ) ; msgBuffer . append ( \". \\n\" ) ; msgBuffer . append ( \"bin\\t\\texpected\\tobserved\\n\" ) ; for ( int i = 0 ; i < expected . length ; i ++ ) { msgBuffer . append ( \"[\" ) ; msgBuffer . append ( i == 0 ? 1 : binBounds . get ( i - 1 ) ) ; msgBuffer . append ( \",\" ) ; msgBuffer . append ( i == binBounds . size ( ) ? \"inf\" : binBounds . get ( i ) ) ; msgBuffer . append ( \")\" ) ; msgBuffer . append ( \"\\t\\t\" ) ; msgBuffer . append ( df . format ( expected [ i ] ) ) ; msgBuffer . append ( \"\\t\\t\" ) ; msgBuffer . append ( observed [ i ] ) ; msgBuffer . append ( \"\\n\" ) ; } msgBuffer . append ( \"This test can fail randomly due to sampling error with probability \" ) ; msgBuffer . append ( alpha ) ; msgBuffer . append ( \".\" ) ; Assert . fail ( msgBuffer . toString ( ) ) ; } }", "nl": "Verifica que NEXTPOISSON (MEDIA) genera una distribución empírica de los valores consistentes con PoissondInministrIVEIMPL al generar 1000 valores, calculando una distribución de frecuencia agrupada de los valores observados y comparando esta distribución a la distribución esperada correspondiente calculada utilizando PoissondistributInMPL.Utiliza la prueba de la bondad de la bondad de la bondad para evaluar la hipótesis nula de que las distribuciones son las mismas.Si la hipótesis nula puede ser rechazada con confianza 1 - alfa, la verificación falla."}
3
- {"code": "public DefaultJobRowBuilder ( Function < Map < JobField , String > , String > idGenerator , Function < SecurityContext , String > userIdExtractor , Clock timestampGenerator ) { this . idGenerator = idGenerator ; this . userIdExtractor = userIdExtractor ; this . timestampGenerator = timestampGenerator ; }", "nl": "Construye una fábrica para generar jobrows con una función personalizada para extraer un ID de usuario de la solicitud de solicitud de solicitud."}
4
- {"code": "protected final boolean handleAllocNode ( AllocNode src ) { boolean ret = false ; Node [ ] targets = pag . allocLookup ( src ) ; for ( Node element : targets ) { if ( element . makeP2Set ( ) . add ( src ) ) { varNodeWorkList . add ( ( VarNode ) element ) ; ret = true ; } } return ret ; }", "nl": "Propaga nuevos puntos: a la información del nodo SRC a todos sus sucesores."}
5
- {"code": "@ Override protected FieldConfigBase createCopy ( FieldConfigBase fieldConfigBase ) { FieldConfigWKT copy = null ; if ( fieldConfigBase != null ) { copy = new FieldConfigWKT ( fieldConfigBase . getCommonData ( ) ) ; } return copy ; }", "nl": "Crea una copia del campo."}
6
- {"code": "public void handleEntryExpiredSA ( EntryExpiredBusPacket packet ) throws Exception { handleEntryExpiredCoreSA ( packet . getEntryHolder ( ) , packet . getTransaction ( ) , packet . isFromReplication ( ) ) ; }", "nl": "Manejará los paquetes en Entrados."}
7
- {"code": "public static SM_SYSTEM_MESSAGE STR_EXTRACT_GATHER_SUCCESS_1_BASIC ( DescriptionId descriptionId ) { return new SM_SYSTEM_MESSAGE ( 1330078 , descriptionId ) ; }", "nl": "Has recogido% 0."}
8
- {"code": "public void toggle ( Animation animIn , Animation animOut ) { toggle ( true , animIn , animOut ) ; }", "nl": "Alternar la visibilidad de la insignia en la interfaz de usuario."}
9
- {"code": "private boolean isInSameEvolutionChain ( Pokemon p1 , Pokemon p2 ) { ArrayList < Pokemon > evolutionLine = getEvolutionLine ( p1 ) ; for ( Pokemon poke : evolutionLine ) { if ( poke . number == p2 . number ) { return true ; } } return false ; }", "nl": "Compruebe si dos Pokemon están en la misma cadena de evolución completa.Jolteon y Vaporeon volverían verdaderos."}
10
- {"code": "public static SM_SYSTEM_MESSAGE STR_SKILL_SUCC_Aura_END_ME_TO_B ( String skillname ) { return new SM_SYSTEM_MESSAGE ( 1200459 , skillname ) ; }", "nl": "Usted deja de usar [% SkillName]."}
11
- {"code": "public PhotosGetUploadServerQuery ( VkApiClient client , UserActor actor ) { super ( client , \"photos.getUploadServer\" , PhotoUpload . class ) ; accessToken ( actor . getAccessToken ( ) ) ; }", "nl": "Crea una instancia abstractQueryBuilder que se puede usar para construir una solicitud API con varios parámetros"}
12
- {"code": "public ChangeReport onEquipmentUnitAdd ( final EquipmentUnitAdd equipmentUnitAdd ) { log . debug ( \"onEquipmentUnitAdd - entering onEquipmentUnitAdd()..\" ) ; ChangeReport changeReport = new ChangeReport ( equipmentUnitAdd ) ; changeReport . setState ( CHANGE_STATE . SUCCESS ) ; ProcessConfiguration processConfiguration = configurationController . getProcessConfiguration ( ) ; if ( processConfiguration . getEquipmentConfiguration ( equipmentUnitAdd . getEquipmentId ( ) ) != null ) { changeReport . appendError ( \"onEquipmentUnitAdd - Equipment unit id: \" + equipmentUnitAdd . getEquipmentId ( ) + \" is already registered\" ) ; changeReport . setState ( CHANGE_STATE . FAIL ) ; return changeReport ; } EquipmentConfiguration conf = null ; try { conf = equipmentConfigurationFactory . createEquipmentConfiguration ( equipmentUnitAdd . getEquipmentUnitXml ( ) ) ; } catch ( Exception ex ) { changeReport . setState ( CHANGE_STATE . FAIL ) ; changeReport . appendError ( StackTraceHelper . getStackTrace ( ex ) ) ; return changeReport ; } EquipmentMessageHandler equnit = null ; boolean dynamicTimeDeadbandEnabled = environment . getRequiredProperty ( Options . DYNAMIC_TIME_DEADBAND_ENABLED , Boolean . class ) ; conf . setDynamicTimeDeadbandEnabled ( dynamicTimeDeadbandEnabled ) ; log . info ( \"onEquipmentUnitAdd - Dynamic timedeadband enabled for equipment id: \" + conf . getId ( ) + \" enabled: \" + dynamicTimeDeadbandEnabled ) ; EquipmentLoggerFactory equipmentLoggerFactory = EquipmentLoggerFactory . createFactory ( conf , processConfiguration , environment . getProperty ( \"c2mon.daq.logging.useEquipmentLoggers\" , Boolean . class , false ) , environment . getProperty ( \"c2mon.daq.logging.useEquipmentAppendersOnly\" , Boolean . class , false ) ) ; EquipmentMessageSender equipmentMessageSender = ( EquipmentMessageSender ) applicationContext . getBean ( EQUIPMENT_MESSAGE_SENDER ) ; equipmentMessageSender . init ( conf , equipmentLoggerFactory ) ; configurationController . addCoreDataTagChanger ( conf . getId ( ) , equipmentMessageSender ) ; try { validateDataTags ( conf , equipmentMessageSender ) ; validateCommandTags ( conf , equipmentMessageSender ) ; equnit = EquipmentMessageHandler . createEquipmentMessageHandler ( conf . getHandlerClassName ( ) , new EquipmentCommandHandler ( conf . getId ( ) , requestController ) , new EquipmentConfigurationHandler ( conf . getId ( ) , configurationController ) , equipmentMessageSender ) ; equnit . setEquipmentLoggerFactory ( equipmentLoggerFactory ) ; processConfiguration . addEquipmentConfiguration ( conf ) ; } catch ( InstantiationException e ) { String msg = \"Error while instantiating \" + conf . getHandlerClassName ( ) ; equipmentMessageSender . confirmEquipmentStateIncorrect ( msg + \": \" + e . getMessage ( ) ) ; log . error ( msg , e ) ; } catch ( IllegalAccessException e ) { String msg = \"Access error while calling constructor of \" + conf . getHandlerClassName ( ) ; equipmentMessageSender . confirmEquipmentStateIncorrect ( \"Error in code: \" + msg ) ; log . error ( msg , e ) ; } catch ( ClassNotFoundException e ) { String msg = \"Handler class not found: \" + conf . getHandlerClassName ( ) ; equipmentMessageSender . confirmEquipmentStateIncorrect ( \"Error during configuration: \" + msg ) ; log . error ( msg , e ) ; } if ( equnit != null ) { if ( ! registerNewEquipmentUnit ( equnit ) ) { changeReport . setState ( CHANGE_STATE . REBOOT ) ; changeReport . appendWarn ( \"problem detected while registering new equipment. You need to restart the DAQ\" ) ; } } return changeReport ; }", "nl": "Actualiza el DAQ al inyectar nueva unidad de equipos."}
13
- {"code": "private void requestNewPhotosOrders ( Context c , int page , boolean refresh ) { page = refresh ? 1 : page + 1 ; listener = new OnRequestPhotosListener ( c , page , Mysplash . CATEGORY_TOTAL_NEW , refresh , false ) ; model . getService ( ) . requestPhotos ( page , Mysplash . DEFAULT_PER_PAGE , model . getPhotosOrder ( ) , listener ) ; }", "nl": "<br> utils."}
14
- {"code": "public static void picture ( double x , double y , String filename , double scaledWidth , double scaledHeight , double degrees ) { if ( scaledWidth < 0 ) throw new IllegalArgumentException ( \"width is negative: \" + scaledWidth ) ; if ( scaledHeight < 0 ) throw new IllegalArgumentException ( \"height is negative: \" + scaledHeight ) ; Image image = getImage ( filename ) ; double xs = scaleX ( x ) ; double ys = scaleY ( y ) ; double ws = factorX ( scaledWidth ) ; double hs = factorY ( scaledHeight ) ; if ( ws < 0 || hs < 0 ) throw new IllegalArgumentException ( \"image \" + filename + \" is corrupt\" ) ; if ( ws <= 1 && hs <= 1 ) pixel ( x , y ) ; offscreen . rotate ( Math . toRadians ( - degrees ) , xs , ys ) ; offscreen . drawImage ( image , ( int ) Math . round ( xs - ws / 2.0 ) , ( int ) Math . round ( ys - hs / 2.0 ) , ( int ) Math . round ( ws ) , ( int ) Math . round ( hs ) , null ) ; offscreen . rotate ( Math . toRadians ( + degrees ) , xs , ys ) ; draw ( ) ; }", "nl": "Dibuja la imagen especificada centrada en (<em> x </ em>, <em> y </ em>), rotó el número de grados y se reveló al cuadro de límite especificado.Los formatos de imagen soportados son JPEG, PNG y GIF."}
15
- {"code": "public VisualTable ( Visualization vis , String group , Schema schema ) { super ( TableVisualItem . class ) ; init ( vis , group , schema ) ; }", "nl": "Crea una nueva mesa visual sin una tabla para padres."}
16
- {"code": "public boolean isCritical ( ) { return false ; }", "nl": "¿Es este un comando crítico que solo se puede ejecutar cuando no se está ejecutando otro comando?"}
17
- {"code": "public static DataTag buildCreateBasicDataTag ( Properties properties ) { if ( properties == null ) { properties = new Properties ( ) ; } DataTag dataTag = DataTag . create ( \"DataTag\" , Integer . class , new DataTagAddress ( ) ) . build ( ) ; dataTag . setEquipmentId ( 10L ) ; properties . setProperty ( \"name\" , \"DataTag\" ) ; properties . setProperty ( \"description\" , \"<no description provided>\" ) ; properties . setProperty ( \"mode\" , String . valueOf ( TagMode . OPERATIONAL . ordinal ( ) ) ) ; properties . setProperty ( \"dataType\" , Integer . class . getName ( ) ) ; properties . setProperty ( \"isLogged\" , String . valueOf ( true ) ) ; properties . setProperty ( \"equipmentId\" , String . valueOf ( 10l ) ) ; properties . setProperty ( \"address\" , new DataTagAddress ( ) . toConfigXML ( ) ) ; return dataTag ; }", "nl": "La identificación generada esperada es 100. El identificador principal esperado es 10."}
18
- {"code": "protected void updateRowCount ( ) { int maxrow = m_rows . getMaximumRow ( ) + 1 ; Iterator cols = getColumns ( ) ; while ( cols . hasNext ( ) ) { Column c = ( Column ) cols . next ( ) ; c . setMaximumRow ( maxrow ) ; } }", "nl": "Método interno que actualiza los conteos de fila para las columnas de datos locales."}
19
- {"code": "public boolean isSelected ( ) { ClusterViewer viewer = getViewer ( ) ; return viewer . getPcoaTab ( ) != null && viewer . getPcoaTab ( ) . isShowTriPlot ( ) ; }", "nl": "Esto está actualmente seleccionado?"}
20
- {"code": "public int hashCode ( ) { return ( int ) ( ConnectionRelativeTime . class . hashCode ( ) + time ) ; }", "nl": "Devuelve un valor de código hash para este objeto."}
21
- {"code": "protected VideoRemoveTagQuery videoId ( int value ) { return unsafeParam ( \"video_id\" , value ) ; }", "nl": "ID de video."}
22
- {"code": "public static void cover ( String dest , int w , int h , List < String > sources ) throws Exception { if ( sources == null ) { throw new Exception ( \"no source!\" ) ; } int len = sources . size ( ) ; if ( len == 4 || len == 9 ) { BufferedImage src [ ] = new BufferedImage [ len ] ; for ( int i = 0 ; i < len ; i ++ ) { src [ i ] = ImageIO . read ( new File ( sources . get ( i ) ) ) ; } BufferedImage out = new BufferedImage ( w , h , BufferedImage . TYPE_3BYTE_BGR ) ; Graphics g = out . getGraphics ( ) ; g . setColor ( Color . WHITE ) ; g . fillRect ( 0 , 0 , w , h ) ; g . setColor ( new Color ( 0xCCD4D0 ) ) ; int size = len == 4 ? 2 : 3 ; int space = len == 4 ? 4 : 2 ; int w1 = ( w - 1 ) / size ; int h1 = ( h - 1 ) / size ; float fd = ( ( float ) w1 ) / h1 ; for ( int i = 0 ; i < len ; i ++ ) { BufferedImage img = src [ i ] ; int w2 = img . getWidth ( ) ; int h2 = img . getHeight ( ) ; float fs = ( ( float ) w2 ) / h2 ; if ( fs > fd ) { w2 = w1 ; h2 = ( int ) ( w2 / fs ) ; } else if ( fs < fd ) { h2 = h1 ; w2 = ( int ) ( h2 * fs ) ; } else { w2 = w1 ; h2 = h1 ; } Image tmp = img . getScaledInstance ( w2 , h2 , Image . SCALE_SMOOTH ) ; int x = ( i % size ) * w1 ; int y = ( i / size ) * h1 ; g . drawImage ( tmp , x + space + ( w1 - w2 ) / 2 , y + space + ( h1 - h2 ) / 2 , w2 - 2 * space , h2 - 2 * space , null ) ; g . drawRect ( x , y , w1 , h1 ) ; } ImageIO . write ( out , \"jpg\" , new File ( dest ) ) ; } else { throw new Exception ( \"sources MUST is 4 or 9 picutures!\" + len ) ; } }", "nl": "Hacer una cubierta por imágenes de origen."}
23
- {"code": "public Bindings add ( String property , JRadioButton [ ] cs , int defaultValue ) { registerPropertyChangeListener ( cs ) ; return add ( new JRadioButtonBinding ( property , cs , defaultValue ) ) ; }", "nl": "Maneja jradiobutton"}
24
- {"code": "public void cancelAlarm ( Context context ) { if ( alarmMgr != null ) { alarmMgr . cancel ( alarmIntent ) ; } ComponentName receiver = new ComponentName ( context , BootReceiver . class ) ; PackageManager pm = context . getPackageManager ( ) ; pm . setComponentEnabledSetting ( receiver , PackageManager . COMPONENT_ENABLED_STATE_DISABLED , PackageManager . DONT_KILL_APP ) ; }", "nl": "Cancela la alarma."}
25
- {"code": "public static SM_SYSTEM_MESSAGE STR_SKILL_SUCC_DispelNPCBuff_A_TO_SELF ( String skillcaster , String skillname ) { return new SM_SYSTEM_MESSAGE ( 1201257 , skillcaster , skillname ) ; }", "nl": "[% Skillcaster] disipó sus pulseras mágicas utilizando [% de habilidad]."}
26
- {"code": "public static < T > T findValueOfType ( Collection < T > collection , Class < ? extends T > [ ] types ) { if ( isEmpty ( collection ) || ObjectUtils . isEmpty ( types ) ) return null ; for ( Class < ? extends T > type : types ) { T value = findValueOfType ( collection , type ) ; if ( value != null ) return value ; } return null ; }", "nl": "Encuentre un valor de uno de los tipos dados en la colección dada: Buscar la colección por un valor del primer tipo, luego buscando un valor del segundo tipo, etc."}
27
- {"code": "private static long writeLogSegment ( DistributedLogManager dlm , int numRecords , long startTxId , int flushPerNumRecords , boolean emptyRecord ) throws IOException { long txid = startTxId ; LogWriter writer = dlm . startLogSegmentNonPartitioned ( ) ; for ( long j = 1 ; j <= numRecords ; j ++ ) { if ( emptyRecord ) { writer . write ( DLMTestUtil . getEmptyLogRecordInstance ( txid ++ ) ) ; } else { writer . write ( DLMTestUtil . getLargeLogRecordInstance ( txid ++ ) ) ; } if ( j % flushPerNumRecords == 0 ) { writer . setReadyToFlush ( ) ; writer . flushAndSync ( ) ; } } writer . setReadyToFlush ( ) ; writer . flushAndSync ( ) ; writer . close ( ) ; return txid ; }", "nl": "Escriba <CÓDIGO> NUMRECORDS </ CODE> registra en el registro, comenzando con <código> STARTTXID </ CODE>.Enjuaga todos los registros </ code> Flushpernumrecords </ Code>."}
28
- {"code": "@ Override public void characters ( char [ ] ch , int start , int length ) throws SAXException { }", "nl": "Pathelement es el único elemento que tiene valores dentro de -> nada que hacer aquí.No le importa el estado actual de análisis."}
29
- {"code": "protected boolean runTestsOnEdt ( ) { return true ; }", "nl": "Anular para ejecutar pruebas fuera del EDT."}
30
- {"code": "@ Override public Histogram histogram ( ) { return hist ; }", "nl": "Devuelve el histograma que se aproxima a la distribución de unión de los valores de campo de los resultados de la consulta."}
31
- {"code": "public CountriesExample ( ) { oredCriteria = new ArrayList < Criteria > ( ) ; }", "nl": "Este método fue generado por MyBatis Generator.Este método corresponde a la tabla de la base de datos Public.Countries"}
32
- {"code": "public Pair < Integer , Set < Long > > writeTable ( long uuid ) { preBufferAccess ( ) ; int offset = _buffer . position ( ) ; try { if ( _buffer . remaining ( ) < 4 ) { return Pair . < Integer , Set < Long > > create ( - 1 , ImmutableSet . < Long > of ( ) ) ; } _buffer . position ( offset + 4 ) ; Set < Long > uuids ; try { ByteBuffer tableBuffer = _buffer . slice ( ) ; uuids = getTableSerializer ( ) . loadAndSerialize ( uuid , new ByteBufferOutputStream ( tableBuffer ) ) ; tableBuffer . flip ( ) ; int length = tableBuffer . limit ( ) ; _buffer . position ( offset ) ; _buffer . putInt ( length ) ; _buffer . position ( offset + 4 + length ) ; } catch ( UnknownTableException | DroppedTableException e ) { uuids = ImmutableSet . of ( uuid ) ; writeUnknownOrDroppedTable ( offset , e ) ; } _modified = true ; return Pair . create ( offset , uuids ) ; } catch ( BufferOverflowException e ) { _buffer . position ( offset ) ; if ( offset == 0 ) { _log . error ( \"Table with UUID {} is too large to fit in a single block\" , uuid ) ; throw new IllegalArgumentException ( \"Table too large\" ) ; } return Pair . < Integer , Set < Long > > create ( - 1 , ImmutableSet . < Long > of ( ) ) ; } catch ( IOException e ) { throw Throwables . propagate ( e ) ; } finally { postBufferAccess ( ) ; } }", "nl": "Escribe una mesa a la cuadra.Devuelve el desplazamiento en este bloque donde se escribió la tabla, o -1 si no había una habitación insuficiente en el bloque para escribir toda la tabla."}
33
- {"code": "public static boolean isBehind ( VisibleObject object1 , VisibleObject object2 ) { float angle = MathUtil . convertHeadingToDegree ( object1 . getHeading ( ) ) + 90 ; if ( angle >= 360 ) { angle -= 360 ; } double radian = Math . toRadians ( angle ) ; float x0 = object1 . getX ( ) ; float y0 = object1 . getY ( ) ; float x1 = ( float ) ( Math . cos ( radian ) * 5 ) + x0 ; float y1 = ( float ) ( Math . sin ( radian ) * 5 ) + y0 ; float xA = object2 . getX ( ) ; float yA = object2 . getY ( ) ; float temp = ( x1 - x0 ) * ( yA - y0 ) - ( y1 - y0 ) * ( xA - x0 ) ; return temp > 0 ; }", "nl": "Analizar dos posiciones de objeto por coordenadas."}
34
- {"code": "void assignToBlock ( BlockId blk ) { internalLock . writeLock ( ) . lock ( ) ; try { flush ( ) ; this . blk = blk ; contents . read ( blk ) ; pins = 0 ; lastLsn = LogSeqNum . readFromPage ( contents , LAST_LSN_OFFSET ) ; } finally { internalLock . writeLock ( ) . unlock ( ) ; } }", "nl": "Lee los contenidos del bloque especificado en la página del búfer.Si el búfer estaba sucio, entonces los contenidos de la página anterior se escriben primero en el disco."}
35
- {"code": "public boolean contains ( int index ) { return index >= getFirst ( ) && index <= getLast ( ) ; }", "nl": "Prueba si el artículo está contenido por rango"}
36
- {"code": "@ Override public boolean hasPassword ( ) { return propertyMap . containsKey ( PASSWORD_KEY ) ; }", "nl": "Cheques para la contraseña."}
37
- {"code": "public static SM_SYSTEM_MESSAGE STR_SKILL_SUCC_Protect_A_TO_ME ( String skillcaster , String skillname ) { return new SM_SYSTEM_MESSAGE ( 1200701 , skillcaster , skillname ) ; }", "nl": "[% Skillcaster] le ha protegido usando [% SkillName]."}
38
- {"code": "protected Highlight buildHighlight ( IDataSet set , int dataSetIndex , float xVal , DataSet . Rounding rounding ) { final Entry e = set . getEntryForXPos ( xVal , rounding ) ; if ( e == null ) return null ; MPPointD pixels = mChart . getTransformer ( set . getAxisDependency ( ) ) . getPixelsForValues ( e . getX ( ) , e . getY ( ) ) ; return new Highlight ( e . getX ( ) , e . getY ( ) , ( float ) pixels . x , ( float ) pixels . y , dataSetIndex , set . getAxisDependency ( ) ) ; }", "nl": "Devuelve el objeto resaltado correspondiente a la XValue y DataSetIdex seleccionados."}
39
- {"code": "public static SM_SYSTEM_MESSAGE STR_MSG_MY_PARTY_STATE ( String value0 ) { return new SM_SYSTEM_MESSAGE ( 1390135 , value0 ) ; }", "nl": "Cambiaste el grupo al estado% 0."}
40
- {"code": "private static void storeAsTypeWithSignaturesImport ( String strTypeToImport , @ Nullable Function objScope , PhpIndex objIndex , HashSet < String > objTypesSet ) { if ( strTypeToImport . contains ( \"|\" ) ) { for ( String strOneType : strTypeToImport . split ( \"\\\\|\" ) ) { storeAsTypeWithSignaturesImport ( Types . getType ( strOneType ) , objScope , objIndex , objTypesSet ) ; } return ; } if ( StringUtil . isEmpty ( strTypeToImport ) || strTypeToImport . equals ( \"?\" ) ) { return ; } if ( strTypeToImport . contains ( \"#\" ) ) { TypeFromSignatureResolvingUtil . resolveSignature ( strTypeToImport , objScope , objIndex , objTypesSet ) ; return ; } objTypesSet . add ( Types . getType ( strTypeToImport ) ) ; }", "nl": "Agrega Tipo, Manejo |y #, invocando firmas resolviendo"}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
train.jsonl DELETED
@@ -1,40 +0,0 @@
1
- {"code": "protected void tearDown ( ) { }", "nl": "Lágrimas hacia abajo del accesorio, por ejemplo, cierre una conexión de red.Este método se llama después de que se ejecute una prueba."}
2
- {"code": "@ KnownFailure ( \"Fixed on DonutBurger, Wrong Exception thrown\" ) public void test_unwrap_ByteBuffer$ByteBuffer_02 ( ) { String host = \"new host\" ; int port = 8080 ; ByteBuffer bbs = ByteBuffer . allocate ( 10 ) ; ByteBuffer bbR = ByteBuffer . allocate ( 100 ) . asReadOnlyBuffer ( ) ; ByteBuffer [ ] bbA = { bbR , ByteBuffer . allocate ( 10 ) , ByteBuffer . allocate ( 100 ) } ; SSLEngine sse = getEngine ( host , port ) ; sse . setUseClientMode ( true ) ; try { sse . unwrap ( bbs , bbA ) ; fail ( \"ReadOnlyBufferException wasn't thrown\" ) ; } catch ( ReadOnlyBufferException iobe ) { } catch ( Exception e ) { fail ( e + \" was thrown instead of ReadOnlyBufferException\" ) ; } }", "nl": "javax.net.ssl.sslengine # Deswrap (ByteBuffer SRC, ByteBuffer [] DSTS) Se debe arrojar readonlybufferException."}
3
- {"code": "public static CstFloat make ( int bits ) { return new CstFloat ( bits ) ; }", "nl": "Hace una instancia para el valor dado.Esto puede (pero no necesariamente) devuelve una instancia ya asignada."}
4
- {"code": "public long size ( ) { long size = 0 ; if ( parsedGeneExpressions == null ) parseGenes ( ) ; for ( int i = 0 ; i < parsedGeneExpressions . length ; i ++ ) size += parsedGeneExpressions [ i ] . numberOfNodes ( ) ; return size ; }", "nl": "Devuelve el \"tamaño\" del cromosoma, a saber, el número de nodos en todos sus genes analizados, no incluye las funciones de vinculación."}
5
- {"code": "public void increment ( View view ) { if ( quantity == 100 ) { return ; } quantity = quantity + 1 ; displayQuantity ( quantity ) ; }", "nl": "Este método se llama cuando se hace clic en el botón Plus."}
6
- {"code": "public void trimToSize ( ) { ++ modCount ; if ( size < elementData . length ) { elementData = Arrays . copyOf ( elementData , size ) ; } }", "nl": "Recorta la capacidad de esta instancia de <TT> ArrayHashlist </ TT> para ser el tamaño actual de la lista.Una aplicación puede usar esta operación para minimizar el almacenamiento de una instancia de <TT> ArrayHashList </ TT>."}
7
- {"code": "public SyncValueResponseMessage ( SyncValueResponseMessage other ) { __isset_bitfield = other . __isset_bitfield ; if ( other . isSetHeader ( ) ) { this . header = new AsyncMessageHeader ( other . header ) ; } this . count = other . count ; }", "nl": "Realiza una copia profunda en <i> Otro </ i>."}
8
- {"code": "public void clearParsers ( ) { if ( parserManager != null ) { parserManager . clearParsers ( ) ; } }", "nl": "Elimina a todos los analizadores de este área de texto."}
9
- {"code": "@ Override public void run ( ) { while ( doWork ) { deliverLock ( ) ; while ( tomLayer . isRetrievingState ( ) ) { System . out . println ( \"-- Retrieving State\" ) ; canDeliver . awaitUninterruptibly ( ) ; if ( tomLayer . getLastExec ( ) == - 1 ) System . out . println ( \"-- Ready to process operations\" ) ; } try { ArrayList < Decision > decisions = new ArrayList < Decision > ( ) ; decidedLock . lock ( ) ; if ( decided . isEmpty ( ) ) { notEmptyQueue . await ( ) ; } decided . drainTo ( decisions ) ; decidedLock . unlock ( ) ; if ( ! doWork ) break ; if ( decisions . size ( ) > 0 ) { TOMMessage [ ] [ ] requests = new TOMMessage [ decisions . size ( ) ] [ ] ; int [ ] consensusIds = new int [ requests . length ] ; int [ ] leadersIds = new int [ requests . length ] ; int [ ] regenciesIds = new int [ requests . length ] ; CertifiedDecision [ ] cDecs ; cDecs = new CertifiedDecision [ requests . length ] ; int count = 0 ; for ( Decision d : decisions ) { requests [ count ] = extractMessagesFromDecision ( d ) ; consensusIds [ count ] = d . getConsensusId ( ) ; leadersIds [ count ] = d . getLeader ( ) ; regenciesIds [ count ] = d . getRegency ( ) ; CertifiedDecision cDec = new CertifiedDecision ( this . controller . getStaticConf ( ) . getProcessId ( ) , d . getConsensusId ( ) , d . getValue ( ) , d . getDecisionEpoch ( ) . proof ) ; cDecs [ count ] = cDec ; if ( requests [ count ] [ 0 ] . equals ( d . firstMessageProposed ) ) { long time = requests [ count ] [ 0 ] . timestamp ; long seed = requests [ count ] [ 0 ] . seed ; int numOfNonces = requests [ count ] [ 0 ] . numOfNonces ; requests [ count ] [ 0 ] = d . firstMessageProposed ; requests [ count ] [ 0 ] . timestamp = time ; requests [ count ] [ 0 ] . seed = seed ; requests [ count ] [ 0 ] . numOfNonces = numOfNonces ; } count ++ ; } Decision lastDecision = decisions . get ( decisions . size ( ) - 1 ) ; if ( requests != null && requests . length > 0 ) { deliverMessages ( consensusIds , regenciesIds , leadersIds , cDecs , requests ) ; if ( controller . hasUpdates ( ) ) { processReconfigMessages ( lastDecision . getConsensusId ( ) ) ; tomLayer . setLastExec ( lastDecision . getConsensusId ( ) ) ; tomLayer . setInExec ( - 1 ) ; } } int cid = lastDecision . getConsensusId ( ) ; if ( cid > 2 ) { int stableConsensus = cid - 3 ; tomLayer . execManager . removeConsensus ( stableConsensus ) ; } } } catch ( Exception e ) { e . printStackTrace ( System . err ) ; } deliverUnlock ( ) ; } java . util . logging . Logger . getLogger ( DeliveryThread . class . getName ( ) ) . log ( Level . INFO , \"DeliveryThread stopped.\" ) ; }", "nl": "Este es el código para el hilo.Ofrece decisiones al objeto Receptor de solicitud TOM (que es la aplicación)"}
10
- {"code": "private byte [ ] calculateUValue ( byte [ ] generalKey , byte [ ] firstDocIdValue , int revision ) throws GeneralSecurityException , EncryptionUnsupportedByProductException { if ( revision == 2 ) { Cipher rc4 = createRC4Cipher ( ) ; SecretKey key = createRC4Key ( generalKey ) ; initEncryption ( rc4 , key ) ; return crypt ( rc4 , PW_PADDING ) ; } else if ( revision >= 3 ) { MessageDigest md5 = createMD5Digest ( ) ; md5 . update ( PW_PADDING ) ; if ( firstDocIdValue != null ) { md5 . update ( firstDocIdValue ) ; } final byte [ ] hash = md5 . digest ( ) ; Cipher rc4 = createRC4Cipher ( ) ; SecretKey key = createRC4Key ( generalKey ) ; initEncryption ( rc4 , key ) ; final byte [ ] v = crypt ( rc4 , hash ) ; rc4shuffle ( v , generalKey , rc4 ) ; assert v . length == 16 ; final byte [ ] entryValue = new byte [ 32 ] ; System . arraycopy ( v , 0 , entryValue , 0 , v . length ) ; System . arraycopy ( v , 0 , entryValue , 16 , v . length ) ; return entryValue ; } else { throw new EncryptionUnsupportedByProductException ( \"Unsupported standard security handler revision \" + revision ) ; } }", "nl": "Calcule cuál es el valor de U debe consistir en una clave particular y una configuración de documentos.Correponds a algoritmos 3.4 y 3.5 de la versión de referencia PDF 1.7"}
11
- {"code": "private void assign ( HashMap < String , DBIDs > labelMap , String label , DBIDRef id ) { if ( labelMap . containsKey ( label ) ) { DBIDs exist = labelMap . get ( label ) ; if ( exist instanceof DBID ) { ModifiableDBIDs n = DBIDUtil . newHashSet ( ) ; n . add ( ( DBID ) exist ) ; n . add ( id ) ; labelMap . put ( label , n ) ; } else { assert ( exist instanceof HashSetModifiableDBIDs ) ; assert ( exist . size ( ) > 1 ) ; ( ( ModifiableDBIDs ) exist ) . add ( id ) ; } } else { labelMap . put ( label , DBIDUtil . deref ( id ) ) ; } }", "nl": "Asigna la ID especificada al LabelMap según su etiqueta"}
12
- {"code": "private void showFeedback ( String message ) { if ( myHost != null ) { myHost . showFeedback ( message ) ; } else { System . out . println ( message ) ; } }", "nl": "Se utiliza para comunicar los mensajes emergentes de retroalimentación entre una herramienta de complemento y la principal interfaz de usuario de WhiteBox."}
13
- {"code": "public CDeleteAction ( final BackEndDebuggerProvider debuggerProvider , final int [ ] rows ) { super ( rows . length == 1 ? \"Remove Breakpoint\" : \"Remove Breakpoints\" ) ; m_debuggerProvider = Preconditions . checkNotNull ( debuggerProvider , \"IE01344: Debugger provider argument can not be null\" ) ; m_rows = rows . clone ( ) ; }", "nl": "Crea un nuevo objeto de acción."}
14
- {"code": "public Yaml ( BaseConstructor constructor , Representer representer , DumperOptions dumperOptions , Resolver resolver ) { if ( ! constructor . isExplicitPropertyUtils ( ) ) { constructor . setPropertyUtils ( representer . getPropertyUtils ( ) ) ; } else if ( ! representer . isExplicitPropertyUtils ( ) ) { representer . setPropertyUtils ( constructor . getPropertyUtils ( ) ) ; } this . constructor = constructor ; representer . setDefaultFlowStyle ( dumperOptions . getDefaultFlowStyle ( ) ) ; representer . setDefaultScalarStyle ( dumperOptions . getDefaultScalarStyle ( ) ) ; representer . getPropertyUtils ( ) . setAllowReadOnlyProperties ( dumperOptions . isAllowReadOnlyProperties ( ) ) ; representer . setTimeZone ( dumperOptions . getTimeZone ( ) ) ; this . representer = representer ; this . dumperOptions = dumperOptions ; this . resolver = resolver ; this . name = \"Yaml:\" + System . identityHashCode ( this ) ; }", "nl": "Crear instancia de YAML.Es seguro crear algunos casos y usarlos en diferentes hilos."}
15
- {"code": "public void testHitEndAfterFind ( ) { hitEndTest ( true , \"#01.0\" , \"r((ege)|(geg))x\" , \"regexx\" , false ) ; hitEndTest ( true , \"#01.1\" , \"r((ege)|(geg))x\" , \"regex\" , false ) ; hitEndTest ( true , \"#01.2\" , \"r((ege)|(geg))x\" , \"rege\" , true ) ; hitEndTest ( true , \"#01.2\" , \"r((ege)|(geg))x\" , \"xregexx\" , false ) ; hitEndTest ( true , \"#02.0\" , \"regex\" , \"rexreger\" , true ) ; hitEndTest ( true , \"#02.1\" , \"regex\" , \"raxregexr\" , false ) ; String floatRegex = getHexFloatRegex ( ) ; hitEndTest ( true , \"#03.0\" , floatRegex , Double . toHexString ( - 1.234d ) , true ) ; hitEndTest ( true , \"#03.1\" , floatRegex , \"1 ABC\" + Double . toHexString ( Double . NaN ) + \"buhuhu\" , false ) ; hitEndTest ( true , \"#03.2\" , floatRegex , Double . toHexString ( - 0.0 ) + \"--\" , false ) ; hitEndTest ( true , \"#03.3\" , floatRegex , \"--\" + Double . toHexString ( Double . MIN_VALUE ) + \"--\" , false ) ; hitEndTest ( true , \"#04.0\" , \"(\\\\d+) fish (\\\\d+) fish (\\\\w+) fish (\\\\d+)\" , \"1 fish 2 fish red fish 5\" , true ) ; hitEndTest ( true , \"#04.1\" , \"(\\\\d+) fish (\\\\d+) fish (\\\\w+) fish (\\\\d+)\" , \"----1 fish 2 fish red fish 5----\" , false ) ; }", "nl": "Prueba de regresión para Harmony-4396"}
16
- {"code": "public void add ( Individual individual ) { individuals . add ( individual ) ; }", "nl": "Agrega un solo individuo."}
17
- {"code": "public boolean removeSession ( IgniteUuid sesId ) { GridTaskSessionImpl ses = sesMap . get ( sesId ) ; assert ses == null || ses . isFullSupport ( ) ; if ( ses != null && ses . release ( ) ) { sesMap . remove ( sesId , ses ) ; return true ; } return false ; }", "nl": "Elimina la sesión para una identificación de sesión determinada."}
18
- {"code": "public static Bitmap loadBitmapOptimized ( Uri uri , Context context , int limit ) throws ImageLoadException { return loadBitmapOptimized ( new UriSource ( uri , context ) { } , limit ) ; }", "nl": "Carga del mapa de bits con un tamaño cargado optimizado menos que los píxeles específicos."}
19
- {"code": "protected BasePeriod ( long duration ) { super ( ) ; iType = PeriodType . standard ( ) ; int [ ] values = ISOChronology . getInstanceUTC ( ) . get ( DUMMY_PERIOD , duration ) ; iValues = new int [ 8 ] ; System . arraycopy ( values , 0 , iValues , 4 , 4 ) ; }", "nl": "Crea un período de la duración determinada del milisegundo con el tipo de período estándar y las reglas ISO, asegurando que el cálculo se realice con el tipo de período de sólo el tiempo.<p> El cálculo utiliza los campos de hora, minuto, segundo y milisegundo."}
20
- {"code": "public FlatBufferBuilder ( ) { this ( 1024 ) ; }", "nl": "Comience con un búfer de 1kib, luego crece según sea necesario."}
21
- {"code": "public PbrpcConnectionException ( String arg0 , Throwable arg1 ) { super ( arg0 , arg1 ) ; }", "nl": "Crea una nueva instancia de PBRPCConnectionException."}
22
- {"code": "public void uninstallUI ( JComponent a ) { for ( int i = 0 ; i < uis . size ( ) ; i ++ ) { ( ( ComponentUI ) ( uis . elementAt ( i ) ) ) . uninstallUI ( a ) ; } }", "nl": "Invoca el método <código> Uninstallui </ Code> en cada UI manejado por este objeto."}
23
- {"code": "public static void shutdown ( ) { if ( instance != null ) { instance . save ( ) ; } }", "nl": "Guarda el archivo de configuración."}
24
- {"code": "public boolean GE ( Word w2 ) { return value . GE ( w2 . value ) ; }", "nl": "Una comparación mayor o igual"}
25
- {"code": "public static UnionCoder of ( List < Coder < ? > > elementCoders ) { return new UnionCoder ( elementCoders ) ; }", "nl": "Construye un codificador de unión con la lista dada de los codificadores de elementos.Esta lista corresponde a un mapeo de una etiqueta de unión al codificador.Las etiquetas de la unión comienzan en 0."}
26
- {"code": "public void testFileDeletion ( ) throws Exception { File testDir = createTestDir ( \"testFileDeletion\" ) ; String prefix1 = \"testFileDeletion1\" ; File [ ] files1 = createFiles ( testDir , prefix1 , 5 ) ; String prefix2 = \"testFileDeletion2\" ; File [ ] files2 = createFiles ( testDir , prefix2 , 5 ) ; FileCommands . deleteFiles ( files1 , true ) ; assertNotExists ( files1 ) ; FileCommands . deleteFiles ( files2 , false ) ; Thread . sleep ( 1000 ) ; assertNotExists ( files2 ) ; }", "nl": "Verifique la capacidad de eliminar una lista de archivos."}
27
- {"code": "public boolean isOnClasspath ( String classpath ) { return this . classpath . equals ( classpath ) ; }", "nl": "Evalúa si la dependencia está dirigida a un tipo de ClassPath."}
28
- {"code": "protected void source ( String ceylon ) { String providerPreSrc = \"provider/\" + ceylon + \"_pre.ceylon\" ; String providerPostSrc = \"provider/\" + ceylon + \"_post.ceylon\" ; String clientSrc = \"client/\" + ceylon + \"_client.ceylon\" ; compile ( providerPreSrc , providerModuleSrc , providerPackageSrc ) ; compile ( clientSrc , clientModuleSrc ) ; compile ( providerPostSrc , providerModuleSrc , providerPackageSrc ) ; compile ( clientSrc , clientModuleSrc ) ; }", "nl": "Cheques que todavía podemos compilar un cliente después de un cambio"}
29
- {"code": "public PerformanceMonitor ( ) { initComponents ( ) ; if ( Display . getInstance ( ) . getCurrent ( ) != null ) { refreshFrameActionPerformed ( null ) ; } resultData . setModel ( new Model ( ) ) ; performanceLog . setLineWrap ( true ) ; resultData . setRowSorter ( new TableRowSorter < Model > ( ( Model ) resultData . getModel ( ) ) ) ; }", "nl": "Crea nuevo formulario de formulario"}
30
- {"code": "@ DSGenerator ( tool_name = \"Doppelganger\" , tool_version = \"2.0\" , generated_on = \"2014-09-03 15:01:15.190 -0400\" , hash_original_method = \"F262A3A18BABECF7EC492736953EAF6E\" , hash_generated_method = \"94A4545C167C029CC38AACEACF2087E9\" ) private void unparkSuccessor ( Node node ) { int ws = node . waitStatus ; if ( ws < 0 ) compareAndSetWaitStatus ( node , ws , 0 ) ; Node s = node . next ; if ( s == null || s . waitStatus > 0 ) { s = null ; for ( Node t = tail ; t != null && t != node ; t = t . prev ) if ( t . waitStatus <= 0 ) s = t ; } if ( s != null ) LockSupport . unpark ( s . thread ) ; }", "nl": "Despierta el sucesor del nodo, si existe uno."}
31
- {"code": "@ DSComment ( \"From safe class list\" ) @ DSSafe ( DSCat . SAFE_LIST ) @ DSGenerator ( tool_name = \"Doppelganger\" , tool_version = \"2.0\" , generated_on = \"2013-12-30 13:02:44.364 -0500\" , hash_original_method = \"EA3734ADDEB20313C9CAB09B48812C54\" , hash_generated_method = \"4858AFE909DDE63867ACB561D5449C13\" ) static public void assertFalse ( String message , boolean condition ) { assertTrue ( message , ! condition ) ; }", "nl": "Afirma que una condición es falsa.Si no lo es, lanza una asseritionfailedError con el mensaje dado."}
32
- {"code": "@ Override protected void initData ( ) { Intent intent = new Intent ( this , PushMessageService . class ) ; this . startService ( intent ) ; this . bindService ( intent , this . connection , Context . BIND_AUTO_CREATE ) ; }", "nl": "Inicializar los datos de la actividad."}
33
- {"code": "public static Date parseDateDay ( String dateString ) throws ParseException { return getSimplDateFormat ( DF_DEF ) . parse ( dateString ) ; }", "nl": "Devoluciones Fecha analizada desde la cadena en formato: yyyy.mm.dd."}
34
- {"code": "private boolean doesStoragePortExistsInVArray ( StoragePort umfsStoragePort , VirtualArray virtualArray ) { List < URI > virtualArrayPorts = returnAllPortsInVArray ( virtualArray . getId ( ) ) ; if ( virtualArrayPorts . contains ( umfsStoragePort . getId ( ) ) ) { return true ; } return false ; }", "nl": "Comprueba si el puerto de almacenamiento dado es parte de Varray"}
35
- {"code": "public SpringVaadinServletService ( VaadinServlet servlet , DeploymentConfiguration deploymentConfiguration , String serviceUrl ) throws ServiceException { super ( servlet , deploymentConfiguration ) ; this . serviceUrl = serviceUrl ; }", "nl": "Cree una instancia de servicio de servlet que permita el uso de una URL de servicio personalizada."}
36
- {"code": "private static List < TranslationResult > translateChildrenOfNode ( final ITranslationEnvironment environment , final IOperandTreeNode expression , OperandSize size , final boolean loadOperand , Long baseOffset ) throws InternalTranslationException { final List < TranslationResult > partialResults = new ArrayList < > ( ) ; final List < ? extends IOperandTreeNode > children = expression . getChildren ( ) ; Collections . sort ( children , comparator ) ; for ( final IOperandTreeNode child : children ) { final TranslationResult nextResult = loadOperand ( environment , baseOffset , child , isSegmentExpression ( expression . getValue ( ) ) ? expression : null , size , loadOperand ) ; partialResults . add ( nextResult ) ; baseOffset += nextResult . getInstructions ( ) . size ( ) ; } return partialResults ; }", "nl": "Itala sobre los niños de un nodo en el árbol del operando y genera traducciones para ellos."}
37
- {"code": "public void removeShutdownLatch ( final CountDownLatch latch ) { removeShutdownLatch ( latch , false ) ; }", "nl": "Libera el pestillo y lo elimina de los pestillos que son manejados por este controlador."}
38
- {"code": "public Version ( ) { this ( CommonReflection . getVersionTag ( ) ) ; }", "nl": "Construye una nueva versión de la versión del servidor actual en ejecución"}
39
- {"code": "public static void startActivity ( Context context , String chatId ) { Intent intent = new Intent ( context , SendGroupFile . class ) ; intent . putExtra ( EXTRA_CHAT_ID , chatId ) ; context . startActivity ( intent ) ; }", "nl": "Iniciar SendGroupFile Activity"}
40
- {"code": "public Index excludedDataCenters ( String excludedDataCenters ) { this . excludedDataCenters = excludedDataCenters ; return this ; }", "nl": "Establece la lista de centros de datos excluidos."}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
validation.jsonl DELETED
@@ -1,40 +0,0 @@
1
- {"code": "public List < Block > blockList ( ) { return blocks ; }", "nl": "Devuelve la lista de bloques que se habrían eliminado o se eliminaron del evento de explosión."}
2
- {"code": "public QRCallbackBuilder withCallbackIndex ( int index ) { this . callbackIndex = index ; return this ; }", "nl": "Establezca el índice de devolución de llamada para asignar a la devolución de llamada."}
3
- {"code": "public static LogoutResponse generateResponse ( Status status , String inResponseTo , Issuer issuer , String realm , String hostRole , String remoteEntity ) { if ( status == null ) { status = SAML2Utils . generateStatus ( SAML2Constants . SUCCESS , SAML2Utils . bundle . getString ( \"requestSuccess\" ) ) ; } LogoutResponse logoutResponse = ProtocolFactory . getInstance ( ) . createLogoutResponse ( ) ; String responseID = SAMLUtils . generateID ( ) ; try { logoutResponse . setStatus ( status ) ; logoutResponse . setID ( responseID ) ; logoutResponse . setInResponseTo ( inResponseTo ) ; logoutResponse . setVersion ( SAML2Constants . VERSION_2_0 ) ; logoutResponse . setIssueInstant ( newDate ( ) ) ; logoutResponse . setIssuer ( issuer ) ; } catch ( SAML2Exception e ) { debug . error ( \"Error in generating LogoutResponse.\" , e ) ; } return logoutResponse ; }", "nl": "Construye el <código> logoOutResponse </ Code> para ser enviado a IDP."}
4
- {"code": "public PrincipalHolder ( ) { }", "nl": "Construye un nuevo objeto <código> director </ código> con su campo </ code> inicializado en <código> null </ code>."}
5
- {"code": "public PdfName generate ( PdfResources resources ) { PdfName newName = new PdfName ( prefix + counter ++ ) ; PdfDictionary r = resources . getPdfObject ( ) ; if ( r . containsKey ( resourceType ) ) { while ( r . getAsDictionary ( resourceType ) . containsKey ( newName ) ) { newName = new PdfName ( prefix + counter ++ ) ; } } return newName ; }", "nl": "Genera nuevo nombre de recurso (único)."}
6
- {"code": "public static void main ( final String [ ] args ) { if ( args . length != 2 ) { System . err . println ( \"Usage: host port\" ) ; System . err . println ( \"For example: localhost 1389\" ) ; System . exit ( 1 ) ; } final String host = args [ 0 ] ; final int port = Integer . parseInt ( args [ 1 ] ) ; final LDAPConnectionFactory factory = new LDAPConnectionFactory ( host , port ) ; Connection connection = null ; try { connection = factory . getConnection ( ) ; String name = \"uid=kvaughan,ou=People,dc=example,dc=com\" ; char [ ] password = \"bribery\" . toCharArray ( ) ; connection . bind ( name , password ) ; updateEntry ( connection , name , \"description\" ) ; final SearchResultEntry entry = connection . readEntry ( name , \"cn\" , \"objectClass\" , \"hasSubordinates\" , \"numSubordinates\" , \"isMemberOf\" , \"modifyTimestamp\" ) ; DN dn = entry . getName ( ) ; Set < String > cn = entry . parseAttribute ( \"cn\" ) . asSetOfString ( \"\" ) ; Set < AttributeDescription > objectClasses = entry . parseAttribute ( \"objectClass\" ) . asSetOfAttributeDescription ( ) ; boolean hasChildren = entry . parseAttribute ( \"hasSubordinates\" ) . asBoolean ( ) ; int numChildren = entry . parseAttribute ( \"numSubordinates\" ) . asInteger ( 0 ) ; Set < DN > groups = entry . parseAttribute ( \"isMemberOf\" ) . usingSchema ( Schema . getDefaultSchema ( ) ) . asSetOfDN ( ) ; Calendar timestamp = entry . parseAttribute ( \"modifyTimestamp\" ) . asGeneralizedTime ( ) . toCalendar ( ) ; entry . setName ( dn ) ; Entry newEntry = new LinkedHashMapEntry ( name ) . addAttribute ( \"cn\" , cn . toArray ( ) ) . addAttribute ( \"objectClass\" , objectClasses . toArray ( ) ) . addAttribute ( \"hasChildren\" , hasChildren ) . addAttribute ( \"numChildren\" , numChildren ) . addAttribute ( \"groups\" , groups . toArray ( ) ) . addAttribute ( \"timestamp\" , timestamp . getTimeInMillis ( ) ) ; final LDIFEntryWriter writer = new LDIFEntryWriter ( System . out ) ; writer . writeEntry ( newEntry ) ; writer . close ( ) ; } catch ( final LdapException e ) { System . err . println ( e . getMessage ( ) ) ; System . exit ( e . getResult ( ) . getResultCode ( ) . intValue ( ) ) ; return ; } catch ( IOException e ) { System . err . println ( e . getMessage ( ) ) ; System . exit ( ResultCode . CLIENT_SIDE_LOCAL_ERROR . intValue ( ) ) ; } finally { if ( connection != null ) { connection . close ( ) ; } } }", "nl": "Conecte al servidor, y luego intente usar algunos controles LDAP."}
7
- {"code": "public static void closeQuietly ( final Connection conn ) { if ( conn != null ) { try { conn . close ( ) ; } catch ( final Exception e ) { } } }", "nl": "Cierra la conexión (que puede ser nula)."}
8
- {"code": "public static boolean isEmptyMessage ( MessageType msgType ) { return msgType . getFields ( ) . size ( ) == 0 ; }", "nl": "Devuelve si el MessageType dado no tiene campos"}
9
- {"code": "public void removeBeanContextMembershipListener ( BeanContextMembershipListener bcml ) { if ( bcml == null ) throw new NullPointerException ( \"listener\" ) ; synchronized ( bcmListeners ) { if ( ! bcmListeners . contains ( bcml ) ) return ; else bcmListeners . remove ( bcml ) ; } }", "nl": "Elimina un beanContextMemberShipListener"}
10
- {"code": "public void new_line ( ) throws IOException { write ( \"\\n\" ) ; for ( int i = 0 ; i < current_indent_level ; ++ i ) write ( INDENT_STRING ) ; }", "nl": "Comienza una nueva línea dentro de un alcance."}
11
- {"code": "private void skipToEndOfLine ( ) { for ( ; pos < in . length ( ) ; pos ++ ) { char c = in . charAt ( pos ) ; if ( c == '\\r' || c == '\\n' ) { pos ++ ; break ; } } }", "nl": "Avanza la posición hasta después del siguiente personaje de nueva línea.Si la línea se termina por \"\\ R \\ N\", el '\\ N' debe consumirse como espacio en blanco por la persona que llama."}
12
- {"code": "private CTSDataLayer ( ) { }", "nl": "No permita que esta clase sea instanciada."}
13
- {"code": "public PluginResult . PostOperation invokePostOperationExtendedPlugins ( PostOperationExtendedOperation extendedOperation ) { PluginResult . PostOperation result = null ; PluginResult . PostOperation finalResult = null ; ArrayList < DirectoryServerPlugin > skippedPlugins = skippedPreOperationPlugins . remove ( extendedOperation ) ; for ( DirectoryServerPlugin p : postOperationExtendedPlugins ) { if ( isInternalOperation ( extendedOperation , p ) || isSkipped ( skippedPlugins , p ) ) { continue ; } try { result = p . doPostOperation ( extendedOperation ) ; } catch ( Exception e ) { logException ( extendedOperation , p , e , ERR_PLUGIN_POST_OPERATION_PLUGIN_EXCEPTION ) ; } if ( result == null ) { logNullResult ( extendedOperation , p , ERR_PLUGIN_POST_OPERATION_PLUGIN_RETURNED_NULL ) ; } else if ( ! result . continueProcessing ( ) ) { finalResult = result ; } } if ( result == null ) { finalResult = PluginResult . PostOperation . continueOperationProcessing ( ) ; } else if ( finalResult == null ) { finalResult = result ; } return finalResult ; }", "nl": "Invoca el conjunto de complementos extendidos post-operación que se han configurado en el servidor de directorios."}
14
- {"code": "public static void main ( final String [ ] args ) { DOMTestCase . doMain ( attrnextsiblingnull . class , args ) ; }", "nl": "Ejecuta esta prueba de la línea de comandos."}
15
- {"code": "public static String trim ( String value ) { return value != null ? value . trim ( ) : null ; }", "nl": "Devuelve una copia de una cadena con espacios en blanco líderes y finales omitidos."}
16
- {"code": "public IdentityHashMap ( Map < ? extends K , ? extends V > map ) { this ( map . size ( ) < 6 ? 11 : map . size ( ) * 2 ) ; putAllImpl ( map ) ; }", "nl": "Crea un IdentityHashMap con el mapa dado como valores iniciales."}
17
- {"code": "public void executeCharsToContentHandler ( XPathContext xctxt , ContentHandler handler ) throws javax . xml . transform . TransformerException , org . xml . sax . SAXException { if ( Arg0IsNodesetExpr ( ) ) { int node = getArg0AsNode ( xctxt ) ; if ( DTM . NULL != node ) { DTM dtm = xctxt . getDTM ( node ) ; dtm . dispatchCharactersEvents ( node , handler , true ) ; } } else { XObject obj = execute ( xctxt ) ; obj . dispatchCharactersEvents ( handler ) ; } }", "nl": "Ejecute una expresión en el contexto de tiempo de ejecución de XPath y devuelva el resultado de la expresión."}
18
- {"code": "public static char [ ] copyOfRange ( char [ ] original , int from , int to ) { int newLength = to - from ; if ( newLength < 0 ) throw new IllegalArgumentException ( from + \" > \" + to ) ; char [ ] copy = new char [ newLength ] ; System . arraycopy ( original , from , copy , 0 , Math . min ( original . length - from , newLength ) ) ; return copy ; }", "nl": "Copia el rango especificado de la matriz especificada en una nueva matriz.El índice inicial del rango (<tt> de </ tt>) debe estar entre cero y <tt> original.length </ tt>, inclusive.El valor en <tt> original [de] </ tT> se coloca en el elemento inicial de la copia (a menos que <tt> de == original.length </ tt> o <tt> de == a </ tt>).Los valores de los elementos subsiguientes en la matriz original se colocan en elementos posteriores en la copia.El índice final del rango (<tt> a </ tT>), que debe ser mayor o igual que <tt> de </ tt>, puede ser mayor que <tt> original.length </ tt>, enEl caso <tt> '\\\\ u000' </ tt> se coloca en todos los elementos de la copia cuyo índice es mayor o igual que <tt> original.length - de </ tt>.La longitud de la matriz devuelta será <tt> a - desde </ tt>."}
19
- {"code": "public ShortLookupTable ( int offset , short data [ ] [ ] ) { super ( offset , data . length ) ; numComponents = data . length ; numEntries = data [ 0 ] . length ; this . data = new short [ numComponents ] [ ] ; for ( int i = 0 ; i < numComponents ; i ++ ) { this . data [ i ] = data [ i ] ; } }", "nl": "Construye un objeto breveupible de una matriz de matrices cortas que representan una tabla de búsqueda para cada banda.El desplazamiento se restará de los valores de entrada antes de indexarlos en las matrices.El número de bandas es la longitud del argumento de datos.La matriz de datos para cada banda se almacena como referencia."}
20
- {"code": "public boolean equals ( Object o ) { if ( o == this ) return true ; if ( ! ( o instanceof Set ) ) return false ; Collection < ? > c = ( Collection < ? > ) o ; if ( c . size ( ) != size ( ) ) return false ; try { return containsAll ( c ) ; } catch ( ClassCastException unused ) { return false ; } catch ( NullPointerException unused ) { return false ; } }", "nl": "Compara el objeto especificado con este conjunto para la igualdad.Devoluciones <TT> True </ TT> Si el objeto dado también es un conjunto, los dos conjuntos tienen el mismo tamaño, y cada miembro del conjunto dado está contenido en este conjunto.Esto asegura que el método <tt> es igual a </ tt> funciona correctamente en diferentes implementaciones de la interfaz <TT> Configuración </ TT>. <P> Esta implementación primero comprueba si el objeto especificado es este conjunto;Si es así, devuelve <tt> true </ tt>.Luego, verifica si el objeto especificado es un conjunto cuyo tamaño es idéntico al tamaño de este conjunto;Si no, devuelve FALSO.Si es así, devuelve <tt> contiene ((cobro) o) </ tt>."}
21
- {"code": "public static void main ( final String [ ] args ) { DOMTestCase . doMain ( getNamedItemNS01 . class , args ) ; }", "nl": "Ejecuta esta prueba de la línea de comandos."}
22
- {"code": "public static final void updateAllWidgets ( Context context , boolean updateFull ) { updateFull = updateFull || ! GlobalFlags . partialUpdate ( context ) ; final AppWidgetManager awm = AppWidgetManager . getInstance ( context ) ; sPollBattery = false ; for ( int widgetId : awm . getAppWidgetIds ( new ComponentName ( context , PCWidgetActivity . class ) ) ) { sPollBattery |= updateWidget ( awm , context , widgetId , updateFull ) ; } sPollBattery |= updateStatusbarWidget ( context ) ; setBatteryAlarm ( context ) ; QTStorage . updateAllWidgets ( context , updateFull ) ; if ( sUpdateHook != null ) { sUpdateHook . run ( ) ; } }", "nl": "Actualiza todos los widgets visibles."}
23
- {"code": "public static String addMetaAlias ( String url , String metaAlias ) { if ( url == null || url . length ( ) == 0 || metaAlias == null || metaAlias . length ( ) == 0 ) { return url ; } else { if ( url . indexOf ( IFSConstants . QUESTION_MARK ) == - 1 ) { return url + IFSConstants . QUESTION_MARK + IFSConstants . META_ALIAS + IFSConstants . EQUAL_TO + metaAlias ; } else { return url + IFSConstants . AMPERSAND + IFSConstants . META_ALIAS + IFSConstants . EQUAL_TO + metaAlias ; } } }", "nl": "Anexa meta alias a la URL."}
24
- {"code": "static boolean isValidKeyEventForKeyBindings ( KeyEvent e ) { return true ; }", "nl": "Devuelve VERDADERO si el <CÓDIGO> E </ CODE> es un teclado válido para usar en el procesamiento de los enlaces clave asociados con JComponents."}
25
- {"code": "public void autoroute_selected_items ( ) { if ( board_is_read_only ) return ; if ( ! ( interactive_state instanceof StateSelectedItem ) ) return ; r_board . generate_snapshot ( ) ; interactive_action_thread = new IteraAutorouteThread ( this ) ; interactive_action_thread . start ( ) ; }", "nl": "Autorute los elementos seleccionados."}
26
- {"code": "public Iterator < E > iterator ( ) { return new Itr ( ) ; }", "nl": "Devuelve un iterador sobre los elementos en esta lista en la secuencia correcta.<p> El iterador devuelto es <a href=\"#fail-fast\"> <i> Fail-Fast </ i> </a>."}
27
- {"code": "public boolean hasPurchase ( String sku ) { return mPurchaseMap . containsKey ( sku ) ; }", "nl": "Devuelve si existe o no una compra del producto dado."}
28
- {"code": "public static int computeNumberOfThreads ( int minimumValue , float cpuMultiplier ) { Reject . ifTrue ( cpuMultiplier < 0 , \"Multiplier must be a positive number\" ) ; return Math . max ( minimumValue , ( int ) ( Runtime . getRuntime ( ) . availableProcessors ( ) * cpuMultiplier ) ) ; }", "nl": "Calcula el número de hilos de repetición / trabajador / limpiador según el número de CPU en el sistema.Permite que se especifique un multiplicador y se devuelva un valor mínimo si no hay suficientes procesadores presentes en el sistema."}
29
- {"code": "public static void main ( final String [ ] args ) { DOMTestCase . doMain ( characterdatareplacedataexceedslengthofdata . class , args ) ; }", "nl": "Ejecuta esta prueba de la línea de comandos."}
30
- {"code": "protected String paramString ( ) { return super . paramString ( ) ; }", "nl": "Devuelve una representación de cadena de este jradiobutton.Este método está destinado a ser utilizado solo para fines de depuración, y el contenido y el formato de la cadena devuelta pueden variar entre las implementaciones.La cadena devuelta puede estar vacía, pero puede que no sea <código> NULL </ CODE>."}
31
- {"code": "public boolean check_move ( ) { if ( ! all_items_movable ) return false ; TimeLimit time_limit = new TimeLimit ( 3 ) ; Collection < BrdItem > ignore_items = new LinkedList < BrdItem > ( ) ; for ( SortedItemDouble an_item : item_group_arr ) { boolean move_ok ; if ( an_item . item instanceof BrdAbit ) { BrdAbit curr_drill_item = ( BrdAbit ) an_item . item ; if ( translate_vector . distance ( ) >= curr_drill_item . min_width ( ) ) { move_ok = false ; } else { move_ok = r_board . move_drill_algo . check ( curr_drill_item , translate_vector , max_recursion_depth , max_via_recursion_depth , ignore_items , time_limit ) ; } } else { move_ok = r_board . check_item_move ( an_item . item , translate_vector , ignore_items ) ; } if ( ! move_ok ) return false ; } return true ; }", "nl": "Los controles, si todos los elementos del grupo se pueden mover, enviando un obstáculo, separado sin crear violaciones de liquidación."}
32
- {"code": "AccessControlContext optimize ( ) { AccessControlContext acc ; DomainCombiner combiner = null ; AccessControlContext parent = null ; Permission [ ] permissions = null ; if ( isPrivileged ) { acc = privilegedContext ; if ( acc != null ) { if ( acc . isWrapped ) { permissions = acc . permissions ; parent = acc . parent ; } } } else { acc = AccessController . getInheritedAccessControlContext ( ) ; if ( acc != null ) { if ( acc . isLimited ) { parent = acc ; } } } boolean skipStack = ( context == null ) ; boolean skipAssigned = ( acc == null || acc . context == null ) ; ProtectionDomain [ ] assigned = ( skipAssigned ) ? null : acc . context ; ProtectionDomain [ ] pd ; boolean skipLimited = ( ( acc == null || ! acc . isWrapped ) && parent == null ) ; if ( acc != null && acc . combiner != null ) { if ( getDebug ( ) != null ) { debug . println ( \"AccessControlContext invoking the Combiner\" ) ; } combiner = acc . combiner ; pd = combiner . combine ( context , assigned ) ; } else { if ( skipStack ) { if ( skipAssigned ) { calculateFields ( acc , parent , permissions ) ; return this ; } else if ( skipLimited ) { return acc ; } } else if ( assigned != null ) { if ( skipLimited ) { if ( context . length == 1 && context [ 0 ] == assigned [ 0 ] ) { return acc ; } } } pd = combine ( context , assigned ) ; if ( skipLimited && ! skipAssigned && pd == assigned ) { return acc ; } else if ( skipAssigned && pd == context ) { calculateFields ( acc , parent , permissions ) ; return this ; } } this . context = pd ; this . combiner = combiner ; this . isPrivileged = false ; calculateFields ( acc , parent , permissions ) ; return this ; }", "nl": "Tome el contexto basado en la pila (esto) y combínelo con el contexto privilegiado o heredado, si es necesario.Cualquier ámbito de privilegio limitado está marcado, independientemente de si el contexto asignado proviene de un encerramiento inmediato de DOPRIVILEGED ().El ámbito de privilegio limitado puede fluir indirectamente desde el hilo de los padres heredados o un contexto asignado anteriormente capturado por GetContext ()."}
33
- {"code": "public void resetActionPath ( ) { application = null ; modelAction = null ; ruleAction = null ; ruleActionDataOld = null ; }", "nl": "Restablecer todos los elementos utilizados para crear una nueva acción."}
34
- {"code": "private void detach ( ) { if ( prevTakeIndex >= 0 ) { prevTakeIndex = DETACHED ; itrs . doSomeSweeping ( true ) ; } }", "nl": "Llamado cuando los ITRS deben dejar de rastrear este iterador, ya sea porque no hay más índices para actualizar (Cursor <0 && NextIndex <0 && Lastret <0) o como una excepción especial, cuando se vuelve a hacer clic en Lastart ().Retorno falso por primera vez.Llame solo desde el hilo de iteración."}
35
- {"code": "public boolean isLockedOut ( AccountLockoutInfo acInfo ) { boolean isLockedOut = acInfo . isLockout ( ) ; if ( debug . messageEnabled ( ) ) { debug . message ( \"ISAccoutLockout.isLockedOut : \" + isLockedOut ) ; } if ( ( acInfo != null ) && isLockedOut ) { long now = currentTimeMillis ( ) ; long lockOutTime = acInfo . getLockoutAt ( ) ; if ( ( lockOutTime + acInfo . getActualLockoutDuration ( ) ) < now ) { if ( debug . messageEnabled ( ) ) { debug . message ( \"isLockedOut returns false. \" + \"loginFailureLockoutDuration=\" + acInfo . getActualLockoutDuration ( ) + \" lockOutTime=\" + lockOutTime + \" now=\" + now ) ; } isLockedOut = false ; } } return isLockedOut ; }", "nl": "Devuelve <código> Verdadero </ código> si la cuenta está bloqueada.Cheques Si la cuenta del usuario está bloqueada según la información del bloqueo del usuario.Este método es para el bloqueo de la memoria.Si este método devuelve falso, entonces la cuenta está desbloqueada, es decir.La duración del bloqueo de memoria ha transcurrido.Las personas que llaman de este método deben actualizar el hash de bloqueo de cuenta si la cuenta está desbloqueada."}
36
- {"code": "public ServiceConfigurationError ( String msg ) { super ( msg ) ; }", "nl": "Construye una nueva instancia con el mensaje especificado."}
37
- {"code": "public static long readSwappedUnsignedInteger ( byte [ ] data , int offset ) { long low = ( ( ( data [ offset + 0 ] & 0xff ) << 0 ) + ( ( data [ offset + 1 ] & 0xff ) << 8 ) + ( ( data [ offset + 2 ] & 0xff ) << 16 ) ) ; long high = data [ offset + 3 ] & 0xff ; return ( high << 24 ) + ( 0xffffffffL & low ) ; }", "nl": "Lee un valor entero no firmado (32 bits) desde una matriz de bytes en un desplazamiento determinado.El valor se convierte en el sistema de endian opuesto al leer."}
38
- {"code": "public static AddRequest newAddRequest ( final DN name ) { return Requests . newAddRequest ( name ) . addControl ( TransactionIdControl . newControl ( AuditRequestContext . createSubTransactionIdValue ( ) ) ) ; }", "nl": "Crea una solicitud Agregar LDAP que propague la ID de transacción de auditoría común si el servidor LDAP de destino lo respalda (es decir, es OpenDJ)."}
39
- {"code": "public void runTest ( ) throws Throwable { Document doc ; Element rootNode ; NodeList childList ; Node childToRemove ; Node removedChild ; Node parentNode ; doc = ( Document ) load ( \"staff\" , true ) ; rootNode = doc . getDocumentElement ( ) ; childList = rootNode . getChildNodes ( ) ; childToRemove = childList . item ( 1 ) ; removedChild = rootNode . removeChild ( childToRemove ) ; parentNode = removedChild . getParentNode ( ) ; assertNull ( \"nodeRemoveChildAssert1\" , parentNode ) ; }", "nl": "Ejecuta el caso de prueba."}
40
- {"code": "@ Parameters ( { \"logtest-realm\" } ) @ AfterSuite ( groups = { \"api-adminwrite\" , \"api-adminread\" } ) public void suiteTearDown ( String realm ) { }", "nl": "SuitteTaDown Deshacer ¿Qué asignó la configuración: o configure la configuración de la configuración del Servicio de registro de Realm, si es necesario"}