Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 386 for john (0.04 seconds)

  1. src/test/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticatorTest.java

            final String jwtClaim = "{\"sub\":\"user123\",\"name\":\"John Doe\",\"email\":\"john@example.com\"}";
            final Map<String, Object> attributes = new HashMap<>();
    
            authenticator.parseJwtClaim(jwtClaim, attributes);
    
            assertEquals("user123", attributes.get("sub"));
            assertEquals("John Doe", attributes.get("name"));
            assertEquals("john@example.com", attributes.get("email"));
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 15 12:54:47 GMT 2026
    - 11K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/app/service/UserServiceTest.java

        }
    
        @Test
        public void test_user_givenName() {
            final User user = new User();
            assertNull(user.getGivenName());
    
            user.setGivenName("John");
            assertEquals("John", user.getGivenName());
        }
    
        @Test
        public void test_user_surname() {
            final User user = new User();
            assertNull(user.getSurname());
    
            user.setSurname("Doe");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 15 12:54:47 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/script/ScriptEngineTest.java

            Map<String, Object> paramMap = new HashMap<>();
            TestUser user = new TestUser("John", 30);
            paramMap.put("user", user);
    
            Object result = scriptEngine.evaluate(template, paramMap);
            assertEquals("User: John, Age: 30", result);
        }
    
        // Test evaluate method with special characters in template
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  4. chainable_api.go

    	}
    	return
    }
    
    // Or add OR conditions
    //
    // Or is used to chain together queries with an OR.
    //
    //	// Find the first user with name equal to jinzhu or john
    //	db.Where("name = ?", "jinzhu").Or("name = ?", "john").First(&user)
    func (db *DB) Or(query interface{}, args ...interface{}) (tx *DB) {
    	tx = db.getInstance()
    	if conds := tx.Statement.BuildCondition(query, args...); len(conds) > 0 {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Sep 19 01:49:06 GMT 2025
    - 14.8K bytes
    - Click Count (0)
  5. tests/test_sub_callbacks.py

    
    app.include_router(subrouter, callbacks=events_callback_router.routes)
    
    client = TestClient(app)
    
    
    def test_get():
        response = client.post(
            "/invoices/", json={"id": "fooinvoice", "customer": "John", "total": 5.3}
        )
        assert response.status_code == 200, response.text
        assert response.json() == {"msg": "Invoice received"}
    
    
    def test_openapi_schema():
        with client:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 14.3K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java

            value = "\"John Doe\",\"Software Engineer\",\"john******@****.***\",\"Loves \"\"coding\"\" and coffee\"";
            result = KuromojiCSVUtil.parse(value);
            assertEquals(4, result.length);
            assertEquals("John Doe", result[0]);
            assertEquals("Software Engineer", result[1]);
            assertEquals("john******@****.***", result[2]);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 18.9K bytes
    - Click Count (0)
  7. docs/zh-hant/docs/python-types.md

    /// note | 注意
    
    如果你是 Python 專家,而且已經完全了解型別提示,可以直接跳到下一章。
    
    ///
    
    ## 動機 { #motivation }
    
    先從一個簡單的例子開始:
    
    {* ../../docs_src/python_types/tutorial001_py310.py *}
    
    執行這個程式會輸出:
    
    ```
    John Doe
    ```
    
    這個函式會做以下事情:
    
    * 接收 `first_name` 與 `last_name`。
    * 用 `title()` 把每個字的第一個字母轉成大寫。
    * 用一個空白把它們<dfn title="把它們合在一起,成為一個。將其中一個的內容接在另一個後面。">串接</dfn>起來。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  8. docs/en/docs/python-types.md

    ///
    
    ## Motivation { #motivation }
    
    Let's start with a simple example:
    
    {* ../../docs_src/python_types/tutorial001_py310.py *}
    
    Calling this program outputs:
    
    ```
    John Doe
    ```
    
    The function does the following:
    
    * Takes a `first_name` and `last_name`.
    * Converts the first letter of each one to upper case with `title()`.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 11K bytes
    - Click Count (0)
  9. docs/zh/docs/python-types.md

    /// note | 注意
    
    如果你已经是 Python 专家,并且对类型提示了如指掌,可以跳到下一章。
    
    ///
    
    ## 动机 { #motivation }
    
    让我们从一个简单的例子开始:
    
    {* ../../docs_src/python_types/tutorial001_py310.py *}
    
    运行这个程序会输出:
    
    ```
    John Doe
    ```
    
    这个函数做了下面这些事情:
    
    * 接收 `first_name` 和 `last_name`。
    * 通过 `title()` 将每个参数的第一个字母转换为大写。
    * 用一个空格将它们<dfn title="把它们合在一起成为一个,内容一个接在另一个后面。">拼接</dfn>起来。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  10. docs/ko/docs/features.md

        return user_id
    
    
    # Pydantic 모델
    class User(BaseModel):
        id: int
        name: str
        joined: date
    ```
    
    그 다음 다음과 같이 사용할 수 있습니다:
    
    ```Python
    my_user: User = User(id=3, name="John Doe", joined="2018-07-19")
    
    second_user_data = {
        "id": 4,
        "name": "Mary",
        "joined": "2018-11-30",
    }
    
    my_second_user: User = User(**second_user_data)
    ```
    
    /// info | 정보
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 11K bytes
    - Click Count (0)
Back to Top