Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 6,402 for king (0.01 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt

        peer.sendFrame().ping(false, 2, 3)
        peer.acceptFrame() // PING
        peer.play()
    
        // Play it back.
        connect(peer)
    
        // Verify the peer received what was expected.
        val ping = peer.takeFrame()
        assertThat(ping.type).isEqualTo(Http2.TYPE_PING)
        assertThat(ping.streamId).isEqualTo(0)
        assertThat(ping.payload1).isEqualTo(2)
        assertThat(ping.payload2).isEqualTo(3)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 75.5K bytes
    - Viewed (0)
  2. prepare_stmt.go

    	if err == nil {
    		return stmt.QueryRowContext(ctx, args...)
    	}
    	return &sql.Row{}
    }
    
    func (db *PreparedStmtDB) Ping() error {
    	conn, err := db.GetDBConn()
    	if err != nil {
    		return err
    	}
    	return conn.Ping()
    }
    
    type PreparedStmtTX struct {
    	Tx
    	PreparedStmtDB *PreparedStmtDB
    }
    
    func (db *PreparedStmtTX) GetDBConn() (*sql.DB, error) {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java

        }
    
        @Test
        public void testConcatKinds() {
            // Test static concatKinds method
            SuggestItem.Kind[] kinds1 = { SuggestItem.Kind.QUERY };
            SuggestItem.Kind[] kinds2 = { SuggestItem.Kind.DOCUMENT, SuggestItem.Kind.QUERY };
    
            SuggestItem.Kind[] result = SuggestItem.concatKinds(kinds1, kinds2);
    
            assertNotNull(result);
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

            item.kinds = new Kind[kinds.size()];
            for (int i = 0; i < kinds.size(); i++) {
                final String kind = kinds.get(i);
                if (kind.equals(Kind.DOCUMENT.toString())) {
                    item.kinds[i] = Kind.DOCUMENT;
                } else if (kind.equals(Kind.QUERY.toString())) {
                    item.kinds[i] = Kind.QUERY;
                } else if (kind.equals(Kind.USER.toString())) {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 25.1K bytes
    - Viewed (0)
  5. 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 Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Aug 18 11:44:52 UTC 2025
    - 26.5K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/security/get-current-user.md

    You actually don't have users that log in to your application but robots, bots, or other systems, that have just an access token? Again, it all works the same.
    
    Just use any kind of model, any kind of class, any kind of database that you need for your application. **FastAPI** has you covered with the dependency injection system.
    
    ## Code size { #code-size }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketReaderTest.kt

        }
      }
    
      @Test fun emptyPingCallsCallback() {
        data.write("8900".decodeHex()) // Empty ping
        clientReader.processNextFrame()
        callback.assertPing(EMPTY)
      }
    
      @Test fun pingCallsCallback() {
        data.write("890548656c6c6f".decodeHex()) // Ping with "Hello"
        clientReader.processNextFrame()
        callback.assertPing("Hello".encodeUtf8())
      }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 16:11:23 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java

                                        return List.of(new Link() {
                                            @Override
                                            public Kind kind() {
                                                return Kind.AFTER;
                                            }
    
                                            @Override
                                            public Pointer pointer() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 20.1K bytes
    - Viewed (0)
  9. internal/event/target/redis.go

    		return false, err
    	}
    	return target.isActive()
    }
    
    func (target *RedisTarget) isActive() (bool, error) {
    	conn := target.pool.Get()
    	defer conn.Close()
    
    	_, pingErr := conn.Do("PING")
    	if pingErr != nil {
    		if xnet.IsConnRefusedErr(pingErr) {
    			return false, store.ErrNotConnected
    		}
    		return false, pingErr
    	}
    	return true, nil
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

     * http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top