Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of about 10,000 for ifelse (0.12 sec)

  1. src/cmd/compile/internal/ssa/phiopt.go

    				phioptint(v, b0, reverse)
    			}
    
    			if !v.Type.IsBoolean() {
    				continue
    			}
    
    			// Replaces
    			//   if a { x = true } else { x = false } with x = a
    			// and
    			//   if a { x = false } else { x = true } with x = !a
    			if v.Args[0].Op == OpConstBool && v.Args[1].Op == OpConstBool {
    				if v.Args[reverse].AuxInt != v.Args[1-reverse].AuxInt {
    					ops := [2]Op{OpNot, OpCopy}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  2. platforms/jvm/scala/src/main/java/org/gradle/api/internal/tasks/scala/ZincScalaCompiler.java

                .map(a -> PreviousResult.of(Optional.of(a.getAnalysis()), Optional.of(a.getMiniSetup()))))
                .orElse(PreviousResult.of(Optional.empty(), Optional.empty()));
    
            IncOptions incOptions = IncOptions.of()
                    .withRecompileOnMacroDef(Optional.of(false))
                    .withClassfileManagerType(classFileManagerType)
                    .withTransitiveStep(5);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/serialize/DefaultClassEncoder.kt

            if (id != null) {
                writeSmallInt(id)
            } else {
                val scope = scopeLookup.scopeFor(type.classLoader)
                val newId = classes.putInstance(type)
                writeSmallInt(newId)
                writeString(type.name)
                if (scope == null) {
                    writeBoolean(false)
                } else {
                    writeBoolean(true)
                    writeScope(scope.first)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/RegularImmutableSortedSet.java

              if (otherElement == null || unsafeCompare(element, otherElement) != 0) {
                return false;
              }
            }
            return true;
          } catch (ClassCastException e) {
            return false;
          } catch (NoSuchElementException e) {
            return false; // concurrent change to other set
          }
        }
        return containsAll(that);
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 9K bytes
    - Viewed (0)
  5. pkg/securitycontext/util_test.go

    func TestAddNoNewPrivileges(t *testing.T) {
    	pfalse := false
    	ptrue := true
    
    	tests := map[string]struct {
    		sc     *v1.SecurityContext
    		expect bool
    	}{
    		"allowPrivilegeEscalation nil security context nil": {
    			sc:     nil,
    			expect: false,
    		},
    		"allowPrivilegeEscalation nil": {
    			sc: &v1.SecurityContext{
    				AllowPrivilegeEscalation: nil,
    			},
    			expect: false,
    		},
    		"allowPrivilegeEscalation false": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 05 01:25:23 UTC 2020
    - 5K bytes
    - Viewed (0)
  6. analysis/analysis-api-standalone/analysis-api-fir-standalone-base/src/org/jetbrains/kotlin/analysis/api/standalone/base/services/LLStandaloneFirElementByPsiElementChooser.kt

                if (psi is KtPrimaryConstructor || fir.isPrimary) return false
            }
    
            if (!modifiersMatch(psi, fir)) return false
            if (!receiverTypeMatches(psi, fir)) return false
            if (!returnTypesMatch(psi, fir)) return false
            if (!typeParametersMatch(psi, fir)) return false
            if (fir is FirFunction && !valueParametersMatch(psi, fir)) return false
    
            return true
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 15 11:34:07 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  7. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt

              ),
          )
        assertThat(okHttpCertificateWithBadSignature.checkSignature(root.keyPair.public)).isFalse()
    
        // Wrong public key.
        assertThat(okHttpCertificate.checkSignature(certificate.keyPair.public)).isFalse()
      }
    
      @Test
      fun `EC issuer and signature`() {
        val root =
          HeldCertificate.Builder()
            .certificateAuthority(0)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/execution/plan/DefaultFinalizedExecutionPlan.java

                if (destroyableHierarchy.visitNodesAccessing(path, false, conflictsWithRunning)) {
                    return true;
                }
                if (nodeOrdinal != null) {
                    if (outputHierarchy.visitNodesAccessing(path, false, conflictsWithNodeInEarlierOrdinal)) {
                        return true;
                    }
                }
            }
            return false;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 28 21:49:39 UTC 2022
    - 28.1K bytes
    - Viewed (0)
  9. platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/PmdPlugin.java

            if (toolVersion.compareTo(VersionNumber.version(5)) < 0) {
                return Collections.singleton("pmd:pmd:" + versionString);
            } else if (toolVersion.compareTo(VersionNumber.parse("5.2.0")) < 0) {
                return Collections.singleton("net.sourceforge.pmd:pmd:" + versionString);
            } else if (toolVersion.getMajor() < 7) {
                return Collections.singleton("net.sourceforge.pmd:pmd-java:" + versionString);
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 18:07:00 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/model/LocalComponentDependencyMetadataTest.groovy

            expect:
            dep.withTarget(selector).is(dep)
        }
    
        def "selects the target configuration from target component"() {
            def dep = new LocalComponentDependencyMetadata(Stub(ComponentSelector), "to", [] as List, [], false, false, true, false, false, null)
            def toConfig = consumableConfiguration("to")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:10:53 UTC 2024
    - 25.3K bytes
    - Viewed (0)
Back to top