Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 71 for SetInt (0.89 sec)

  1. src/test/java/jcifs/ConfigTest.java

            assertEquals(123, Config.getInt(testProperties, "test.int", 0));
            assertEquals(456, Config.getInt(testProperties, "nonexistent.int", 456));
            assertEquals(789, Config.getInt(testProperties, "test.invalid.int", 789));
        }
    
        @Test
        @DisplayName("Should get integer property")
        void testGetInt() {
            assertEquals(123, Config.getInt(testProperties, "test.int"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/it/search/SearchApiTests.java

            int andRecordCount = JsonPath.from(andResponse).getInt("record_count");
    
            Map<String, String> params = new HashMap<>();
            params.put("q", query);
            params.put("num", "100");
            String response = checkMethodBase(new HashMap<>()).params(params).get("/api/v1/documents").asString();
            assertTrue(JsonPath.from(response).getInt("record_count") > andRecordCount);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        InetAddress LADDR = Config.getLocalHost();
        /** Local port to bind to */
        int LPORT = Config.getInt("jcifs.smb1.smb.client.lport", 0);
        /** Maximum multiplex count */
        int MAX_MPX_COUNT = Config.getInt("jcifs.smb1.smb.client.maxMpxCount", DEFAULT_MAX_MPX_COUNT);
        /** Send buffer size in bytes */
        int SND_BUF_SIZE = Config.getInt("jcifs.smb1.smb.client.snd_buf_size", DEFAULT_SND_BUF_SIZE);
        /** Receive buffer size in bytes */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/lang/FieldUtil.java

         * @return the field value
         * @throws IllegalAccessRuntimeException {@link IllegalAccessException} if an error occurs
         * @see #getInt(Field, Object)
         */
        public static int getInt(final Field field) throws IllegalAccessRuntimeException {
            assertArgumentNotNull("field", field);
    
            return getInt(field, null);
        }
    
        /**
         * Returns the value of a {@link Field} as an int.
         *
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java

                assertEquals(Trans2QueryPathInformationResponse.SMB_QUERY_FILE_BASIC_INFO, infoLevel.getInt(resp));
    
                // Verify subCommand is set correctly
                Field subCmd = SmbComTransactionResponse.class.getDeclaredField("subCommand");
                subCmd.setAccessible(true);
                assertEquals(SmbComTransaction.TRANS2_QUERY_PATH_INFORMATION, subCmd.getInt(resp));
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/it/admin/dict/DictTests.java

            String response = checkGetMethod(searchBody, "").asString();
            final int total = JsonPath.from(response).getInt("response.total");
            final List<Map<String, String>> dicts = JsonPath.from(response).getList("response.settings");
            final int status = JsonPath.from(response).getInt("response.status");
            assertEquals(total, dicts.size());
            assertEquals(0, status);
        }
    
        @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  7. src/packaging/common/scripts/preinst

        . "$FESS_ENV_FILE"
    fi
    
    case "$1" in
    
        # Debian ####################################################
        install|upgrade)
    
            # Create fess group if not existing
            if ! getent group "$FESS_GROUP" > /dev/null 2>&1 ; then
                echo -n "Creating $FESS_GROUP group..."
                addgroup --quiet --system "$FESS_GROUP"
                echo " OK"
            fi
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Dec 01 09:48:15 UTC 2016
    - 2.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java

            // Next field (4 bytes) - offset to next entry
            int next = bb.getInt();
    
            // InterfaceIndex (4 bytes)
            int ifIndex = bb.getInt();
    
            // Capability (4 bytes)
            int capability = bb.getInt();
    
            // Reserved (4 bytes) - skip
            bb.getInt();
    
            // LinkSpeed (8 bytes) - in bits per second
            long linkSpeedBps = bb.getLong();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/lang/FieldUtilTest.java

            FieldUtil.set(field, this, Integer.valueOf(testData));
            assertThat(FieldUtil.getInt(field, this), is(testData));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetIntFieldObject() throws Exception {
            final Field field = getClass().getField("INT_DATA");
            assertThat(FieldUtil.getInt(field), is(INT_DATA));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

            // Then
            Field notifyFlagsField = Smb2ChangeNotifyRequest.class.getDeclaredField("notifyFlags");
            notifyFlagsField.setAccessible(true);
            assertEquals(flags, notifyFlagsField.getInt(request));
        }
    
        @Test
        @DisplayName("Should set completion filter correctly")
        void testSetCompletionFilter() throws Exception {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
Back to top