Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 16 of 16 for int_field (0.11 seconds)

  1. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorEdgeCaseTest.java

    /**
     * Edge case tests for RankFusionProcessor.
     * Tests boundary conditions, empty states, and error scenarios.
     */
    public class RankFusionProcessorEdgeCaseTest extends UnitFessTestCase {
    
        private static final String ID_FIELD = "_id";
    
        /**
         * Test behavior when no searchers are registered (empty list).
         */
        @Test
        public void test_emptySearcherList() throws Exception {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 14.2K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

            response = new Smb2QueryInfoResponse(mockConfig, (byte) 1, (byte) 2);
    
            // Use reflection to set the info field
            var infoField = Smb2QueryInfoResponse.class.getDeclaredField("info");
            infoField.setAccessible(true);
            infoField.set(response, mockDecodable);
    
            assertEquals(mockDecodable, response.getInfo());
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 24.5K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java

            request.setInfo(mockInfo);
    
            // Verify info object was set
            Field infoField;
            try {
                infoField = Smb2SetInfoRequest.class.getDeclaredField("info");
                infoField.setAccessible(true);
                Encodable actualInfo = (Encodable) infoField.get(request);
                assertEquals(mockInfo, actualInfo);
            } catch (Exception e) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.9K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java

        private void setInfoField(Trans2QueryFSInformationResponse response, FileSystemInformation info) {
            try {
                Field infoField = Trans2QueryFSInformationResponse.class.getDeclaredField("info");
                infoField.setAccessible(true);
                infoField.set(response, info);
            } catch (Exception e) {
                fail("Failed to set info field: " + e.getMessage());
            }
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.9K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorConcurrencyTest.java

     * Tests the improvements made to thread safety using CopyOnWriteArrayList.
     */
    public class RankFusionProcessorConcurrencyTest extends UnitFessTestCase {
    
        private static final String ID_FIELD = "_id";
    
        /**
         * Test concurrent registration of searchers from multiple threads.
         * Verifies that CopyOnWriteArrayList handles concurrent modifications safely.
         */
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 13.5K bytes
    - Click Count (0)
  6. tensorflow/c/c_api.cc

        }                                                                        \
        const auto len = std::min(max_values, attr->list().list_field##_size()); \
        for (int i = 0; i < len; ++i) {                                          \
          values[i] = static_cast<c_type>(attr->list().list_field(i));           \
        }                                                                        \
      }
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 04 05:55:32 GMT 2025
    - 102.4K bytes
    - Click Count (0)
Back to Top