Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 163 for getUser (0.73 sec)

  1. tests/test_infer_param_optionality.py

    app = FastAPI()
    
    
    user_router = APIRouter()
    item_router = APIRouter()
    
    
    @user_router.get("/")
    def get_users():
        return [{"user_id": "u1"}, {"user_id": "u2"}]
    
    
    @user_router.get("/{user_id}")
    def get_user(user_id: str):
        return {"user_id": user_id}
    
    
    @item_router.get("/")
    def get_items(user_id: Optional[str] = None):
        if user_id is None:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

                propertyDescCache.remove(name);
            }
            invalidPropertyNames.clear();
        }
    
        /**
         * Prepares the getter method.
         *
         * @param readMethod
         *            the getter method
         * @param propertyName
         *            the property name
         */
        protected void setupReadMethod(final Method readMethod, final String propertyName) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 25.8K bytes
    - Viewed (1)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/ExtractDataTest.java

            assertEquals(content, data.getContent());
            assertNotNull(data.getKeySet());
            assertTrue(data.getKeySet().isEmpty());
        }
    
        public void test_contentGetterSetter() {
            // Test content getter/setter
            ExtractData data = new ExtractData();
    
            String content = "This is extracted content";
            data.setContent(content);
            assertEquals(content, data.getContent());
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/opensearch/log/bsbhv/BsSearchLogBhv.java

                result.setRoles(toStringArray(source.get("roles")));
                result.setSearchWord(DfTypeUtil.toString(source.get("searchWord")));
                result.setUser(DfTypeUtil.toString(source.get("user")));
                result.setUserAgent(DfTypeUtil.toString(source.get("userAgent")));
                result.setUserInfoId(DfTypeUtil.toString(source.get("userInfoId")));
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java

            assertEquals(0x42, released[0]);
    
            // After release, getting buffer again should return null
            assertNull(transaction.releaseBuffer());
        }
    
        @Test
        @DisplayName("Test subCommand getter and setter")
        void testSubCommand() {
            assertEquals(SmbComTransaction.TRANS2_FIND_FIRST2, transaction.getSubCommand());
    
            transaction.setSubCommand(SmbComTransaction.TRANS2_QUERY_FS_INFORMATION);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_internal.h

    // rank is known), then it must be equal to the length of `shapes[i]`; if
    // `ranks[i] == 1`, then `shapes[i]` may be nullptr.
    //
    // TODO(akshayka): Implement a corresponding getter method.
    void TF_GraphSetOutputHandleShapesAndTypes(TF_Graph* graph, TF_Output output,
                                               int num_shapes_and_types,
                                               const int64_t** shapes,
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Sat May 13 00:49:12 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/AssembleDslDocTask.groovy

                }
                classDoc.classProperties.each { propertyDoc ->
                    linkMetaData.addPropertyAccessorMethod(propertyDoc.name, propertyDoc.metaData.getter ?: propertyDoc.metaData.setter)
                }
            } catch (Exception e) {
                throw new DocGenerationException("Failed to generate documentation for class '$classDoc.name'.", e)
            }
        }
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 9.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/NtlmContextTest.java

            assertNotNull(e.getMessage()); // Should have an error message
        }
    
        @Test
        void testGetters() {
            // Simple test for getter methods
            NtlmContext context = new NtlmContext(mockAuth, true);
            assertFalse(context.isEstablished());
            assertNull(context.getServerChallenge());
            assertNull(context.getSigningKey());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java

            @DisplayName("Should initialize remaining to zero")
            void testInitialRemainingValue() {
                assertEquals(0, response.getRemaining());
            }
        }
    
        @Nested
        @DisplayName("Getter Tests")
        class GetterTests {
    
            @Test
            @DisplayName("Should get count value")
            void testGetCount() {
                // Initial value should be 0
                assertEquals(0, response.getCount());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapUrl.java

     * It also supports sitemap extensions such as images, videos, news, and alternate links.
     * It implements the {@link Sitemap} interface.
     * </p>
     *
     * <p>
     * The {@code SitemapUrl} class provides getter and setter methods for each of these properties,
     * as well as implementations for {@code equals()}, {@code hashCode()}, and {@code toString()} methods.
     * </p>
     *
     */
    public class SitemapUrl implements Sitemap {
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:34:36 UTC 2025
    - 9.1K bytes
    - Viewed (0)
Back to top