Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for asStatement (0.17 sec)

  1. 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)
  2. 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)
  3. src/cmd/compile/internal/syntax/parser.go

    	s.pos = p.pos()
    	s.Label = label
    
    	p.want(_Colon)
    
    	if p.tok == _Rbrace {
    		// We expect a statement (incl. an empty statement), which must be
    		// terminated by a semicolon. Because semicolons may be omitted before
    		// an _Rbrace, seeing an _Rbrace implies an empty statement.
    		e := new(EmptyStmt)
    		e.pos = p.pos()
    		s.Stmt = e
    		return s
    	}
    
    	s.Stmt = p.stmtOrNil()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest.h

    #define EXPECT_NO_THROW(statement) \
      GTEST_TEST_NO_THROW_(statement, GTEST_NONFATAL_FAILURE_)
    #define EXPECT_ANY_THROW(statement) \
      GTEST_TEST_ANY_THROW_(statement, GTEST_NONFATAL_FAILURE_)
    #define ASSERT_THROW(statement, expected_exception) \
      GTEST_TEST_THROW_(statement, expected_exception, GTEST_FATAL_FAILURE_)
    #define ASSERT_NO_THROW(statement) \
      GTEST_TEST_NO_THROW_(statement, GTEST_FATAL_FAILURE_)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 86.4K bytes
    - Viewed (0)
  5. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest.h

    #define EXPECT_NO_THROW(statement) \
      GTEST_TEST_NO_THROW_(statement, GTEST_NONFATAL_FAILURE_)
    #define EXPECT_ANY_THROW(statement) \
      GTEST_TEST_ANY_THROW_(statement, GTEST_NONFATAL_FAILURE_)
    #define ASSERT_THROW(statement, expected_exception) \
      GTEST_TEST_THROW_(statement, expected_exception, GTEST_FATAL_FAILURE_)
    #define ASSERT_NO_THROW(statement) \
      GTEST_TEST_NO_THROW_(statement, GTEST_FATAL_FAILURE_)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 86.4K bytes
    - Viewed (0)
  6. cmd/sts-handlers_test.go

    "admin:OBDInfo","admin:BandwidthMonitor"],"Resource":["arn:aws:s3:::*"]}]},"readonly":{"Version":"2012-10-17","Statement":[{"Effect":"Allow","Action":["s3:GetBucketLocation","s3:GetObject"],"Resource":["arn:aws:s3:::*"]}]},"readwrite":{"Version":"2012-10-17","Statement":[{"Effect":"Allow","Action":["s3:*"],"Resource":["arn:aws:s3:::*"]}]},"writeonly":{"Version":"2012-10-17","Statement":[{"Effect":"Allow","Action":["s3:PutObject"],"Resource":["arn:aws:s3:::*"]}]}}`,
    
    		// Built-in user should...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 18:45:50 UTC 2024
    - 90K bytes
    - Viewed (0)
  7. src/go/printer/testdata/parser.go

    		// lhs of a short variable declaration
    		p.shortVarDecl(p.makeIdentList(list))
    	case token.COLON:
    		// lhs of a label declaration or a communication clause of a select
    		// statement (parseLhsList is not called when parsing the case clause
    		// of a switch statement):
    		// - labels are declared by the caller of parseLhsList
    		// - for communication clauses, if there is a stand-alone identifier
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 20:19:51 UTC 2023
    - 50.5K bytes
    - Viewed (0)
  8. src/go/parser/parser.go

    			Body:   body,
    		}
    	}
    
    	// regular for statement
    	return &ast.ForStmt{
    		For:  pos,
    		Init: s1,
    		Cond: p.makeExpr(s2, "boolean or range expression"),
    		Post: s3,
    		Body: body,
    	}
    }
    
    func (p *parser) parseStmt() (s ast.Stmt) {
    	defer decNestLev(incNestLev(p))
    
    	if p.trace {
    		defer un(trace(p, "Statement"))
    	}
    
    	switch p.tok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 20:07:50 UTC 2023
    - 72.2K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/expr.go

    			x.mode = invalid
    			return
    		}
    	}
    }
    
    // exprKind describes the kind of an expression; the kind
    // determines if an expression is valid in 'statement context'.
    type exprKind int
    
    const (
    	conversion exprKind = iota
    	expression
    	statement
    )
    
    // target represent the (signature) type and description of the LHS
    // variable of an assignment, or of a function result variable.
    type target struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  10. src/go/types/expr.go

    			x.mode = invalid
    			return
    		}
    	}
    }
    
    // exprKind describes the kind of an expression; the kind
    // determines if an expression is valid in 'statement context'.
    type exprKind int
    
    const (
    	conversion exprKind = iota
    	expression
    	statement
    )
    
    // target represent the (signature) type and description of the LHS
    // variable of an assignment, or of a function result variable.
    type target struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
Back to top