Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 901 for buyers (0.19 sec)

  1. tests/joins_test.go

    	} else if len(users2) != len(users) {
    		t.Fatalf("Failed to load join users, got: %v, expect: %v", len(users2), len(users))
    	}
    
    	sort.Slice(users2, func(i, j int) bool {
    		return users2[i].ID > users2[j].ID
    	})
    
    	sort.Slice(users, func(i, j int) bool {
    		return users[i].ID > users[j].ID
    	})
    
    	for idx, user := range users {
    		// user
    		CheckUser(t, user, users2[idx])
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Apr 26 14:19:32 GMT 2023
    - 13.5K bytes
    - Viewed (1)
  2. docs/zh/docs/async.md

    你和你的恋人一起去快餐店,你排队在后面,收银员从你前面的人接单。😍
    
    <img src="/img/async/concurrent-burgers/concurrent-burgers-01.png" class="illustration">
    
    然后轮到你了,你为你的恋人和你选了两个非常豪华的汉堡。🍔🍔
    
    <img src="/img/async/concurrent-burgers/concurrent-burgers-02.png" class="illustration">
    
    收银员对厨房里的厨师说了一些话,让他们知道他们必须为你准备汉堡(尽管他们目前正在为之前的顾客准备汉堡)。
    
    <img src="/img/async/concurrent-burgers/concurrent-burgers-03.png" class="illustration">
    
    你付钱了。 💸
    
    收银员给你轮到的号码。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 21.1K bytes
    - Viewed (0)
  3. tests/count_test.go

    	}
    
    	var count4 int64
    	if err := DB.Table("users").Joins("LEFT JOIN companies on companies.name = users.name").Where("users.name = ?", user1.Name).Count(&count4).Error; err != nil || count4 != 1 {
    		t.Errorf("count with join, got error: %v, count %v", err, count4)
    	}
    
    	var count5 int64
    	if err := DB.Table("users").Where("users.name = ?", user1.Name).Order("name").Count(&count5).Error; err != nil || count5 != 1 {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Oct 30 09:15:49 GMT 2023
    - 6.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/BufferCache.java

    public class BufferCache {
    
        private static final int MAX_BUFFERS = Config.getInt( "jcifs.smb1.smb.maxBuffers", 16 );
    
        static Object[] cache = new Object[MAX_BUFFERS];
        private static int freeBuffers = 0;
    
        static public byte[] getBuffer() {
            synchronized( cache ) {
                byte[] buf;
    
                if (freeBuffers > 0) {
                    for (int i = 0; i < MAX_BUFFERS; i++) {
                        if( cache[i] != null ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2.2K bytes
    - Viewed (0)
  5. tests/associations_has_many_test.go

    	)
    
    	AssertAssociationCount(t, users, "Pets", 5, "After Append")
    
    	// Delete
    	if err := DB.Model(&users).Association("Pets").Delete(&users[2].Pets); err != nil {
    		t.Errorf("no error should happened when deleting pet, but got %v", err)
    	}
    
    	AssertAssociationCount(t, users, "Pets", 4, "after delete")
    
    	if err := DB.Model(&users).Association("Pets").Delete(users[0].Pets[0], users[1].Pets[1]); err != nil {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Dec 15 08:36:08 GMT 2023
    - 15.6K bytes
    - Viewed (0)
  6. architecture/ambient/ztunnel.md

    ### Inbound
    
    Traffic entering a pod over HBONE will be handled by the "inbound" code path, on port 15008.
    
    Incoming requests have multiple "layers": TLS wrapping HTTP CONNECT that is wrapping the user's connection.
    
    To unwrap the first layer, we terminate TLS.
    As part of this, we need to pick the correct certificate to serve on behalf of the destination workload.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 25 22:35:16 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  7. tests/connpool_test.go

    			"SELECT * FROM `users` WHERE name = ? AND `users`.`deleted_at` IS NULL ORDER BY `users`.`id` LIMIT ?",
    			"SELECT * FROM `users` WHERE name = ? AND `users`.`deleted_at` IS NULL ORDER BY `users`.`id` LIMIT ?",
    			"INSERT INTO `users` (`created_at`,`updated_at`,`deleted_at`,`name`,`age`,`birthday`,`company_id`,`manager_id`,`active`) VALUES (?,?,?,?,?,?,?,?,?)",
    			"SELECT * FROM `users` WHERE name = ? AND `users`.`deleted_at` IS NULL ORDER BY `users`.`id` LIMIT ?",
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Feb 06 02:54:40 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_testing_dependencies/test_tutorial001_py310.py

    
    @needs_py310
    def test_override_in_users():
        from docs_src.dependency_testing.tutorial001_py310 import client
    
        response = client.get("/users/")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "message": "Hello Users!",
            "params": {"q": None, "skip": 5, "limit": 10},
        }
    
    
    @needs_py310
    def test_override_in_users_with_q():
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 2K bytes
    - Viewed (0)
  9. tests/distinct_test.go

    )
    
    func TestDistinct(t *testing.T) {
    	users := []User{
    		*GetUser("distinct", Config{}),
    		*GetUser("distinct", Config{}),
    		*GetUser("distinct", Config{}),
    		*GetUser("distinct-2", Config{}),
    		*GetUser("distinct-3", Config{}),
    	}
    	users[0].Age = 20
    
    	if err := DB.Create(&users).Error; err != nil {
    		t.Fatalf("errors happened when create users: %v", err)
    	}
    
    	var names []string
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Jan 06 07:02:53 GMT 2022
    - 2.5K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_testing_dependencies/test_tutorial001_an.py

        test_override_in_items_with_params()
    
    
    def test_override_in_users():
        response = client.get("/users/")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "message": "Hello Users!",
            "params": {"q": None, "skip": 5, "limit": 10},
        }
    
    
    def test_override_in_users_with_q():
        response = client.get("/users/?q=foo")
        assert response.status_code == 200, response.text
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 1.5K bytes
    - Viewed (0)
Back to top