- Sort Score
- Num 10 results
- Language All
Results 2341 - 2350 of 7,804 for RETURN (0.17 seconds)
-
docs_src/security/tutorial004_an_py310.py
app = FastAPI() def verify_password(plain_password, hashed_password): return password_hash.verify(plain_password, hashed_password) def get_password_hash(password): return password_hash.hash(password) def get_user(db, username: str): if username in db: user_dict = db[username] return UserInDB(**user_dict) def authenticate_user(fake_db, username: str, password: str):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 18:10:35 GMT 2026 - 4.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/MarkdownRenderer.java
* * @param text the text to escape * @return HTML-escaped text */ private String escapeHtml(final String text) { if (text == null) { return ""; } return text.replace("&", "&").replace("<", "<").replace(">", ">").replace("\"", """).replace("'", "'"); } /** * Checks if the renderer is properly initialized. *Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Jan 12 10:32:40 GMT 2026 - 5.3K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Node.java
@Experimental @Immutable @Provider public interface Node { /** * @return artifact for this node */ @Nullable Artifact getArtifact(); /** * @return dependency for this node */ @Nullable Dependency getDependency(); /** * Gets the child nodes of this node. * * @return the child nodes of this node, never {@code null} */ @NonnullCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Mar 24 14:10:11 GMT 2025 - 4.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/pager/FileAuthPager.java
* * @return the default current page number */ protected int getDefaultCurrentPageNumber() { return DEFAULT_CURRENT_PAGE_NUMBER; } /** * Gets the total number of records in the result set. * * @return the total record count */ public int getAllRecordCount() { return allRecordCount; } /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 7K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/ListTestSuiteBuilder.java
} @Override public SampleElements<E> samples() { return gen.samples(); } @Override public List<E> create(Object... elements) { return (List<E>) SerializableTester.reserialize(gen.create(elements)); } @Override public E[] createArray(int length) { return gen.createArray(length); } @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 6.3K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderException.java
* * @return The identifier of the POM or an empty string if not known, never {@code null}. */ public String getModelId() { if (result == null) { return ""; } else if (result.getEffectiveModel() != null) { return result.getEffectiveModel().getId(); } else if (result.getRawModel() != null) { return result.getRawModel().getId();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Sep 25 21:57:56 GMT 2025 - 2.9K bytes - Click Count (0) -
cmd/data-usage_test.go
s, err = os.Stat(item.Path) if err != nil { return sizeS, err } sizeS.totalSize = s.Size() sizeS.versions++ return sizeS, nil } return sizeS, err } xls := xlStorage{drivePath: base, diskInfoCache: cachevalue.New[DiskInfo]()} xls.diskInfoCache.InitOnce(time.Second, cachevalue.Opts{}, func(ctx context.Context) (DiskInfo, error) { return DiskInfo{Total: 1 << 40, Free: 1 << 40}, nil })
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 14.7K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/UnhashableObject.java
UnhashableObject that = (UnhashableObject) object; return this.value == that.value; } return false; } @Override public int hashCode() { throw new UnsupportedOperationException(); } // needed because otherwise Object.toString() calls hashCode() @Override public String toString() { return "DontHashMe" + value; } @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 10 20:12:40 GMT 2025 - 1.6K bytes - Click Count (0) -
tests/test_security_api_key_cookie_optional.py
if oauth_header is None: return None user = User(username=oauth_header) return user @app.get("/users/me") def read_current_user(current_user: User = Depends(get_current_user)): if current_user is None: return {"msg": "Create an account first"} else: return current_user def test_security_api_key():Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 2.2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsTester.java
assertTrue("contains(present) should return true", collection.contains(e0())); } public void testContains_no() { assertFalse("contains(notPresent) should return false", collection.contains(e3())); } @CollectionFeature.Require(ALLOWS_NULL_QUERIES) public void testContains_nullNotContainedButQueriesSupported() { assertFalse("contains(null) should return false", collection.contains(null)); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3.2K bytes - Click Count (0)