Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 102 for 20 (0.17 sec)

  1. src/cmd/asm/internal/asm/testdata/ppc64.s

    	// Verify the supported forms of bcclr[l]
    	BC $20,CR0LT,$1,LR              // 4e800820
    	BC $20,CR0LT,$0,LR              // 4e800020
    	BC $20,CR0LT,LR                 // 4e800020
    	BC $20,CR0GT,LR                 // 4e810020
    	BC 20,CR0LT,LR                  // BC $20,CR0LT,LR // 4e800020
    	BC 20,undefined_symbol,LR       // BC $20,CR0LT,LR // 4e800020
    	BC 20,undefined_symbol+1,LR     // BC $20,CR0GT,LR // 4e810020
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Apr 24 15:53:25 GMT 2024
    - 49K bytes
    - Viewed (0)
  2. chainable_api.go

    //	// Find the first user with name jinzhu
    //	db.Where("name = ?", "jinzhu").First(&user)
    //	// Find the first user with name jinzhu and age 20
    //	db.Where(&User{Name: "jinzhu", Age: 20}).First(&user)
    //	// Find the first user with name jinzhu and age not equal to 20
    //	db.Where("name = ?", "jinzhu").Where("age <> ?", "20").First(&user)
    //
    // [docs]: https://gorm.io/docs/query.html#Conditions
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Wed Apr 17 03:38:55 GMT 2024
    - 14.3K bytes
    - Viewed (1)
  3. tests/query_test.go

    	}
    }
    
    func TestLimit(t *testing.T) {
    	users := []User{
    		{Name: "LimitUser1", Age: 1},
    		{Name: "LimitUser2", Age: 10},
    		{Name: "LimitUser3", Age: 20},
    		{Name: "LimitUser4", Age: 10},
    		{Name: "LimitUser5", Age: 20},
    		{Name: "LimitUser6", Age: 20},
    	}
    
    	DB.Create(&users)
    
    	var users1, users2, users3 []User
    	DB.Order("age desc").Limit(3).Find(&users1).Limit(5).Find(&users2).Limit(-1).Find(&users3)
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 49.8K bytes
    - Viewed (0)
  4. cmd/bootstrap-peer-server.go

    			// herd upon start up sequence.
    			time.Sleep(25*time.Millisecond + time.Duration(rand.Int63n(int64(100*time.Millisecond))))
    			retries++
    			// after 20 retries start logging that servers are not reachable yet
    			if retries >= 20 {
    				logger.Info(fmt.Sprintf("Waiting for at least %d remote servers with valid configuration to be online", len(clnts)/2))
    				if len(offlineEndpoints) > 0 {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  5. docs/es/docs/tutorial/query-params.md

    ```
    
    Sería lo mismo que ir a:
    
    ```
    http://127.0.0.1:8000/items/?skip=0&limit=10
    ```
    
    Pero, si por ejemplo vas a:
    
    ```
    http://127.0.0.1:8000/items/?skip=20
    ```
    
    Los valores de los parámetros en tu función serán:
    
    * `skip=20`: porque lo definiste en la URL
    * `limit=10`: porque era el valor por defecto
    
    ## Parámetros opcionales
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/VersionsMetadataGeneratorFactory.java

            return new VersionsMetadataGenerator(session, request);
        }
    
        @SuppressWarnings("checkstyle:magicnumber")
        @Override
        public float getPriority() {
            return 20; // GA level metadata should be deployed 2nd MD
        }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  7. src/bytes/buffer_test.go

    		buf.Truncate(26)
    		check(t, "TestBasicOperations (7)", &buf, testString[0:26])
    
    		buf.Truncate(20)
    		check(t, "TestBasicOperations (8)", &buf, testString[0:20])
    
    		empty(t, "TestBasicOperations (9)", &buf, testString[0:20], make([]byte, 5))
    		empty(t, "TestBasicOperations (10)", &buf, "", make([]byte, 100))
    
    		buf.WriteByte(testString[1])
    		c, err := buf.ReadByte()
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 13:31:36 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  8. docs/ko/docs/tutorial/query-params.md

    ```
    http://127.0.0.1:8000/items/
    ```
    
    아래로 이동하는 것과 같습니다:
    
    ```
    http://127.0.0.1:8000/items/?skip=0&limit=10
    ```
    
    하지만 가령 아래로 이동한 경우:
    
    ```
    http://127.0.0.1:8000/items/?skip=20
    ```
    
    함수의 매개변수 값은 아래가 됩니다:
    
    * `skip=20`: URL에서 지정했기 때문입니다
    * `limit=10`: 기본값이기 때문입니다
    
    ## 선택적 매개변수
    
    같은 방법으로 기본값을 `None`으로 설정하여 선택적 매개변수를 선언할 수 있습니다:
    
    ```Python hl_lines="9"
    {!../../../docs_src/query_params/tutorial002.py!}
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  9. docs/zh/docs/tutorial/query-params.md

    访问 URL:
    
    ```
    http://127.0.0.1:8000/items/
    ```
    
    与访问以下地址相同:
    
    ```
    http://127.0.0.1:8000/items/?skip=0&limit=10
    ```
    
    但如果访问:
    
    ```
    http://127.0.0.1:8000/items/?skip=20
    ```
    
    查询参数的值就是:
    
    * `skip=20`:在 URL 中设定的值
    * `limit=10`:使用默认值
    
    ## 可选参数
    
    同理,把默认值设为 `None` 即可声明**可选的**查询参数:
    
    === "Python 3.10+"
    
        ```Python hl_lines="7"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/body-multiple-params.md

        "price": 42.0,
        "tax": 3.2
    }
    ```
    
    Mas você pode também declarar múltiplos parâmetros de corpo, por exemplo, `item` e `user`:
    
    === "Python 3.10+"
    
        ```Python hl_lines="20"
        {!> ../../../docs_src/body_multiple_params/tutorial002_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="22"
        {!> ../../../docs_src/body_multiple_params/tutorial002.py!}
        ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 6K bytes
    - Viewed (0)
Back to top