- Sort Score
- Num 10 results
- Language All
Results 1081 - 1090 of 1,777 for check (0.03 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/org/codelibs/fess/app/web/base/FessBaseAction.java
current = current.getCause(); } return buf.toString(); } /** * Checks if a checkbox value represents an enabled state. * This method considers "on" and "true" (case-insensitive) as enabled values. * * @param value the checkbox value to check * @return true if the value represents an enabled checkbox, false otherwise */
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 15K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/security/simple-oauth2.md
現在,從(假的)資料庫裡用表單欄位的 `username` 取得使用者資料。 如果沒有該使用者,就回傳「Incorrect username or password」的錯誤。 我們用 `HTTPException` 這個例外來回傳錯誤: {* ../../docs_src/security/tutorial003_an_py310.py hl[3,79:81] *} ### 檢查密碼 { #check-the-password } 這時我們已經有來自資料庫的使用者資料,但還沒檢查密碼。 先把那些資料放進 Pydantic 的 `UserInDB` 模型。 你絕對不要以純文字儲存密碼,所以我們會使用(假的)密碼雜湊系統。 如果密碼不匹配,我們回傳同樣的錯誤。 #### 密碼雜湊(hashing) { #password-hashing }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) -
guava-tests/test/com/google/common/hash/MacHashFunctionTest.java
}; try { hmacMd5(badKey); fail(); } catch (IllegalArgumentException expected) { } catch (NullPointerException toleratedOnAndroid) { // TODO(cpovirk): In an ideal world, we'd check here that we're running on Android. } } public void testEmptyInputs() throws Exception { String knownOutput = "8cbf764cbe2e4623d99a41354adfd390"; Mac mac = Mac.getInstance("HmacMD5");Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 14.2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt
apply { val identityBody = body ?: throw IllegalStateException("cannot gzip a request that has no body") val contentEncoding = headers["Content-Encoding"] check(contentEncoding == null) { "Content-Encoding already set: $contentEncoding" } headers.add("Content-Encoding", "gzip") body = GzipRequestBody(identityBody) }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Oct 30 13:46:58 GMT 2025 - 14.7K bytes - Click Count (1) -
docs/zh/docs/tutorial/security/simple-oauth2.md
/// 现在,即可使用表单字段 `username`,从(伪)数据库中获取用户数据。 如果不存在指定用户,则返回错误消息,提示**用户名或密码错误**。 本例使用 `HTTPException` 异常显示此错误: {* ../../docs_src/security/tutorial003_an_py310.py hl[3,79:81] *} ### 校验密码 { #check-the-password } 至此,我们已经从数据库中获取了用户数据,但尚未校验密码。 接下来,首先将数据放入 Pydantic 的 `UserInDB` 模型。 注意:永远不要保存明文密码,本例暂时先使用(伪)哈希密码系统。 如果密码不匹配,则返回与上面相同的错误。 #### 密码哈希 { #password-hashing }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
allTasks.add(listener); allTasks.add(() -> currentFuture.get().addListener(listener, executor)); } assertEquals(allTasks.size() + 1, barrier.getParties()); // sanity check for (int i = 0; i < 1000; i++) { Collections.shuffle(allTasks); AbstractFuture<String> future = new AbstractFuture<String>() {}; AbstractFuture<String> setFuture = new AbstractFuture<String>() {};
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 45.2K bytes - Click Count (0) -
CHANGELOG/CHANGELOG-1.34.md
- Kubeadm: switched the validation check for Linux kernel version to throw warnings instead of errors. ([#131919](https://github.com/kubernetes/kubernetes/pull/131919), [@neol...
Created: Fri Apr 03 09:05:14 GMT 2026 - Last Modified: Thu Mar 19 03:19:43 GMT 2026 - 368.7K bytes - Click Count (2) -
src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserEdgeCaseTest.java
defaultReadingConverter, defaultReadingConverter, defaultNormalizer, analyzer); assertTrue("Should have items from multiple fields", items.size() > 0); // Check that items come from different fields boolean hasContent = items.stream().anyMatch(i -> i.getFields()[0].equals("content")); boolean hasTitle = items.stream().anyMatch(i -> i.getFields()[0].equals("title"));Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sat Mar 14 02:35:38 GMT 2026 - 20.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java
// Prepare test data String filename = "testfile.txt"; byte[] buffer = createValidBuffer(filename, "TESTFI~1.TXT", true); // Decode and check return value int bytesConsumed = fileBothDirectoryInfo.decode(buffer, 0, buffer.length); // Verify bytes consumed matches the actual data sizeCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.9K bytes - Click Count (0) -
cmd/s3-zip-handlers.go
return } opts, err := getOpts(ctx, r, bucket, zipPath) if err != nil { writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL) return } getObjectInfo := objectAPI.GetObjectInfo // Check for auth type to return S3 compatible error. // type to return the correct error (NoSuchKey vs AccessDenied) if s3Error := checkRequestAuthType(ctx, r, policy.GetObjectAction, bucket, zipPath); s3Error != ErrNone {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 15.8K bytes - Click Count (0)