Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 261 - 270 of 498 for handleMsg (0.06 seconds)

  1. src/test/java/jcifs/smb/SmbFileFilterTest.java

            verifyNoMoreInteractions(smbFile);
        }
    
        @ParameterizedTest(name = "getName='{0}' -> accepted={1}")
        @MethodSource("nameCases")
        @DisplayName("accept: name-based filter handles normal, empty, and null names")
        void accept_nameBasedFilter_handlesEdgeNames(String name, boolean expected) throws Exception {
            // Arrange: filter that accepts non-empty names ending with .txt
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  2. tests/test_response_dependency.py

    """Test using special types (Response, Request, BackgroundTasks) as dependency annotations.
    
    These tests verify that special FastAPI types can be used with Depends() annotations
    and that the dependency injection system properly handles them.
    """
    
    from typing import Annotated
    
    from fastapi import BackgroundTasks, Depends, FastAPI, Request, Response
    from fastapi.responses import JSONResponse
    from fastapi.testclient import TestClient
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 05 18:23:16 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/hash/AbstractByteHasher.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.nio.ByteBuffer;
    import java.nio.ByteOrder;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Abstract {@link Hasher} that handles converting primitives to bytes using a scratch {@code
     * ByteBuffer} and streams all bytes to a sink to compute the hash.
     *
     * @author Colin Decker
     */
    abstract class AbstractByteHasher extends AbstractHasher {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 12:40:17 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientCreator.java

    import org.codelibs.fess.crawler.container.CrawlerContainer;
    
    import jakarta.annotation.Resource;
    
    /**
     * Creates and manages crawler clients for web crawling operations.
     * This class handles the registration and loading of crawler client factories and their associated clients.
     * <p>
     * The class maintains a mapping between regular expressions and component names, and manages a list
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  5. src/test/java/jcifs/context/CIFSContextWrapperTest.java

            // We cannot directly mock `new SmbFile()`, so we rely on the fact that if it doesn't throw, it's working as expected.
    
            // This test primarily ensures that the wrapper correctly handles the MalformedURLException
            // and delegates the SmbFile creation.
    
            // When a valid URL is provided, it should not throw an exception.
            assertNotNull(cifsContextWrapper.get(url));
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

            assertTrue(exceptions.isEmpty(), "No exceptions should occur");
            assertEquals(threadCount * opsPerThread, successCount.get(), "All operations should succeed");
        }
    
        /**
         * Test that buffer cache handles allocation when cache is full.
         */
        @Test
        public void testBufferAllocationWhenCacheFull() {
            // Given - Allocate many buffers to potentially fill the cache
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/failureurl/EditForm.java

    import org.lastaflute.web.validation.theme.conversion.ValidateTypeFailure;
    
    import jakarta.validation.constraints.Size;
    
    /**
     * Form class for editing failure URL records in the admin interface.
     * This form handles the editing of URLs that failed during crawling operations,
     * providing details about the failure for debugging and troubleshooting purposes.
     */
    public class EditForm {
    
        /**
         * Creates a new EditForm instance.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponse.java

    import jcifs.internal.smb1.trans.SmbComTransaction;
    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 {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/reflect/AbstractInvocationHandler.java

    import java.lang.reflect.Method;
    import java.lang.reflect.Proxy;
    import java.util.Arrays;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Abstract implementation of {@link InvocationHandler} that handles {@link Object#equals}, {@link
     * Object#hashCode} and {@link Object#toString}. For example:
     *
     * <pre>
     * class Unsupported extends AbstractInvocationHandler {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 5.1K bytes
    - Click Count (0)
  10. cmd/lock-rest-server.go

    	resp := lockRPCForceUnlock.NewResponse()
    
    	_, err := l.ll.ForceUnlock(context.Background(), *args)
    	return l.makeResp(resp, err)
    }
    
    var (
    	// Static lock handlers.
    	// All have the same signature.
    	lockRPCForceUnlock = newLockHandler(grid.HandlerLockForceUnlock)
    	lockRPCRefresh     = newLockHandler(grid.HandlerLockRefresh)
    	lockRPCLock        = newLockHandler(grid.HandlerLockLock)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Jan 31 19:54:34 GMT 2025
    - 6.3K bytes
    - Click Count (0)
Back to Top