Search Options

Results per page
Sort
Preferred Languages
Advance

Results 471 - 480 of 859 for floats (0.06 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/LinkRenderer.java

            primitiveTypes.add("byte");
            primitiveTypes.add("short");
            primitiveTypes.add("int");
            primitiveTypes.add("long");
            primitiveTypes.add("char");
            primitiveTypes.add("float");
            primitiveTypes.add("double");
            primitiveTypes.add("void");
        }
    
        public LinkRenderer(Document document, DslDocModel model) {
            this(document, model, GroovySystem.getVersion(), "8");
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

            return this.forceUnicode;
        }
    
    
        /**
         * @return the flags
         */
        public final byte getFlags () {
            return this.flags;
        }
    
    
        /**
         * @param flags
         *            the flags to set
         */
        public final void setFlags ( byte flags ) {
            this.flags = flags;
        }
    
    
        /**
         * @return the flags2
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 32.7K bytes
    - Viewed (0)
  3. cmd/callhome.go

    				// callhome was disabled or context was canceled
    				return
    			}
    
    			// callhome running on a different node.
    			// sleep for some time and try again.
    			duration := time.Duration(r.Float64() * float64(globalCallhomeConfig.FrequencyDur()))
    			if duration < time.Second {
    				// Make sure to sleep at least a second to avoid high CPU ticks.
    				duration = time.Second
    			}
    			time.Sleep(duration)
    		}
    	}()
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 17 16:53:34 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/DataConfigDbm.java

                false, "Boolean", 0, 0, null, null, false, null, null, null, null, null, false);
        protected final ColumnInfo _columnBoost = cci("boost", "boost", null, null, Float.class, "boost", null, false, false, false, "Float", 0,
                0, null, null, false, null, null, null, null, null, false);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  5. docs/zh/docs/tutorial/path-params.md

                ],
                "msg": "value is not a valid integer",
                "type": "type_error.integer"
            }
        ]
    }
    ```
    
    这是因为路径参数 `item_id` 的值 (`"foo"`)的类型不是 `int`。
    
    值的类型不是 `int ` 而是浮点数(`float`)时也会显示同样的错误,比如: <a href="http://127.0.0.1:8000/items/4.2" class="external-link" target="_blank">http://127.0.0.1:8000/items/4.2。</a>
    
    /// check | "检查"
    
    **FastAPI** 使用 Python 类型声明实现了数据校验。
    
    注意,上面的错误清晰地指出了未通过校验的具体原因。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/OplockTests.java

                            throw e;
                        }
                    }
                }
                else if ( trans.hasCapability(SmbConstants.CAP_NT_SMBS) ) {
                    int flags = SmbConstants.O_CREAT;
                    int sharing = SmbConstants.FILE_SHARE_DELETE | SmbConstants.FILE_SHARE_READ | SmbConstants.FILE_SHARE_WRITE;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  7. docs/ko/docs/tutorial/path-params.md

                ],
                "msg": "value is not a valid integer",
                "type": "type_error.integer"
            }
        ]
    }
    ```
    
    경로 매개변수 `item_id`는 `int`가 아닌 `"foo"` 값이기 때문입니다.
    
    `int`가 아닌 `float`을 전달하는 경우에도 동일한 오류가 나타납니다: <a href="http://127.0.0.1:8000/items/4.2" class="external-link" target="_blank">http://127.0.0.1:8000/items/4.2</a>
    
    /// check | "확인"
    
    즉, 파이썬 타입 선언을 하면 **FastAPI**는 데이터 검증을 합니다.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbComTransaction.java

                ",maxParameterCount=" + maxParameterCount +
                ",maxDataCount=" + maxDataCount +
                ",maxSetupCount=" + (int)maxSetupCount +
                ",flags=0x" + Hexdump.toHexString( flags, 2 ) +
                ",timeout=" + timeout +
                ",parameterCount=" + parameterCount +
                ",parameterOffset=" + parameterOffset +
                ",parameterDisplacement=" + parameterDisplacement +
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.5K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_body/test_tutorial001.py

            {
                "detail": [
                    {
                        "loc": ["body", "price"],
                        "msg": "value is not a valid float",
                        "type": "type_error.float",
                    }
                ]
            }
        )
    
    
    def test_post_with_no_data(client: TestClient):
        response = client.post("/items/", json={})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_body/test_tutorial001_py310.py

            {
                "detail": [
                    {
                        "loc": ["body", "price"],
                        "msg": "value is not a valid float",
                        "type": "type_error.float",
                    }
                ]
            }
        )
    
    
    @needs_py310
    def test_post_with_no_data(client: TestClient):
        response = client.post("/items/", json={})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 15K bytes
    - Viewed (1)
Back to top