Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3621 - 3630 of 7,804 for RETURN (0.41 seconds)

  1. docs_src/security/tutorial002_an_py310.py

    
    def fake_decode_token(token):
        return User(
            username=token + "fakedecoded", email="******@****.***", full_name="John Doe"
        )
    
    
    async def get_current_user(token: Annotated[str, Depends(oauth2_scheme)]):
        user = fake_decode_token(token)
        return user
    
    
    @app.get("/users/me")
    async def read_users_me(current_user: Annotated[User, Depends(get_current_user)]):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 761 bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/core/collection/SingleValueIterator.java

         *
         * @param <E> the element type
         * @param value the single value returned by the iterator
         * @return an {@link Iterable} wrapping a {@link SingleValueIterator}
         */
        public static <E> Iterable<E> iterable(final E value) {
            return () -> new SingleValueIterator<>(value);
        }
    
        /**
         * Constructs an instance.
         *
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  3. src/main/java/jcifs/ntlmssp/av/AvTimestamp.java

        }
    
        /**
         * @param ts
         * @return
         */
        private static byte[] encode(final long ts) {
            final byte[] data = new byte[8];
            SMBUtil.writeInt8(ts, data, 0);
            return data;
        }
    
        /**
         * Gets the timestamp value from this AV pair
         *
         * @return the timestamp
         */
        public long getTimestamp() {
            return SMBUtil.readInt8(getRaw(), 0);
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/DfsReferral.java

            this.data = data;
        }
    
        /**
         * Get the DFS referral data associated with this referral
         *
         * @return the DFS referral data
         */
        public DfsReferralData getData() {
            return this.data;
        }
    
        @Override
        public String toString() {
            return this.data.toString();
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  5. docs/en/docs/how-to/general.md

    ## Filter Data - Security { #filter-data-security }
    
    To ensure that you don't return more data than you should, read the docs for [Tutorial - Response Model - Return Type](../tutorial/response-model.md).
    
    ## Optimize Response Performance - Response Model - Return Type { #optimize-response-performance-response-model-return-type }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/plugin/internal/DefaultPluginManager.java

                Plugin plugin = new Plugin();
                plugin.setGroupId(result.getGroupId());
                plugin.setArtifactId(result.getArtifactId());
    
                return plugin;
            } catch (NoPluginFoundForPrefixException e) {
                return null;
            }
        }
    
        @Override
        public PluginDescriptor getPluginDescriptorForPrefix(String prefix) {
            MavenSession session = legacySupport.getSession();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  7. src/test/java/jcifs/context/BaseContextTest.java

        @DisplayName("getConfig should return the provided configuration")
        void testGetConfig() {
            // When
            Configuration config = context.getConfig();
    
            // Then
            assertSame(mockConfig, config, "Should return the same configuration instance");
        }
    
        @Test
        @DisplayName("getDfs should return initialized DFS resolver")
        void testGetDfs() {
            // When
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/collect/LinkedHashMultisetTest.java

        suite.addTestSuite(LinkedHashMultisetTest.class);
        return suite;
      }
    
      @J2ktIncompatible
      @AndroidIncompatible // test-suite builders
      private static TestStringMultisetGenerator linkedHashMultisetGenerator() {
        return new TestStringMultisetGenerator() {
          @Override
          protected Multiset<String> create(String[] elements) {
            return LinkedHashMultiset.create(asList(elements));
          }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java

        }
      }
    
      private static boolean isAndroid() {
        return System.getProperty("java.runtime.name", "").contains("Android");
      }
    
      private static boolean isWindows() {
        return OS_NAME.value().startsWith("Windows");
      }
    
      private static boolean isJava8() {
        return JAVA_SPECIFICATION_VERSION.value().equals("1.8");
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Sep 25 19:16:54 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/dict/ApiAdminDictAction.java

        /**
         * Retrieves all available dictionary files.
         *
         * @return JSON response containing list of dictionary files
         */
        // GET /api/admin/dict
        @Execute
        public JsonResponse<ApiResult> get$index() {
            final DictionaryFile<? extends DictionaryItem>[] dictFiles = dictionaryManager.getDictionaryFiles();
            return asJson(new ApiResult.ApiConfigsResponse<ListBody>()
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 2.6K bytes
    - Click Count (0)
Back to Top