Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 860 for asStatement (0.18 sec)

  1. platforms/core-configuration/base-services-groovy/src/main/java/org/gradle/groovy/scripts/internal/StatementReplacingVisitorSupport.java

      private Statement replacement;
    
      /**
       * Visits the specified statement. If the statement's visit method calls
       * replaceVisitedMethodWith(), the statement will be replaced.
       */
      public Statement replace(Statement stat) {
        replacement = null;
        stat.visit(this);
        Statement result = replacement == null ? stat : replacement;
        replacement = null;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 10:00:26 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/BuildScriptTransformer.java

            this.filter = new Spec<Statement>() {
                @Override
                public boolean isSatisfiedBy(Statement statement) {
                    return AstUtils.detectScriptBlock(statement, blocksToIgnore) != null;
                }
            };
            this.scriptSource = scriptSource;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 10:39:11 UTC 2019
    - 2.7K bytes
    - Viewed (0)
  3. tests/query_test.go

    		t.Fatalf("SQL should include selected names, but got %v", result.Statement.SQL.String())
    	}
    
    	result = dryDB.Model(&User{}).Find(&User{}, user.ID)
    	if regexp.MustCompile("SELECT \\* FROM .*users").MatchString(result.Statement.SQL.String()) {
    		t.Fatalf("SQL should not include a * wildcard, but got %v", result.Statement.SQL.String())
    	}
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 49.8K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/TestResources.java

        }
    
        public TestFile getDir() {
            return testWorkDirProvider.getTestDirectory();
        }
    
        @Override
        public Statement apply(Statement base, final FrameworkMethod method, Object target) {
            final Statement statement = resources.apply(base, method, target);
            return new Statement() {
                @Override
                public void evaluate() throws Throwable {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/BuildScriptBuilder.java

            final List<Statement> statements = new ArrayList<>();
    
            public void add(Statement statement) {
                statements.add(statement);
            }
    
            @Override
            public List<Statement> getStatements() {
                return statements;
            }
    
            public Statement.Type type() {
                for (Statement statement : statements) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 21 12:02:29 UTC 2023
    - 90K bytes
    - Viewed (0)
  6. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/CodeAnalyzer.kt

        private
        fun doResolveStatement(context: AnalysisContext, statement: DataStatement) {
            when (statement) {
                is Assignment -> statementResolver.doResolveAssignment(context, statement)
                is LocalValue -> statementResolver.doResolveLocalValue(context, statement)
                is Expr -> statementResolver.doResolveExpressionStatement(context, statement)
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest-spi.h

    //
    // The verification of the assertion is done correctly even when the statement
    // throws an exception or aborts the current function.
    //
    // Known restrictions:
    //   - 'statement' cannot reference local non-static variables or
    //     non-static members of the current object.
    //   - 'statement' cannot return a value.
    //   - You cannot stream a failure message to this macro.
    //
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  8. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest-spi.h

    //
    // The verification of the assertion is done correctly even when the statement
    // throws an exception or aborts the current function.
    //
    // Known restrictions:
    //   - 'statement' cannot reference local non-static variables or
    //     non-static members of the current object.
    //   - 'statement' cannot return a value.
    //   - You cannot stream a failure message to this macro.
    //
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/ImperativeStatementDetectingTransformer.java

            BlockStatement statementBlock = source.getAST().getStatementBlock();
            List<Statement> statements = statementBlock.getStatements();
            for (Statement statement : statements) {
                if (!AstUtils.mayHaveAnEffect(statement)) {
                    continue;
                }
                ScriptBlock scriptBlock = AstUtils.detectScriptBlock(statement);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 02 16:56:13 UTC 2016
    - 2.1K bytes
    - Viewed (0)
  10. mockwebserver-junit4/src/test/java/mockwebserver3/junit4/MockWebServerRuleTest.kt

    import org.junit.Test
    import org.junit.runner.Description
    import org.junit.runners.model.Statement
    
    class MockWebServerRuleTest {
      @Test fun statementStartsAndStops() {
        val rule = MockWebServerRule()
        val called = AtomicBoolean()
        val statement: Statement =
          rule.apply(
            object : Statement() {
              override fun evaluate() {
                called.set(true)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top