Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1201 - 1210 of 3,272 for VALUE (0.04 seconds)

  1. src/test/java/org/codelibs/fess/job/ExecJobTest.java

            // Test with property that doesn't exist and default value
            cmdList.clear();
            execJob.testAddSystemProperty(cmdList, "non.existent.property", "default.value", null);
            assertEquals(1, cmdList.size());
            assertEquals("-Dnon.existent.property=default.value", cmdList.get(0));
    
            // Test with property that doesn't exist and no default value
            cmdList.clear();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 24.8K bytes
    - Click Count (0)
  2. guava-tests/benchmark/com/google/common/collect/MapBenchmark.java

      @Benchmark
      boolean createPopulateAndRemove(int reps) {
        boolean dummy = false;
        for (int i = 1; i < reps; i++) {
          Map<Element, Element> map = impl.create(values);
          for (Element value : values) {
            dummy |= map.remove(value) == null;
          }
        }
        return dummy;
      }
    
      @Benchmark
      boolean iterateWithEntrySet(int reps) {
        Map<Element, Element> map = mapToTest;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/query/BoostQueryCommandTest.java

            if (result instanceof TermQueryBuilder) {
                TermQueryBuilder termQueryBuilder = (TermQueryBuilder) result;
                assertEquals("field", termQueryBuilder.fieldName());
                assertEquals("value", termQueryBuilder.value());
                assertEquals(2.5f, termQueryBuilder.boost());
            }
        }
    
        @Test
        public void test_execute_withMatchAllDocsQuery() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/mylasta/action/FessMessagesTest.java

            FessMessages result = messages.addConstraintsMaxMessage(property, value);
            assertNotNull(result);
            assertSame(messages, result);
            assertTrue(messages.hasMessageOf(property));
        }
    
        @Test
        public void test_addConstraintsMinMessage() {
            String property = "testProperty";
            String value = "0";
            FessMessages result = messages.addConstraintsMinMessage(property, value);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 28.9K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/suggest/entity/SuggestItemSerializer.java

                return;
            }
            for (final String value : newValues) {
                if (!existingValues.contains(value)) {
                    existingValues.add(value);
                }
            }
        }
    
        /**
         * Escapes a string for JSON output.
         */
        private static String escapeJsonString(final String value) {
            if (value == null) {
                return "null";
            }
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 13.5K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/job/PythonJob.java

            return this;
        }
    
        /**
         * Adds a single command-line argument to pass to the Python script.
         *
         * @param value the argument value to add
         * @return this PythonJob instance for method chaining
         */
        public PythonJob arg(final String value) {
            argList.add(value);
            return this;
        }
    
        /**
         * Adds multiple command-line arguments to pass to the Python script.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  7. tests/main_test.go

    	if count1 != count2 {
    		t.Errorf("No user should not be deleted by invalid SQL")
    	}
    }
    
    func TestSetAndGet(t *testing.T) {
    	if value, ok := DB.Set("hello", "world").Get("hello"); !ok {
    		t.Errorf("Should be able to get setting after set")
    	} else if value.(string) != "world" {
    		t.Errorf("Set value should not be changed")
    	}
    
    	if _, ok := DB.Get("non_existing"); ok {
    		t.Errorf("Get non existing key should return error")
    	}
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 1.5K bytes
    - Click Count (0)
  8. src/cmd/asm/internal/asm/expr_test.go

    	{"3/0", "division by zero"},
    	{"(1<<63)/0", "divide of value with high bit set"},
    	{"3%0", "modulo by zero"},
    	{"(1<<63)%0", "modulo of value with high bit set"},
    	{"3<<-4", "negative left shift count"},
    	{"3<<(1<<63)", "negative left shift count"},
    	{"3>>-4", "negative right shift count"},
    	{"3>>(1<<63)", "negative right shift count"},
    	{"(1<<63)>>2", "right shift of value with high bit set"},
    	{"(1<<62)>>2", ""},
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 3.2K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java

            assertTrue(s.startsWith("SmbComClose["), "string should start with class name");
            assertTrue(s.contains("fid=" + fid), "string should contain the fid value");
            assertTrue(s.contains("lastWriteTime=" + lwt), "string should contain the lwt value");
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  10. fastapi/utils.py

    
    def deep_dict_update(main_dict: dict[Any, Any], update_dict: dict[Any, Any]) -> None:
        for key, value in update_dict.items():
            if (
                key in main_dict
                and isinstance(main_dict[key], dict)
                and isinstance(value, dict)
            ):
                deep_dict_update(main_dict[key], value)
            elif (
                key in main_dict
                and isinstance(main_dict[key], list)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:41:21 GMT 2026
    - 4.2K bytes
    - Click Count (0)
Back to Top