Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 931 - 940 of 4,103 for value0 (0.22 seconds)

  1. android/guava-tests/test/com/google/common/math/IntMathTest.java

            // The BigInteger implementation is tested separately, use it as the reference.
            // Promote the int value (rather than using intValue() on the expected value) to avoid
            // any risk of truncation which could lead to a false positive.
            assertEquals(BigIntegerMath.sqrt(valueOf(x), mode), valueOf(IntMath.sqrt(x, mode)));
          }
        }
      }
    
      /* Relies on the correctness of sqrt(int, FLOOR). */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 24.1K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/query/FuzzyQueryCommandTest.java

        }
    
        // Test convertFuzzyQuery with boost values
        @Test
        public void test_convertFuzzyQuery_withBoost() {
            QueryContext context = new QueryContext("test", false);
            Term term = new Term("title", "fuzzy");
            FuzzyQuery fuzzyQuery = new FuzzyQuery(term);
    
            // Test with different boost values
            float[] boostValues = { 0.5f, 1.0f, 2.5f, 10.0f };
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.7K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/helper/SearchLogHelperTest.java

            source.put("TestKey", "value1");
            source.put("AnotherTestKey", "value2");
    
            Map<String, Object> nested = new HashMap<>();
            nested.put("NestedKey", "nestedValue");
            source.put("NestedMap", nested);
    
            Map<String, Object> result = searchLogHelper.toLowerHyphen(source);
    
            assertEquals("value1", result.get("test_key"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 16.6K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComNtTransactionResponseTest.java

        @Test
        void testReadParameterWordsWireFormat_bufDataStartIsNotZero() {
            // Test case when bufDataStart is not 0.
            response.bufDataStart = 50; // Initial non-zero value
            byte[] buffer = new byte[37]; // 3 reserved + 8*4 bytes for int4 values + 2 bytes for setupCount
            int bufferIndex = 0;
    
            // Reserved bytes
            buffer[bufferIndex++] = 0x00;
            buffer[bufferIndex++] = 0x00;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  5. docs/en/docs/python-types.md

    The first type parameter is for the keys of the `dict`.
    
    The second type parameter is for the values of the `dict`:
    
    {* ../../docs_src/python_types/tutorial008_py310.py hl[1] *}
    
    This means:
    
    * The variable `prices` is a `dict`:
        * The keys of this `dict` are of type `str` (let's say, the name of each item).
        * The values of this `dict` are of type `float` (let's say, the price of each item).
    
    #### Union { #union }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 11K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb1/UniAddressTest.java

        }
    
        @ParameterizedTest
        @ValueSource(strings = { "192.168.0", "abcd", "192.168" })
        void isDotQuadIPRejectsNonDotQuad(String value) {
            assertFalse(UniAddress.isDotQuadIP(value), "isDotQuadIP should return false for non IP-like values");
        }
    
        @Test
        void isDotQuadIPHandlesEmptyString() {
            // Empty string should return false, not throw exception
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/util/QueryStringBuilderTest.java

            final Map<String, String[]> multiFields = Collections.singletonMap("content", new String[] { "value1", "value2" });
            assertEquals("(content:\"value1\" OR content:\"value2\")", getQuery("", new String[0], multiFields, Collections.emptyMap(), false));
    
            final Map<String, String[]> nullFields = Collections.singletonMap("empty", null);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16.7K bytes
    - Click Count (0)
  8. android/guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java

        public BigInteger apply(Integer from) {
          BigInteger v = BigInteger.valueOf(from);
          // Math.sin is very slow for values outside 4*pi
          // Need to take absolute value to avoid inverting the value.
          for (double i = 0; i < 100; i += 20) {
            v =
                v.add(
                    v.multiply(
                        BigInteger.valueOf(((Double) Math.abs(Math.sin(i) * 10.0)).longValue())));
          }
          return v;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  9. guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java

        public BigInteger apply(Integer from) {
          BigInteger v = BigInteger.valueOf(from);
          // Math.sin is very slow for values outside 4*pi
          // Need to take absolute value to avoid inverting the value.
          for (double i = 0; i < 100; i += 20) {
            v =
                v.add(
                    v.multiply(
                        BigInteger.valueOf(((Double) Math.abs(Math.sin(i) * 10.0)).longValue())));
          }
          return v;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/crawlinginfo/EditForm.java

         */
        public String expiredTime;
    
        /**
         * The timestamp when this crawling session was created.
         * Stored as a long value representing milliseconds since epoch.
         */
        @ValidateTypeFailure
        public Long createdTime;
    
        /**
         * Initializes the form with default null values.
         * This method resets all fields to their default state for creating a new entry.
         */
        public void initialize() {
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.7K bytes
    - Click Count (0)
Back to Top