- Sort Score
- Num 10 results
- Language All
Results 2821 - 2830 of 5,925 for rreturn (0.3 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava-tests/test/com/google/common/collect/PeekingIteratorTest.java
assertEquals( "next() should still return first element after peeking", "A", peekingIterator.next()); assertEquals("Should be able to peek() at middle element", "B", peekingIterator.peek()); assertEquals( "Should be able to peek() middle element multiple times", "B", peekingIterator.peek()); assertEquals( "next() should still return middle element after peeking", "B", peekingIterator.next());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 8.5K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java
public void run() { // If either of these reads return null then we must be after a successful cancel or another // call to this method. TimeoutFuture<V> timeoutFuture = timeoutFutureRef; if (timeoutFuture == null) { return; } @RetainedLocalRef ListenableFuture<V> delegate = timeoutFuture.delegateRef; if (delegate == null) { return; } /*
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java
* @param mimeType The MIME type of the content. * @return The file extension including the dot (e.g., ".gif"), or empty string if unknown. */ protected String getExtensionFromMimeType(final String mimeType) { if (mimeType == null) { return ""; } return switch (mimeType) { case "image/gif" -> ".gif"; case "image/tiff" -> ".tiff";Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jan 01 12:47:47 GMT 2026 - 16.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java
/** * Get RDMA channel information * * @return RDMA channel info, or null if not using RDMA */ public RdmaChannelInfo getRdmaChannelInfo() { return rdmaChannelInfo; } /** * Get the read length * * @return read length in bytes */ public int getReadLength() { return readLength; } /** * {@inheritDoc}Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 7.8K bytes - Click Count (0) -
scripts/contributors.py
logging.error(response.text) raise RuntimeError(response.text) return data def get_graphql_pr_edges( *, settings: Settings, after: str | None = None ) -> list[PullRequestEdge]: data = get_graphql_response(settings=settings, query=prs_query, after=after) graphql_response = PRsResponse.model_validate(data) return graphql_response.data.repository.pullRequests.edges
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Dec 16 12:34:01 GMT 2025 - 8.6K bytes - Click Count (0) -
tests/test_request_params/test_form/test_optional_str.py
async def read_optional_str(p: Annotated[str | None, Form()] = None): return {"p": p} class FormModelOptionalStr(BaseModel): p: str | None = None @app.post("/model-optional-str", operation_id="model_optional_str") async def read_model_optional_str(p: Annotated[FormModelOptionalStr, Form()]): return {"p": p.p} @pytest.mark.parametrize( "path",
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 8.9K bytes - Click Count (0) -
tests/test_request_params/test_query/test_required_str.py
# Without aliases @app.get("/required-str") async def read_required_str(p: str): return {"p": p} class QueryModelRequiredStr(BaseModel): p: str @app.get("/model-required-str") async def read_model_required_str(p: Annotated[QueryModelRequiredStr, Query()]): return {"p": p.p} @pytest.mark.parametrize( "path", ["/required-str", "/model-required-str"], )
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 10.2K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbFileDirectoryLeasingExtension.java
if (dirManager != null && smbFile.getContext().getConfig().isUseDirectoryLeasing()) { return listFilesWithDirectoryLeasing(smbFile, dirManager); } else { // Fall back to regular directory listing return smbFile.listFiles(); } } catch (CIFSException e) { throw SmbException.wrap(e); } }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 7.1K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/collect/InternersBenchmark.java
} return reps; } @CanIgnoreReturnValue @Benchmark int strongInterner(int reps) { Interner<String> interner = Interners.newStrongInterner(); for (int i = 0; i < reps; i++) { String unused = interner.intern(Double.toHexString(Math.random())); } return reps; } @CanIgnoreReturnValue @BenchmarkCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Feb 11 19:03:19 GMT 2025 - 1.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/UsingToStringOrdering.java
@Override public int compare(Object left, Object right) { return left.toString().compareTo(right.toString()); } // preserve singleton-ness, so equals() and hashCode() work correctly private Object readResolve() { return INSTANCE; } @Override public String toString() { return "Ordering.usingToString()"; } private UsingToStringOrdering() {}
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 1.5K bytes - Click Count (0)