- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 607 for incorrect (0.07 seconds)
-
src/bufio/scan_test.go
s := NewScanner(strings.NewReader(text + "\n")) s.Buffer(make([]byte, 100), 3*MaxScanTokenSize) for s.Scan() { token := s.Text() if token != text { t.Errorf("scan got incorrect token of length %d", len(token)) } } if s.Err() != nil { t.Fatal("after scan:", s.Err()) } } // negativeEOFReader returns an invalid -1 at the end, as though it
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Sep 22 16:22:42 GMT 2023 - 14.3K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/security/simple-oauth2.md
/// tip `OAuth2PasswordRequestForm` 這個依賴類別的實例不會有以空白分隔長字串的 `scope` 屬性,而是會有一個 `scopes` 屬性,裡面是各個 scope 的實際字串清單。 本示例沒有使用 `scopes`,但如果你需要,功能已經在那裡了。 /// 現在,從(假的)資料庫裡用表單欄位的 `username` 取得使用者資料。 如果沒有該使用者,就回傳「Incorrect username or password」的錯誤。 我們用 `HTTPException` 這個例外來回傳錯誤: {* ../../docs_src/security/tutorial003_an_py310.py hl[3,79:81] *} ### 檢查密碼 { #check-the-password } 這時我們已經有來自資料庫的使用者資料,但還沒檢查密碼。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 9.1K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategy.java
return repositoryContainers .map(container -> fixRepositoryExpressions(container, pomDocument, context)) .reduce(false, Boolean::logicalOr); } /** * Fixes incorrect parent relative paths. */ private boolean fixIncorrectParentRelativePaths( Document pomDocument, Path pomPath, Map<Path, Document> pomMap, UpgradeContext context) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 22.2K bytes - Click Count (0) -
src/archive/zip/reader.go
// Gloss over this by reading headers until we encounter // a bad one, and then only report an ErrFormat or UnexpectedEOF if // the file count modulo 65536 is incorrect. for { f := &File{zip: r, zipr: rdr} err = readDirectoryHeader(f, buf) if err == ErrFormat || err == io.ErrUnexpectedEOF { break } if err != nil { return err }Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jan 15 18:35:56 GMT 2026 - 28.5K bytes - Click Count (0) -
cmd/signature-v4-utils_test.go
} // Since the list of signed headers value contained `expect`, the default value of `100-continue` will be added to extracted signed headers. if extractedExpect != expectedExpect { t.Errorf("expect header incorrect value: expected `%s`, got `%s`", expectedExpect, extractedExpect) } // case where the headers don't contain the one of the signed header in the signed headers list.Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 14.3K bytes - Click Count (0) -
internal/s3select/unused-errors.go
statusCode: 400, cause: err, } } func errParseCastArity(err error) *s3Error { return &s3Error{ code: "ParseCastArity", message: "The SQL expression CAST has incorrect arity.", statusCode: 400, cause: err, } } func errParseEmptySelect(err error) *s3Error { return &s3Error{ code: "ParseEmptySelect",
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 20 08:16:35 GMT 2024 - 17.5K bytes - Click Count (0) -
docs/ja/docs/tutorial/security/simple-oauth2.md
この例では `scopes` は使いませんが、必要ならその機能が利用できます。 /// 次に、フォームフィールドの `username` を使って(疑似の)データベースからユーザーデータを取得します。 そのユーザーが存在しない場合は、「Incorrect username or password」というエラーを返します。 エラーには `HTTPException` 例外を使います: {* ../../docs_src/security/tutorial003_an_py310.py hl[3,79:81] *} ### パスワードのチェック { #check-the-password }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 12.1K bytes - Click Count (0) -
cmd/endpoint-ellipses_test.go
12, true, }, { []string{"http://host{0...5}/data{1...28}"}, []uint64{168}, [][]uint64{{12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12}}, 12, true, }, // Incorrect custom set drive count. { []string{"http://host{0...5}/data{1...28}"}, []uint64{168}, nil, 10, false, }, // Failure not divisible number of disks. {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 15.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/Helpers.java
assertFalse(greater.equals(t)); } } } /** * Returns a collection that simulates concurrent modification by having its size method return * incorrect values. This is useful for testing methods that must treat the return value from * size() as a hint only. * * @param delta the difference between the true size of the collection and the values returned by
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 17.2K bytes - Click Count (0) -
internal/config/identity/openid/openid.go
func (r Config) GetUserIDClaim(cfgName string) string { pCfg, ok := r.ProviderCfgs[cfgName] if ok { if pCfg.UserIDClaim != "" { return pCfg.UserIDClaim } return "sub" } return "" // an incorrect config should be handled outside this function
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 17.3K bytes - Click Count (0)