Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 50 for Coalesced (0.19 sec)

  1. tests/query_test.go

    	}
    
    	// SELECT COALESCE(age,'42') FROM users;
    	r = dryDB.Table("users").Select("COALESCE(age,?)", 42).Find(&User{})
    	if !regexp.MustCompile(`SELECT COALESCE\(age,.*\) FROM .*users.*`).MatchString(r.Statement.SQL.String()) {
    		t.Fatalf("Build Select with func, but got %v", r.Statement.SQL.String())
    	}
    
    	// named arguments
    	r = dryDB.Table("users").Select("COALESCE(age, @default)", sql.Named("default", 42)).Find(&User{})
    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. internal/s3select/sql/parser_test.go

    		participle.CaseInsensitive("Keyword"),
    		participle.CaseInsensitive("Timeword"),
    	)
    
    	validCases := []string{
    		"count(*)",
    		"sum(2 + s.id)",
    		"sum(t)",
    		"avg(s.id[1])",
    		"coalesce(s.id[1], 2, 2 + 3)",
    
    		"cast(s as string)",
    		"cast(s AS INT)",
    		"cast(s as DECIMAL)",
    		"extract(YEAR from '2018-01-09')",
    		"extract(month from '2018-01-09')",
    
    		"extract(hour from '2018-01-09')",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  3. maven-core/src/test/resources-project-builder/xml-coalesce-text/pom.xml

      <artifactId>coreit</artifactId>
      <version>0.1</version>
      <packaging>jar</packaging>
    
      <name>Maven Integration Test :: MNG-3839</name>
      <description>
        Test that POM parsing properly coalesces text data.
      </description>
    
      <properties>
        <!--
        This checks the coalescing of CHARACTERS and CDATA events. Note that inner whitespace must be retained.
        -->
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Mar 29 19:02:56 UTC 2020
    - 34.5K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

              return userResponse.request
            }
    
            return null
          }
    
          HTTP_MISDIRECTED_REQUEST -> {
            // OkHttp can coalesce HTTP/2 connections even if the domain names are different. See
            // RealConnection.isEligible(). If we attempted this and the server returned HTTP 421, then
            // we can retry on a different connection.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 13:24:48 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/TreeRangeSet.java

        if (entryBelowLB != null) {
          // { <
          Range<C> rangeBelowLB = entryBelowLB.getValue();
          if (rangeBelowLB.upperBound.compareTo(lbToAdd) >= 0) {
            // { < }, and we will need to coalesce
            if (rangeBelowLB.upperBound.compareTo(ubToAdd) >= 0) {
              // { < > }
              ubToAdd = rangeBelowLB.upperBound;
              /*
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 32.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/TreeRangeSet.java

        if (entryBelowLB != null) {
          // { <
          Range<C> rangeBelowLB = entryBelowLB.getValue();
          if (rangeBelowLB.upperBound.compareTo(lbToAdd) >= 0) {
            // { < }, and we will need to coalesce
            if (rangeBelowLB.upperBound.compareTo(ubToAdd) >= 0) {
              // { < > }
              ubToAdd = rangeBelowLB.upperBound;
              /*
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 32.5K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

       * unhealthy connections in its search, this will clean them up.
       *
       * If [routes] is non-null these are the resolved routes (ie. IP addresses) for the connection.
       * This is used to coalesce related domains to the same HTTP/2 connection, such as `square.com`
       * and `square.ca`.
       */
      fun callAcquirePooledConnection(
        doExtensiveHealthChecks: Boolean,
        address: Address,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  8. src/runtime/preempt.go

    		switch s := readgstatus(gp); s {
    		default:
    			if s&_Gscan != 0 {
    				// Someone else is suspending it. Wait
    				// for them to finish.
    				//
    				// TODO: It would be nicer if we could
    				// coalesce suspends.
    				break
    			}
    
    			dumpgstatus(gp)
    			throw("invalid g status")
    
    		case _Gdead:
    			// Nothing to suspend.
    			//
    			// preemptStop may need to be cleared, but
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt

        user.updateRouteDatabaseAfterSuccess(route)
    
        val connection = this.connection!!
        user.connectionConnectEnd(connection, route)
    
        // If we raced another call connecting to this host, coalesce the connections. This makes for
        // 3 different lookups in the connection pool!
        val pooled3 = routePlanner.planReusePooledConnection(this, routes)
        if (pooled3 != null) return pooled3.connection
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  10. src/internal/trace/trace_test.go

    			// allocate enough memory to trigger a GC if called frequently enough.
    			// This might cause the runtime.GC call we're trying to match against to
    			// coalesce with an active GC triggered this by traceAdvance. In that case
    			// we won't have an EventRangeBegin event that matches the stace trace we're
    			// looking for, since runtime.GC will not have triggered the GC.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 18.5K bytes
    - Viewed (0)
Back to top