Questions tagged [skip]

Skipping is a construct that manipulates iteration (for, while, do-while).

Skipping is a construct that manipulates iteration (for, while, do-while).

For example in Java there are three skip constructs:

  1. break which is skip the processing remaining loops.
  2. continue which is skip only remaining steps in the current loop.
  3. go to which skip all steps from current step to destination step.

While Oracle Service Bus has two:

  1. Resume will skip current stage and continue to process next stage.
  2. Reply will skip remaining stages.
721 questions
-2
votes
1 answer

Python : is coverage using skipped test

Here is a test : @skip("my test is skipped") def test_coverage(): my_function() My question is simple : If i run my coverage, will my_function will be covered or not (considering my test is skipped) ? Thanks !
AntoineLB
  • 482
  • 3
  • 19
-2
votes
1 answer

Python PostgreSQL CSV Import empty field sorter

i am trying to import a quite big csv file (21 columns / 125k rows) into Postgres. Since you cannot insert an empty string into Postgres like with Sqlite. I am trying to sort through each row with a csvDictReader and filter the data in order to…
Locust
  • 67
  • 1
  • 6
-2
votes
2 answers

How to skip some nested loops in delphi?

Could anyone please help me in this topic in Delphi? I have 5 nested "for" block loops iterating with variables k1, k2.. k5. Another variable k must control the depth of above 5 loops. This variable is defined during run-time. Is it possible to…
nikif99
  • 11
  • 3
-2
votes
1 answer

My android app is running very slow than it should be. "The application may be doing too much work on its main thread."

I am new to android. I did write some app before, and they all run well. However, this app run very slow that normal. E.g. When I click on the setting, it take 4s to appear. Here is the log I/Choreographer: Skipped 41 frames! The application may…
Joseph
  • 41
  • 1
  • 2
  • 8
-2
votes
1 answer

In Perl, how to "jump over" certain text and do search-and-replace in the remaining part?

The text has many occurrences of pattern; while doing regex find-and-replace, I wanna jump over certain segments of the text, and replace pattern in the remaining part. Example, in the code: #!/usr/bin/env perl use strict; use warnings; #iterate…
katyusza
  • 325
  • 2
  • 12
-2
votes
1 answer

my java program skip steps

So my program works fine until the end where it has to calculate and then show the results.It just show the result without calculating the "if" at the end. public class Convertisseur1 { public static void main(String[] args) { String…
Brian mon
  • 1
  • 1
  • 3
-3
votes
1 answer

Skipping lines in a txt file and start reading the data after that

I am trying to skip the first 23 lines of a txt file and read the data from line 24 onwards. The script itself worked fine before the file types changed and now I need to skip the first 23 rows of text. I have tried two ways: with…
asw107
  • 1
-3
votes
4 answers

Whats is going on? Python skipping over lines in function

When I run the following program in Python, the function takes the variables in, but completely skips over the rest and re-shows the main menu for the program without doing anything. Plus, it skips the qualifying "if" statements and asks for all the…
Brandon Paul
  • 3
  • 1
  • 2
-3
votes
1 answer

Reading file line by line and print

I'm trying to write a program that takes the file name from the user (for example: English), then opens this file and prints (9 questions) divided on (3 levels, each level has 3 questions), then opens another file (EnglishC) that contains the…
AAlj
  • 1
  • 1
-3
votes
1 answer

Skipping first value in the forloop

I have a forloop in javascript, which has 120 values, what i want is, i always want to skip the first values which the loop holds and always want to jump to next value which loop will generate, as i have several if conditions, value of i won't be…
Abbas
  • 4,948
  • 31
  • 95
  • 161
-4
votes
3 answers

A problem about the code in java especially in skip function

scanner.skip("(\r\n|[\n\r\u2028\u2029\u0085])?"); can anyone please explain this code... i'm still confusing about this code and how this code works while compiling
-4
votes
1 answer

Matching valid alternative in SKIP-FAIL regex

I have a working regex: ~<([A-Za-z_\-]+)[^>]*>(*SKIP)(*F)|([A-Za-z0-9<>:\[\]\s]|^|\n)text([A-Za-z0-9<>:\[\]\s]|$|\n)~sig Now, I want to match wanna_match_this in
wanna_match_this
and I am trying to fix…
Wellenbrecher
  • 179
  • 1
  • 9
-4
votes
3 answers

Python Doesn't return to while loop

I'm new with Python and I'm having a bit of trouble with my program. Whenever I input a second number that is larger than the first number "mCounter" should be set to false, and since there is a while loop, it should ask me to input the number of…
albad
  • 27
  • 1
  • 2
-4
votes
4 answers

In Perl, how can I use regular expressions to skip input lines containing digits?

I've got a list like this: Bicycles: Childrens 289 Bicycles: Mountain Bikes 928 Bicycles: Road Bikes 870 Camping & Outdoors Equipment 761 Canoes, Kayaks, Row-Boats 231 Climbing Equipment 120 Freeweights and Home Gyms 583 …
t a
  • 191
  • 1
  • 3
  • 14
-5
votes
1 answer

How to : Skip the Header record from one .csv and Copy the Records to another csv file using command prompt or batch

I got a task that says skip the header part of a csv file and copy the rest to another file. I am unable to figure out any way that can do this. I require to do this using command prompt or by writing a batch file code. I tried using for loop but…
1 2 3
48
49