Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2271 - 2280 of 7,081 for returns (0.04 sec)

  1. docs_src/dependencies/tutorial005_an_py310.py

    def query_extractor(q: str | None = None):
        return q
    
    
    def query_or_cookie_extractor(
        q: Annotated[str, Depends(query_extractor)],
        last_query: Annotated[str | None, Cookie()] = None,
    ):
        if not q:
            return last_query
        return q
    
    
    @app.get("/items/")
    async def read_query(
        query_or_default: Annotated[str, Depends(query_or_cookie_extractor)],
    ):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Mar 26 16:56:53 UTC 2024
    - 510 bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/ConverterTest.java

            @Override
            protected Long doForward(String object) {
              return Long.valueOf(object);
            }
    
            @Override
            protected String doBackward(Long object) {
              return String.valueOf(object);
            }
    
            @Override
            public String toString() {
              return "string2long";
            }
          };
    
      private static final Long LONG_VAL = 12345L;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 01 16:09:28 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. utils/tests/utils.go

    			}
    		}
    
    		if fmt.Sprint(got) == fmt.Sprint(expect) {
    			return
    		}
    
    		if reflect.Indirect(reflect.ValueOf(got)).IsValid() != reflect.Indirect(reflect.ValueOf(expect)).IsValid() {
    			t.Errorf("%v: expect: %+v, got %+v", utils.FileWithLineNum(), expect, got)
    			return
    		}
    
    		if valuer, ok := got.(driver.Valuer); ok {
    			got, _ = valuer.Value()
    		}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Mar 10 09:21:56 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/base/FessLoginAction.java

        protected HtmlResponse getHtmlResponse() {
            return getUserBean().map(this::redirectByUser).orElse(asHtml(virtualHost(path_Login_IndexJsp)));
        }
    
        protected HtmlResponse redirectByUser(final FessUserBean user) {
            if (user.hasRoles(fessConfig.getAuthenticationAdminRolesAsArray())) {
                return redirect(AdminDashboardAction.class);
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/transport/Request.java

    public interface Request extends Message {
    
        /**
         * @return number of credits this request requires
         */
        int getCreditCost ();
    
    
        /**
         * @param credits
         */
        void setRequestCredits ( int credits );
    
    
        /**
         * @return whether this is a cancel request
         */
        boolean isCancel ();
    
    
        /**
         * @return chained request
         */
        Request getNext ();
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/Credentials.java

    public interface Credentials {
    
        /**
         * 
         * @param type
         * @return instance for type, null if the type cannot be unwrapped
         */
        <T extends Credentials> T unwrap ( Class<T> type );
    
    
        /**
         * @return the domain the user account is in
         */
        String getUserDomain ();
    
    
        /**
         * @return whether these are anonymous credentials
         */
        boolean isAnonymous ();
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.3K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/XmlExtractor.java

        @Override
        protected Pattern getEncodingPattern() {
            return xmlEncodingPattern;
        }
    
        @Override
        protected Pattern getTagPattern() {
            return xmlTagPattern;
        }
    
        public Pattern getXmlEncodingPattern() {
            return xmlEncodingPattern;
        }
    
        public void setXmlEncodingPattern(final Pattern metaCharsetPattern) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/ForwardingFluentFuture.java

        return delegate.cancel(mayInterruptIfRunning);
      }
    
      @Override
      public boolean isCancelled() {
        return delegate.isCancelled();
      }
    
      @Override
      public boolean isDone() {
        return delegate.isDone();
      }
    
      @Override
      @ParametricNullness
      public V get() throws InterruptedException, ExecutionException {
        return delegate.get();
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 05 22:27:35 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/bsentity/BsElevateWordToLabel.java

        //                                                                             =======
        @Override
        public ElevateWordToLabelDbm asDBMeta() {
            return ElevateWordToLabelDbm.getInstance();
        }
    
        @Override
        public String asTableDbName() {
            return "elevate_word_to_label";
        }
    
        // ===================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/user/bsentity/BsGroup.java

        //                                                                             =======
        @Override
        public GroupDbm asDBMeta() {
            return GroupDbm.getInstance();
        }
    
        @Override
        public String asTableDbName() {
            return "group";
        }
    
        // ===================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top