- Sort Score
- Result 10 results
- Languages All
Results 2991 - 3000 of 7,200 for RETURN (0.04 sec)
-
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():Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ProcessHelper.java
final JobProcess jobProcess = runningProcessMap.remove(sessionId); return destroyProcess(sessionId, jobProcess); } /** * Checks if any processes are currently running. * * @return true if at least one process is running, false otherwise */ public boolean isProcessRunning() { return !runningProcessMap.isEmpty(); } /**
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 20 06:54:47 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/EmptyIteratorTest.java
} @Test @DisplayName("hasNext should always return false") void testHasNextAlwaysReturnsFalse() { // When & Then assertFalse(emptyIterator.hasNext(), "hasNext should return false"); assertFalse(emptyIterator.hasNext(), "hasNext should consistently return false"); assertFalse(emptyIterator.hasNext(), "hasNext should always return false on repeated calls"); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0) -
build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java
} else if (isMacOS()) { return new String[]{"ps", "x", "-o", "pid,command"}; } else if (isAlpine()) { return new String[]{"ps", "x", "-o", "pid,args"}; } else { return new String[]{"ps", "x", "-o", "pid,cmd"}; } } private static boolean isWindows() { return System.getProperty("os.name").toLowerCase(Locale.ROOT).contains("windows"); }
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Sep 23 13:49:45 UTC 2025 - 12K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java
sb.append(ch); } } return sb.toString(); } return s; } /** * Returns the simple name of the dictionary file. * * @return The file name without the path. */ public String getSimpleName() { return new File(path).getName(); } /**
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 20 07:09:00 UTC 2025 - 15.9K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheStats.java
* implementing your own stats collector. */ public long requestCount() { return saturatedAdd(hitCount, missCount); } /** Returns the number of times {@link Cache} lookup methods have returned a cached value. */ public long hitCount() { return hitCount; } /** * Returns the ratio of cache requests which were hits. This is defined as {@code hitCount /
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 12.6K bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheStats.java
* implementing your own stats collector. */ public long requestCount() { return saturatedAdd(hitCount, missCount); } /** Returns the number of times {@link Cache} lookup methods have returned a cached value. */ public long hitCount() { return hitCount; } /** * Returns the ratio of cache requests which were hits. This is defined as {@code hitCount /
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 12.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComWriteAndX.java
protected int getBatchLimit(final Configuration cfg, final byte cmd) { if (cmd == SMB_COM_READ_ANDX) { return cfg.getBatchLimit("WriteAndX.ReadAndX"); } if (cmd == SMB_COM_CLOSE) { return cfg.getBatchLimit("WriteAndX.Close"); } return 0; } @Override protected int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.1K bytes - Viewed (0) -
tests/test_request_params/test_header/test_optional_str.py
@app.get("/optional-str") async def read_optional_str(p: Annotated[Optional[str], Header()] = None): return {"p": p} class HeaderModelOptionalStr(BaseModel): p: Optional[str] = None @app.get("/model-optional-str") async def read_model_optional_str(p: Annotated[HeaderModelOptionalStr, Header()]): return {"p": p.p} @pytest.mark.parametrize( "path", ["/optional-str", "/model-optional-str"], )
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 8.2K bytes - Viewed (0) -
migrator/table_type.go
func (ct TableType) Schema() string { return ct.SchemaValue } // Name returns the name of the table. func (ct TableType) Name() string { return ct.NameValue } // Type returns the type of the table. func (ct TableType) Type() string { return ct.TypeValue } // Comment returns the comment of current table. func (ct TableType) Comment() (comment string, ok bool) { return ct.CommentValue.String, ct.CommentValue.Valid
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Fri May 05 07:58:27 UTC 2023 - 688 bytes - Viewed (0)