Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,045 for king (0.02 sec)

  1. tests/upsert_test.go

    	}
    }
    
    func TestUpdateWithMissWhere(t *testing.T) {
    	type User struct {
    		ID   uint   `gorm:"column:id;<-:create"`
    		Name string `gorm:"column:name"`
    	}
    	user := User{ID: 1, Name: "king"}
    	tx := DB.Session(&gorm.Session{DryRun: true}).Save(&user)
    
    	if err := tx.Error; err != nil {
    		t.Fatalf("failed to update user,missing where condition,err=%+v", err)
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Sep 05 07:39:19 UTC 2022
    - 11.4K bytes
    - Viewed (0)
  2. docs/en/docs/img/sponsors/kong.png

    kong.png...
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu May 30 13:28:20 UTC 2024
    - 30K bytes
    - Viewed (0)
  3. docs/en/docs/img/sponsors/kong-banner.png

    kong-banner.png...
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu May 30 13:28:20 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Writer.kt

            sink.writeInt(settings[i])
          }
          sink.flush()
        }
      }
    
      /**
       * Send a connection-level ping to the peer. `ack` indicates this is a reply. The data in
       * `payload1` and `payload2` opaque binary, and there are no rules on the content.
       */
      @Throws(IOException::class)
      fun ping(
        ack: Boolean,
        payload1: Int,
        payload2: Int,
      ) {
        this.withLock {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

        payload2: Int,
      ) {
        try {
          writer.ping(reply, payload1, payload2)
        } catch (e: IOException) {
          failConnection(e)
        }
      }
    
      /** For testing: sends a ping and waits for a pong. */
      @Throws(InterruptedException::class)
      fun writePingAndAwaitPong() {
        writePing()
        awaitPong()
      }
    
      /** For testing: sends a ping to be awaited with [awaitPong]. */
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/ws/RealWebSocketTest.kt

        taskFaker.advanceUntil(ns(500L))
        server.processNextFrame() // Ping.
        client.processNextFrame() // Pong.
        taskFaker.advanceUntil(ns(1000L))
        server.processNextFrame() // Ping.
        client.processNextFrame() // Pong.
        taskFaker.advanceUntil(ns(1500L))
        server.processNextFrame() // Ping.
        client.processNextFrame() // Pong.
      }
    
      @Test
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 01:59:58 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

          awaitingPong = true
        }
    
        if (failedPing != -1) {
          failWebSocket(
            e =
              SocketTimeoutException(
                "sent ping but didn't receive pong within " +
                  "${pingIntervalMillis}ms (after ${failedPing - 1} successful ping/pongs)",
              ),
            isWriter = true,
          )
          return
        }
    
        try {
          writer.writePing(ByteString.EMPTY)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  8. schema/schema.go

    	value := reflect.ValueOf(dest)
    	if value.Kind() == reflect.Ptr && value.IsNil() {
    		value = reflect.New(value.Type().Elem())
    	}
    	modelType := reflect.Indirect(value).Type()
    
    	if modelType.Kind() == reflect.Interface {
    		modelType = reflect.Indirect(reflect.ValueOf(dest)).Elem().Type()
    	}
    
    	for modelType.Kind() == reflect.Slice || modelType.Kind() == reflect.Array || modelType.Kind() == reflect.Ptr {
    		modelType = modelType.Elem()
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jun 20 12:19:31 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  9. statement.go

    					stmt.Dest = destValueCanAddr.Interface()
    					destValue = destValueCanAddr.Elem()
    				}
    
    				switch destValue.Kind() {
    				case reflect.Struct:
    					stmt.AddError(field.Set(stmt.Context, destValue, value))
    				default:
    					stmt.AddError(ErrInvalidData)
    				}
    			}
    
    			switch stmt.ReflectValue.Kind() {
    			case reflect.Slice, reflect.Array:
    				if len(fromCallbacks) > 0 {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  10. schema/relationship_test.go

    	type Profile struct {
    		gorm.Model
    		Name         string
    		Kind         string
    		ProfileRefer uint
    	}
    
    	type User struct {
    		gorm.Model
    		Profiles []Profile `gorm:"many2many:user_profiles;foreignKey:Refer,Kind;joinForeignKey:UserRefer,Kind;References:ProfileRefer,Kind;joinReferences:ProfileR,Kind"`
    		Kind     string
    		Refer    uint
    	}
    
    	checkStructRelation(t, &User{}, Relation{
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Apr 15 03:20:20 UTC 2024
    - 25.5K bytes
    - Viewed (0)
Back to top