Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 1,812 for SMethod (0.03 sec)

  1. src/cmd/api/main_test.go

    	}
    
    	if !complete {
    		// The method set has unexported methods, so all the
    		// implementations are provided by the same package,
    		// so the method set can be extended. Instead of recording
    		// the full set of names (below), record only that there were
    		// unexported methods. (If the interface shrinks, we will notice
    		// because a method signature emitted during the last loop
    		// will disappear.)
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Feb 20 03:25:33 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/IgnoreJRERequirement.java

    import static java.lang.annotation.ElementType.METHOD;
    import static java.lang.annotation.ElementType.TYPE;
    
    import java.lang.annotation.Target;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Disables Animal Sniffer's checking of compatibility with older versions of Java/Android.
     *
     * <p>Each package's copy of this annotation needs to be listed in our {@code pom.xml}.
     */
    @Target({METHOD, CONSTRUCTOR, TYPE, FIELD})
    @NullMarked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 02 18:21:28 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

            @DisplayName("Should reject null data buffer in sign method")
            void testSignNullDataBuffer() {
                assertThrows(IllegalArgumentException.class, () -> digest.sign(null, 0, 100, request, response),
                        "Should throw IllegalArgumentException for null data buffer");
            }
    
            @Test
            @DisplayName("Should reject negative offset in sign method")
            void testSignNegativeOffset() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/DfsResolverTest.java

        @BeforeEach
        void setUp() {
            dfsResolver = new DfsImpl(mockContext);
            when(mockContext.getConfig()).thenReturn(mockConfig);
        }
    
        // Test for isTrustedDomain method
        @Test
        void testIsTrustedDomain_DfsDisabled() throws CIFSException {
            when(mockConfig.isDfsDisabled()).thenReturn(true);
            assertFalse(dfsResolver.isTrustedDomain(mockContext, "anyDomain"));
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/job/SuggestJobTest.java

            new File(tempDir, "WEB-INF/lib").mkdirs();
            new File(tempDir, "WEB-INF/env/suggest/lib").mkdirs();
            new File(tempDir, "WEB-INF/plugin").mkdirs();
        }
    
        // Test execute method with successful execution
        public void test_execute_success() {
            createRequiredDirectories();
    
            // Setup successful process execution
            mockProcessHelper.setExitValue(0);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java

            response = new Smb2QueryDirectoryResponse(mockConfig, Smb2QueryDirectoryRequest.FILE_BOTH_DIRECTORY_INFO);
    
            // Use reflection to test private method
            Method createFileInfoMethod = Smb2QueryDirectoryResponse.class.getDeclaredMethod("createFileInfo");
            createFileInfoMethod.setAccessible(true);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  7. cmd/healthcheck-handler.go

    		writeResponse(w, http.StatusOK, nil, mimeNone)
    		return
    	}
    
    	if int(globalHTTPStats.loadRequestsInQueue()) > globalAPIConfig.getRequestsPoolCapacity() {
    		apiErr := getAPIError(ErrBusy)
    		switch r.Method {
    		case http.MethodHead:
    			writeResponse(w, apiErr.HTTPStatusCode, nil, mimeNone)
    		case http.MethodGet:
    			writeErrorResponse(r.Context(), w, apiErr, r.URL)
    		}
    		return
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jun 26 07:44:34 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/job/CrawlJobTest.java

            assertEquals(-1, crawlJob.hotThreadInterval);
            assertSame(crawlJob, result);
        }
    
        // Test getExecuteType method
        public void test_getExecuteType() {
            assertEquals(Constants.EXECUTE_TYPE_CRAWLER, crawlJob.getExecuteType());
        }
    
        // Test execute method with runAll scenario
        public void test_execute_runAll() {
            // Setup test
            crawlJob = new CrawlJob() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 25K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/NullnessCasts.java

       * without having to add {@code @SuppressWarnings}, the code can call this method.
       *
       * <p>Why <i>not</i> just add {@code SuppressWarnings}? The problem is that this method is
       * typically useful for {@code return} statements. That leaves the code with two options: Either
       * add the suppression to the whole method (which turns off checking for a large section of code),
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 13 20:49:47 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

            // Test with zero length
            result = response.readDataWireFormat(buffer, 0, 0);
            assertEquals(0, result);
        }
    
        @Test
        @DisplayName("Test toString method")
        void testToString() {
            // Test the toString method
            String result = response.toString();
            assertNotNull(result);
            assertTrue(result.contains("Trans2SetFileInformationResponse"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
Back to top