- Sort Score
- Num 10 results
- Language All
Results 341 - 350 of 692 for acceptT (0.05 seconds)
-
guava/src/com/google/common/collect/Multiset.java
* * <p><b>Note:</b> the utility method {@link Iterables#frequency} generalizes this operation; it * correctly delegates to this method when dealing with a multiset, but it can also accept any * other iterable type. * * @param element the element to count occurrences of * @return the number of occurrences of the element in this multiset; possibly zero but never * negative */Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 20.9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java
BufferCache.releaseBuffer(nullBuffer); // Should ignore null BufferCache.releaseBuffer(wrongSizeBuffer); // Should ignore wrong size BufferCache.releaseBuffer(correctBuffer); // Should accept correct size }); } /** * Test concurrent buffer allocation and release for thread safety. */ @Test public void testConcurrentBufferOperations() throws Exception {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 9.6K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/MetadataResolutionResult.java
public boolean hasVersionRangeViolations() { return versionRangeViolations != null; } /** * TODO this needs to accept a {@link OverConstrainedVersionException} as returned by * {@link #getVersionRangeViolation(int)} but it's not used like that in * {@link org.apache.maven.repository.legacy.resolver.DefaultLegacyArtifactCollector}Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 9.2K bytes - Click Count (0) -
fastapi/exceptions.py
session: Annotated[str | None, Cookie()] = None, item_id: str, ): if session is None: raise WebSocketException(code=status.WS_1008_POLICY_VIOLATION) await websocket.accept() while True: data = await websocket.receive_text() await websocket.send_text(f"Session cookie is: {session}")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 6.8K bytes - Click Count (0) -
src/main/assemblies/files/service.bat
goto:eof :err echo JAVA_HOME environment variable must be set! pause goto:eof rem --- rem Function for converting Xm[s|x] values into MB which Commons Daemon accepts rem --- :convertxm set value=%~1 rem extract last char (unit) set unit=%value:~-1% rem assume the unit is specified set conv=%value:~0,-1% if "%unit%" == "k" goto kilo
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Sun Jan 15 06:32:15 GMT 2023 - 6K bytes - Click Count (0) -
src/test/java/jcifs/smb/BufferCacheImplTest.java
import jcifs.Configuration; @ExtendWith(MockitoExtension.class) class BufferCacheImplTest { @Mock Configuration cfg; // Verifies constructor that accepts Configuration reads the expected values and uses them @Test @DisplayName("Constructor(Configuration) uses cache size and maximum buffer size from config")Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java
@Test @DisplayName("Constructor with null file ID should accept null") void testConstructorWithNullFileId() { // Should not throw exception Smb2CloseRequest requestWithNull = new Smb2CloseRequest(mockConfig, null, testFileName); assertNotNull(requestWithNull); } @Test @DisplayName("Constructor with null fileName should accept null") void testConstructorWithNullFileName() throws Exception {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.5K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java
public static void staticOneArgCheckForNullThrowsNpe(@CheckForNull String s) { checkNotNull(s); // doesn't check if you said you'd accept null, but you don't } public static void staticOneArgNullableThrowsNpe(@Nullable String s) { checkNotNull(s); // doesn't check if you said you'd accept null, but you don't } public void oneArgCorrectlyThrowsNpe(String s) { checkNotNull(s); // expect NPE here on nullCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 18:44:53 GMT 2025 - 47.8K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/SimplexTransferListener.java
private Exchange(TransferEvent event) { this.event = event; } public void process(Consumer<TransferEvent> consumer) { consumer.accept(event); } public void waitForProcessed() throws InterruptedException { // nothing, is async } } private static class BlockingExchange extends Exchange {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Nov 08 08:49:11 GMT 2024 - 8.4K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Log.java
/** * This interface supplies the API for providing feedback to the user from the {@code Mojo}, * using standard Maven channels. * There should be no big surprises here, although you may notice that the methods accept * <code>java.lang.CharSequence</code> rather than <code>java.lang.String</code>. This is provided mainly as a * convenience, to enable developers to pass things like <code>java.lang.StringBuffer</code> directly into the logger,Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Sep 28 09:03:24 GMT 2024 - 5.4K bytes - Click Count (0)