- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 154 for returningT2 (0.08 sec)
-
docs/en/docs/tutorial/handling-errors.md
The benefit of raising an exception over returning a value will be more evident in the section about Dependencies and Security. In this example, when the client requests an item by an ID that doesn't exist, raise an exception with a status code of `404`:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 9.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/BufferCache.java
* Performance: O(1) operation with size limit check * * @param buf the buffer to return to the cache */ static public void releaseBuffer(final byte[] buf) { // Validate buffer before returning to cache if (buf == null || buf.length != SmbComTransaction.TRANSACTION_BUF_SIZE) { return; // Silently ignore invalid buffers } // Only cache if we haven't reached the limit - O(1) check
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 4.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponse.java
import jcifs.internal.smb1.trans.SmbComTransactionResponse; /** * Trans2 QueryPathInformation response message for file metadata queries. * This class handles the response from a TRANS2_QUERY_PATH_INFORMATION request, * returning various file information levels based on the requested information level. */ public class Trans2QueryPathInformationResponse extends SmbComTransactionResponse { private final int informationLevel;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveAllTester.java
*/ @CollectionFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(ZERO) public void testRemoveAll_nullCollectionReferenceEmptySubject() { try { collection.removeAll(null); // Returning successfully is not ideal, but tolerated. } catch (NullPointerException tolerated) { } } @CollectionFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(absent = ZERO)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 7.7K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java
try { versionRange = VersionRange.createFromVersionSpec(d.getVersion()); } catch (InvalidVersionSpecificationException e) { // MNG-5368: Log a message instead of returning 'null' silently. this.logger.error( String.format( "Invalid version specification '%s' creating dependency artifact '%s'.", d.getVersion(), d),
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 31.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java
// informationLevel LE at offset 4..5 assertEquals((byte) 0x04, buf[4]); assertEquals((byte) 0x01, buf[5]); } /** * Ensures writeSetupWireFormat writes subcommand and trailing zero, returning 2. */ @Test void testWriteSetupWireFormat() { // Given Trans2FindNext2 next = new Trans2FindNext2(0x1111, 0, "*"); byte[] dst = new byte[2]; // When
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/ValueGraphBuilder.java
* <li>orders {@link ValueGraph#nodes()} in the order in which the elements were added (insertion * order) * </ul> * * <p>{@code ValueGraph}s built by this class also guarantee that each collection-returning accessor * returns a <b>(live) unmodifiable view</b>; see <a * href="https://github.com/google/guava/wiki/GraphsExplained#accessor-behavior">the external * documentation</a> for details. * * <p>Examples of use: *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 7.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
ListeningExecutorService service = listeningDecorator(newDirectExecutorService()); assertSame(service, listeningDecorator(service)); List<Callable<String>> callables = ImmutableList.of(Callables.returning("x")); List<Future<String>> results; results = service.invokeAll(callables); assertThat(getOnlyElement(results)).isInstanceOf(TrustedListenableFutureTask.class);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 28K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/SortedSetMultimap.java
* map does not support {@code setValue()} on its entries, {@code put}, or {@code putAll}. * * <p>When passed a key that is present in the map, {@code asMap().get(Object)} has the same * behavior as {@link #get}, returning a live collection. When passed a key that is not present, * however, {@code asMap().get(Object)} returns {@code null} instead of an empty collection. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 5.2K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Interpolator.java
boolean defaultsToEmpty); /** * Creates a composite function from a collection of functions. * * @param functions A collection of functions, each taking a String as input and returning a String. * @return A function that applies each function in the collection in order until a non-null result is found. * If all functions return null, the composite function returns null. *
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Mon Jan 13 16:14:35 UTC 2025 - 6.9K bytes - Viewed (0)