Top "Conditional-statements" questions

In computer science, conditional statements, conditional expressions and conditional constructs are features of a programming language which perform different computations or actions depending on whether a programmer-specified boolean condition evaluates to true or false.

Conditional where clause in JPA criteria query

I am facing an issue for JPA criteria query. How can I add multiple where clause in my Criteria Query …

jpa where-clause predicate criteria-api conditional-statements
C Confused on how to initialize and implement a pthread mutex and condition variable

I'm a little bit confused on how to initialize and implement a pthread mutex and condition variable. The goal of …

c pthreads conditional-statements mutex producer-consumer
Oracle MERGE - if not matched then update if condition passes

I need to merge some values into a table, updating a field when a row with the specified key already …

sql oracle conditional-statements sql-merge
Docker-compose, conditional statements? (e.g. add volume only if condition)

I want to add a volume to my service, but only if the final user gave a folder for it. …

docker docker-compose conditional-statements cloud devops
Set a where condition for dataprovider in specific controller method

I am looking to set a condition only for a single action in the controller, so I don't want to …

search model yii2 conditional-statements dataprovider
cmp je/jg how they work in assembly

I would like to understand how cmp and je/jg work in assembly. I saw few examples on google but …

c assembly x86 conditional-statements cmp
C# !Conditional attribute?

Does C# have a not Conditional (!Conditional, NotConditional, Conditional(!)) attribute? i know C# has a Conditional attribute: [Conditional("ShowDebugString")] public …

c# conditional-statements conditional-compilation
Advantages of using condition variables over mutex

I was wondering what is the performance benefit of using condition variables over mutex locks in pthreads. What I found …

multithreading variables pthreads mutex conditional-statements
PHP IF Statement with three && conditions not working in Wordpress

<?php if (!is_front_page()) && (!is_single()) && (!is_page()) echo "<a href='http://chusmix.…

php wordpress conditional-statements multiple-conditions
Using logical operator in knockout conditional if binding

<!-- ko if:name == 'Setup' || name == 'Appeals' --> <button class="btn dropdown-toggle" data-toggle="dropdown"><span …

knockout.js conditional-statements logical-operators