Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1441 - 1450 of 3,449 for objects (0.05 sec)

  1. src/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java

                    }
                }
            }
            return tokens;
        }
    
        protected String[] getFieldValues(final Map<String, Object> document, final String fieldName) {
            final Object value = document.get(fieldName);
            if (value instanceof String) {
                return new String[] { value.toString() };
            }
            if (value instanceof String[]) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/settings.md

    Then it would be very easy to provide a different settings object during testing by creating a dependency override for `get_settings`:
    
    ```Python hl_lines="9-10  13  21"
    {!../../docs_src/settings/app02/test_main.py!}
    ```
    
    In the dependency override we set a new value for the `admin_email` when creating the new `Settings` object, and then we return that new object.
    
    Then we can test that it is used.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/CompactLinkedHashMapTest.java

        assertEquals(2 * values.size(), alternatingKeysAndValues.length);
        for (int i = 0; i < map.size(); i++) {
          Object expectedKey = alternatingKeysAndValues[2 * i];
          Object expectedValue = alternatingKeysAndValues[2 * i + 1];
          Entry<Object, Object> expectedEntry = immutableEntry(expectedKey, expectedValue);
          assertEquals(expectedEntry, entries.get(i));
          assertEquals(expectedKey, keys.get(i));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

        /**
         * @throws Exception
         */
        @Test
        public void testPerformance() throws Exception {
            int num = 100000;
            Map<String, Object> hmap = new HashMap<String, Object>();
            Map<String, Object> amap = new ArrayMap<String, Object>();
    
            long start = System.currentTimeMillis();
            for (int i = 0; i < num; i++) {
                hmap.put(String.valueOf(i), null);
            }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  5. cmd/xl-storage_test.go

    		{
    			volume, "myobject", 0, 5,
    			[]byte("hello"), nil,
    		},
    		// Success read at hierarchy. - 2
    		{
    			volume, "path/to/my/object", 0, 5,
    			[]byte("hello"), nil,
    		},
    		// Object is a directory. - 3
    		{
    			volume, "object-as-dir",
    			0, 5, nil, errIsNotRegular,
    		},
    		// One path segment length is > 255 chars long. - 4
    		{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/beans/impl/PropertyDescImplTest.java

             * @return String
             */
            public String getBbb(final Object a) {
                return null;
            }
    
            /**
             * @return boolean
             */
            public boolean isCCC() {
                return true;
            }
    
            /**
             * @return Object
             */
            public Object isDdd() {
                return null;
            }
    
            /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  7. docs/ru/docs/tutorial/schema-extra-example.md

    Для функций `Path()`, `Query()`, `Header()`, и `Cookie()`, аргументы `example` или `examples` добавляются в <a href="https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#parameter-object" class="external-link" target="_blank">определение OpenAPI, к объекту `Parameter Object` (в спецификации)</a>.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/it/admin/dict/KuromojiTests.java

        }
    
        @Override
        protected String getDictType() {
            return DICT_TYPE;
        }
    
        @Override
        protected Map<String, Object> createTestParam(int id) {
            final Map<String, Object> requestBody = new HashMap<>();
            final String keyProp = NAME_PREFIX + id;
            requestBody.put(KEY_PROPERTY, keyProp);
            requestBody.put("segmentation", "segment");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/user/bsentity/BsRole.java

        @Override
        public Map<String, Object> toSource() {
            Map<String, Object> sourceMap = new HashMap<>();
            if (name != null) {
                addFieldToSource(sourceMap, "name", name);
            }
            return sourceMap;
        }
    
        protected void addFieldToSource(Map<String, Object> sourceMap, String field, Object value) {
            sourceMap.put(field, value);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_response_model/test_tutorial003_01.py

                            ["username", "email", "full_name"],
                            # TODO: remove when deprecating Pydantic v1
                            ["username", "email"],
                        ),
                        "type": "object",
                        "properties": {
                            "username": {"title": "Username", "type": "string"},
                            "email": {
                                "title": "Email",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 04 20:47:07 UTC 2023
    - 5.6K bytes
    - Viewed (0)
Back to top