Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 5,351 for ifelse (0.11 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/cfg/builder.go

    			b.stmt(s.Init)
    		}
    		then := b.newBlock(KindIfThen, s)
    		done := b.newBlock(KindIfDone, s)
    		_else := done
    		if s.Else != nil {
    			_else = b.newBlock(KindIfElse, s)
    		}
    		b.add(s.Cond)
    		b.ifelse(then, _else)
    		b.current = then
    		b.stmt(s.Body)
    		b.jump(done)
    
    		if s.Else != nil {
    			b.current = _else
    			b.stmt(s.Else)
    			b.jump(done)
    		}
    
    		b.current = done
    
    	case *ast.SwitchStmt:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  2. src/go/parser/parser_test.go

    	{name: "if", format: "package main; func main() { «if true { «» }»}", parseMultiplier: 2, scope: true, scopeMultiplier: 2}, // Parser nodes: IfStmt, BlockStmt. Scopes: IfStmt, BlockStmt
    	{name: "ifelse", format: "package main; func main() { «if true {} else » {} }", scope: true},
    	{name: "switch", format: "package main; func main() { «switch { default: «» }»}", scope: true, scopeMultiplier: 2},               // Scopes: TypeSwitchStmt, CaseClause
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 20:26:14 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/ConnectionSpecTest.kt

          assertThat(expected.message)
            .isEqualTo("At least one cipher suite is required")
        }
      }
    
      @Test
      fun cleartextBuilder() {
        val cleartextSpec = ConnectionSpec.Builder(false).build()
        assertThat(cleartextSpec.isTls).isFalse()
      }
    
      @Test
      fun tlsBuilder_explicitCiphers() {
        val tlsSpec =
          ConnectionSpec.Builder(true)
            .cipherSuites(CipherSuite.TLS_RSA_WITH_RC4_128_MD5)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  4. subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/internal/configurations/renderer/ConsoleConfigurationReportRenderer.java

        private void printHeader(Runnable action) {
            output.style(StyledTextOutput.Style.Header);
            indent(false);
            output.println("--------------------------------------------------");
            indent(false);
            action.run();
            output.style(StyledTextOutput.Style.Header);
            indent(false);
            output.println("--------------------------------------------------");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 12 16:17:12 UTC 2022
    - 18.3K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildOptionsIntegrationTest.groovy

        def "zip orElse chain used as task input"() {
            given:
            def configurationCache = newConfigurationCacheFixture()
            buildFile '''
                def userProvider = providers.gradleProperty("ci").map { "" }.orElse(providers.systemProperty("user"))
                def versionMajorProvider = providers.gradleProperty("versionMajor").orElse("1")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 28K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

                if (labelValueMap != null) {
                    return labelValueMap.get(value) != null;
                }
                return false;
            }).orElse(false);
        }
    
        public static String label(final String value) {
            return LaRequestUtil.getOptionalRequest().map(req -> {
                @SuppressWarnings("unchecked")
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/service/ElevateWordService.java

            final PermissionHelper permissionHelper = ComponentUtil.getPermissionHelper();
            final CsvConfig cfg = new CsvConfig(',', '"', '"');
            cfg.setEscapeDisabled(false);
            cfg.setQuoteDisabled(false);
            @SuppressWarnings("resource")
            final CsvReader csvReader = new CsvReader(reader, cfg);
            try {
                List<String> list;
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

        Future<?> possiblyIgnoredError1 = serializer.submitAsync(thirdCallable, directExecutor());
        secondFuture.cancel(true);
        assertThat(secondCallable.called).isFalse();
        assertThat(thirdCallable.called).isFalse();
        firstFuture.set(null);
        assertThat(secondCallable.called).isFalse();
        assertThat(thirdCallable.called).isTrue();
      }
    
      public void testCancellationMultipleThreads() throws Exception {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionInfoProvider.kt

                    false
    
                // - Loops
                is KtLoopExpression ->
                    false
    
                // - The `this` in `constructor(x: Int) : this(x)`
                is KtConstructorDelegationReferenceExpression ->
                    false
    
                // - Administrative node for EnumEntries. Never used as expression.
                is KtEnumEntrySuperclassReferenceExpression ->
                    false
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

        assertThat(future.set(99)).isFalse();
        assertThat(future.setException(new IndexOutOfBoundsException())).isFalse();
        assertThat(future.setFuture(new AbstractFuture<Integer>() {})).isFalse();
        assertThat(future.setFuture(immediateFuture(99))).isFalse();
      }
    
      private static void assertCannotCancel(AbstractFuture<Integer> future) {
        assertThat(future.cancel(true)).isFalse();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 15.5K bytes
    - Viewed (0)
Back to top